网站运维:linux 下 apache启动、停止、重启命令
2019-06-18 15:56
3123 查看
1、centos7系统可以用以下命令操作:
sudo service httpd start 启动
sudo service httpd restart 重新启动
sudo service httpd stop 停止服务
2、Ubuntu系统可以用以下命令操作:
2.1、Start Apache 2 Server /启动apache服务
/etc/init.d/apache2 start
or
$ sudo /etc/init.d/apache2 start
2.2、 Restart Apache 2 Server /重启apache服务
/etc/init.d/apache2 restart
or
$ sudo /etc/init.d/apache2 restart
2.3、Stop Apache 2 Server /停止apache服务
/etc/init.d/apache2 stop
or
$ sudo /etc/init.d/apache2 stop
相关文章推荐
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache相关;启动、停止、重启命令;配置文件位置等等
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令
- linux 下 apache启动、停止、重启命令