1、建議通過阿里巴巴開源鏡像去下載CentOS
2、安裝CentOS之后,需要安裝網卡和和網絡工具
cd /etc/sysconfig/network-scripts/
vi ifcfg-ens33
編輯ifcfg-ens33 文件將ONBOOT=no 改為yes
然后:wq保存,重啟網卡
service network restart
安裝網絡工具:
sudo yum install net-tools
如果提示:使用yum安裝運用,提示沒有有效鏡像(There are no enabled repos)
curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo