centos7的改变

Posted orxx

tags:

篇首语:本文由小常识网(cha138.com)小编为大家整理,主要介绍了centos7的改变相关的知识,希望对你有一定的参考价值。

实际部署服务器时候发现centos7和之前使用的centos6已经service命令使用上有很大差别,记录一下

*启动、重启、停止、重载服务
# systemctl start httpd.service
# systemctl restart httpd.service
# systemctl stop httpd.service
# systemctl reload httpd.service
# systemctl status httpd.service

*激活/禁止自动启动

# systemctl enable httpd.service
# systemctl disable httpd.service

*杀死服务
# systemctl kill httpd

 

 

转载自  https://blog.csdn.net/cds86333774/article/details/51165361








以上是关于centos7的改变的主要内容,如果未能解决你的问题,请参考以下文章

centos7 改变终端背景色

如何在CentOS7上改变网络接口名

centos7 更换网卡设置的名称

centos7 mailx当ip改变后发送邮件

centos7及yum安装包组

《搭建Centos7之一》