centos6:
service httpd restart
没有报错就是启动成功了
centos7以后,推荐用systemctl restart httpd
systemctl restart httpd
本文介绍了在CentOS 6及CentOS 7中重启HTTP服务的方法。对于CentOS 6,使用'service httpd restart'命令;而在CentOS 7及更高版本中,推荐使用'systemctl restart httpd'命令来完成服务的重启。
centos6:
service httpd restart
没有报错就是启动成功了
centos7以后,推荐用systemctl restart httpd
systemctl restart httpd
952
2万+

被折叠的 条评论
为什么被折叠?