目的
本文主要介紹以下內容:
設置centos的國內軟件源,默認源都是國外的下載軟件超級麻煩。
ssh登錄
下載一個shell或者cmder
ssh root@192.168.10.18 #上篇設置的ip
下載wget
yum install -y wget #wget網絡下載命令
配置源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup #備份
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo #設置阿里源
yum makecache #生成緩存