主机俱乐部

 找回密码
 立即注册
搜索
查看: 706|回复: 0

CentOS 7 命令lsb_release: command not found解决方案

[复制链接]

15

主题

15

帖子

119

积分

注册会员

Rank: 2

积分
119
发表于 2018-5-23 14:08:55 | 显示全部楼层 |阅读模式

1.确认lsb_release是否安装
[root@localhost Desktop]# lsb_release -a

bash: lsb_release: command not found...


这就说明没有安装。

2.安装lsb_release
使用yum安装lsb,具体命令如下:

[root@localhost Desktop]# yum install -y redhat-lsb

本文出自主机俱乐部(www.hostclub.org),转载请注明!

美国服务器租用www.iLbHost.com
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

QQ|Archiver|手机版|小黑屋|主机俱乐部

GMT+8, 2025-5-23 00:48 , Processed in 0.023609 second(s), 18 queries .

Powered by Discuz! X3.4

© 2001-2017 Comsenz Inc.

快速回复 返回顶部 返回列表