Linux下Apache服务的启动、停止、重启
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
1.查看系统是否有httpd
一些linux版本预置了Apache,并且已经开启服务,所以先检查系统中是否已经存在httpd的服务
ps -ef|grep httpd
没有就进行安装,这里直接简单的使用yum安装
yum list httpd
yum install httpd
2.一些操作
使用httpd -v查看已经安装的httpd的版本
使用service httpd status查看httpd的运行状态
使用service httpd stop可以停止httpd
使用service httpd start 可以启动httpd
使用service httpd restart 可以重启httpd




A beautiful web dashboard for Linux
最近提交(Master分支:16 天前 )
186a802e
added ecosystem file for PM2 5 年前
5def40a3
Add host customization support for the NodeJS version 5 年前
更多推荐
所有评论(0)