Centos7初始化配置

1、修改时间(上海)

创新互联公司主营康县网站建设的网络公司,主营网站建设方案,重庆APP软件开发,康县h5微信小程序定制开发搭建,康县网站营销推广欢迎康县等地区企业咨询

cp /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

2、禁用selinux

/sbin/setenforce 0
sed -i 's\SELINUX=enforcing\SELINUX=disabled\' /etc/selinux/config

3、禁用防火墙

systemctl stop firewalld.service 
systemctl disable firewalld.service

4、修改计算机名(node01)

 hostnamectl set-hostname node01

更新于2019-12-16


文章名称:Centos7初始化配置
文章起源:http://csdahua.cn/article/gdessp.html
扫二维码与项目经理沟通

我们在微信上24小时期待你的声音

解答本文疑问/技术咨询/运营咨询/技术建议/互联网交流