Linux下Apache的启动、停止、查看等命令
1、查看是否已经安装了httpd:
rpm -qa | grep httpd
2、查看httpd的进程:
ps -ef | grep httpd
3、查看httpd的运行状态:
service httpd status
4、启动httpd
service httpd start
5、重新启动httpd
service httpd restart
计算机基础
