Linux系统标准化1: 克隆 Linux 系统后 eth0 网卡的设置
Linux系统标准化2: 将动态IP设置成静态IP&关闭防火墙和Selinux
Linux系统更换Yum源:
1、备份 mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo.backup 2、下载对应版本repo文件, 放入/etc/yum.repos.d/(操作前请做好相应备份) CentOS 6 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo 或者 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-6.repo CentOS 7 wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 或者 curl -o /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo 网易Centos6:http://mirrors.163.com/.help/CentOS6-Base-163.repo 网易Centos7:http://mirrors.163.com/.help/CentOS7-Base-163.repo 3、运行以下命令生成缓存 yum clean all yum makecache