新得到一个服务器,发现没有wget
安装wget-1.14-18.el7_6.1.x86_64.rpm
打开网易镜像网站包:
http://mirrors.163.com/centos/7/os/x86_64/Packages/
找到wget-1.14-18.el7_6.1.x86_64.rpm
下载wget-1.14-18.el7_6.1.x86_64.rpm到本地,比如下载目录
用winscp工具上传到服务器对应目录
rpm -ivh wget-1.14-18.el7_6.1.x86_64.rpm //安装wget 重要
yum repolist //查看yum源
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo //安装阿里源
yum repolist //查看yum源
OK了
centOS安装基础软件yum、wget
最新推荐文章于 2023-11-22 16:31:25 发布