解决redhat下service不可用问题

问题:

-bash: service: command not found

解决方法:

先检查/sbin/service 是否存在,不存在则:
yum install initscripts

yum不可用则rpm安装yum工具

posted @ 2019-01-07 15:08  Archer_w  阅读(518)  评论(0编辑  收藏  举报