linux 服务 管理
时间:2009-03-17 来源:yangle21g
我使用的是centos
首先可以查看下系统中存在的服务
使用命令# chkconfig --list
查看某一个服务状态使用#chkconfig --list 名字
若启用则使用命令#chkconfig 名字 on
若关闭服务则使用#chkconfig 名字 off
例:关闭apache的httpd服务 #chkconfig httpd off
首先可以查看下系统中存在的服务
使用命令# chkconfig --list
查看某一个服务状态使用#chkconfig --list 名字
若启用则使用命令#chkconfig 名字 on
若关闭服务则使用#chkconfig 名字 off
例:关闭apache的httpd服务 #chkconfig httpd off
相关阅读 更多 +