安装CentOS 7MInimal版本

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

猜你喜欢

转载自www.cnblogs.com/ZQWelcomeIndex/p/11651421.html