使用SHELL命令来停止或者运行服务---service
linux-dash
A beautiful web dashboard for Linux
项目地址:https://gitcode.com/gh_mirrors/li/linux-dash

·
使用SHELL命令来停止或者运行服务---service
#service xinetd stop //停止运行xinetd服务
Stopping xinetd:
#service xinetd start //启动xinetd服务
技巧:有的时候我们利用LINUX进行上网时,不能联网,其实有些时候是由于LINUX防火墙的原因,我们可能关
#service xinetd stop //停止运行xinetd服务
Stopping xinetd:
#service xinetd start //启动xinetd服务
技巧:有的时候我们利用LINUX进行上网时,不能联网,其实有些时候是由于LINUX防火墙的原因,我们可能关
闭防火墙,使用这个命令:#service iptables stop
服务启动状态的配置命令:
1. ntsysv
2. chkconfig,这个命令功能强大,看看吧:
查看服务启动状态:#CHKCONFIG --LIST [SERVICES]
E.G.:
#chkconfig --list //查看系统所有服务的启动状态.
#chkconfig --list syslog //查看syslog服务的启动状态.
设置独立服务的启动状态:#chkconfig --level <runlevel list> <serivces> <on/off/reset>
e.g.:
#chkconfig --level 123 syslog off //表示syslog这个服务在1,2,3停止运行.




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