Slackware Linux命令:
/etc/rc.d/rc.httpd restart
ubuntu、Debian 系统命令:
/etc/init.d/apache2 restart
Fedora 、Redhat、CentOS系统重启Apache命令:
/etc/init.d/httpd restart
或
service httpd restart(CentOS 成功)
本文详细介绍了Linux系统中使用不同的发行版重启Apache服务的命令,包括Slackware Linux、Ubuntu、Debian、Fedora、Redhat、CentOS等。通过提供具体的命令示例,帮助用户轻松掌握如何在不同环境下重启Apache服务。
/etc/rc.d/rc.httpd restart
ubuntu、Debian 系统命令:
/etc/init.d/apache2 restart
Fedora 、Redhat、CentOS系统重启Apache命令:
/etc/init.d/httpd restart
或
service httpd restart(CentOS 成功)
953
2047

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