centos解决bash: service: command not found 错误
来源:互联网 发布:js修改a标签的href 编辑:程序博客网 时间:2024/06/05 17:25
在centos系统中,如果/sbin目录下没有service这个命令,就会出现
bash: service: command not found
解决步骤如下:
1、 输入
yum list | grep initscripts
会出现:
initscripts.x86_64
(其实一共有三个信息,但是后面根据版本不同,显示的信息也不同)
2、 上面给出了可安装软件的yum源版本,然后执行
yum install initscripts -y
3、 此时service命令就可用了
阅读全文
0 0
- centos解决bash: service: command not found 错误
- bash: service: command not found
- bash: service: command not found
- bash: service: command not found
- bash: service: command not found
- bash: service: command not found
- bash: service: command not found
- 最小化安装CentOS 6.4 解决 -bash: locate: command not found 错误
- bash: service: command not found 错误的解决方法
- bash: service: command not found 错误的解决方法
- bash: service: command not found 错误的解决方法
- bash: service: command not found 错误的解决方法
- bash: service: command not found 错误的解决方法
- CentOS查看硬件信息:解决bash: lspci: command not found
- bash: groupadd: command not found 错误解决[转]
- 解决scp时报bash: scp: command not found的错误
- Linux 出现-bash: grunt: command not found 错误解决
- linux下报错bash: service: command not found
- 『机器学习实战』使用 k-近邻算法改进约会网站的配对效果
- 2017第三十一届中原医疗器械(2017年春季)展览会会刊(参展商名录)
- 利用beego开发网站(三)
- [转载]一种你不知道的解决窗体闪烁的方法
- Python开发飞机大战(2)
- centos解决bash: service: command not found 错误
- 封装echarts
- 洛谷 [P2024] 食物链
- spring的AOP
- 初识Hadoop
- 【区块链之技术进阶】让这篇技术贴告诉你区块链是怎么运行的
- pytorch 初学笔记
- SpringMVC安装以及编辑环境的配置
- Spring 5 的 WebFlux 开发反应式 Web 应用