[Centos7]Centos7安装
Centos7安装
安装wget
yum -y install wget
更换镜像源
备份本地yum源
mv /etc/yum.repos.d/CentOS-Base.repo /etc/yum.repos.d/CentOS-Base.repo_bak
获取阿里yum源配置文件
wget -O /etc/yum.repos.d/CentOS-Base.repo http://mirrors.aliyun.com/repo/Centos-7.repo
防火墙设置
查看防火墙状态
systemctl status firewalld.service
关闭防火墙
systemctl stop firewalld.service
禁止防火墙开机启动
systemctl disable firewalld.service
关闭selinux
修改配置文件
vi /etc/selinux/config
SELINUX=enforcing ==> SELINUX=disabled
转载于//www.cnblogs.com/ttkl/p/11041124.html
还没有评论,来说两句吧...