Chinaunix

标题: linux 服务 管理 [打印本页]

作者: yangle21g    时间: 2009-03-17 12:23
标题: linux 服务 管理
我使用的是centos
首先可以查看下系统中存在的服务
使用命令# chkconfig --list
查看某一个服务状态使用#chkconfig --list 名字
若启用则使用命令#chkconfig 名字 on
若关闭服务则使用#chkconfig 名字 off
例:关闭apache的httpd服务 #chkconfig httpd off
               
               
               

本文来自ChinaUnix博客,如果查看原文请点:http://blog.chinaunix.net/u2/83562/showart_1866071.html




欢迎光临 Chinaunix (http://bbs.chinaunix.net/) Powered by Discuz! X3.2