打开或关闭服务:
Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]
禁止和允许服务:
usage: chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]
禁止和允许服务:
usage: chkconfig --list [name]
chkconfig --add <name>
chkconfig --del <name>
chkconfig [--level <levels>] <name> <on|off|reset|resetpriorities>
本文提供Linux系统中服务的操作方法,包括启动、停止及状态查询等基本命令。此外还介绍了如何使用chkconfig命令来设置服务的开机启动状态,适用于系统管理员和服务配置人员。
248

被折叠的 条评论
为什么被折叠?



