惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

博客园_首页
H
Help Net Security
N
Netflix TechBlog - Medium
Apple Machine Learning Research
Apple Machine Learning Research
P
Proofpoint News Feed
A
About on SuperTechFans
V
V2EX
钛媒体:引领未来商业与生活新知
钛媒体:引领未来商业与生活新知
宝玉的分享
宝玉的分享
aimingoo的专栏
aimingoo的专栏
F
Fortinet All Blogs
博客园 - 【当耐特】
Microsoft Security Blog
Microsoft Security Blog
Martin Fowler
Martin Fowler
I
InfoQ
Google DeepMind News
Google DeepMind News
人人都是产品经理
人人都是产品经理
Engineering at Meta
Engineering at Meta
腾讯CDC
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
B
Blog RSS Feed
U
Unit 42
The Cloudflare Blog
Y
Y Combinator Blog

博客园 - Dave.Xu

查看当前文件目录 大小 centos 添加快捷 CentOS 7控制台屏幕分辨率问题 转载 CentOS 7安装GNOME桌面 和 配置 VNC 服务器 centos 安装 gnorme linux init centos 安装 x-windows centos 安装 jdk centos 安装 chrome CentOS 7 命令lsb_release: command not found解决方案 bing搜索路径 查询安装包 转载 Centos7 内核从3.10升级到4.12过程 linux 内核编译 How to Upgrade Kernel on CentOS 7 yum syntax to update all except Kernel centos yum update kernel vmware-installer uname
安装lsb_release
Dave.Xu · 2018-09-16 · via 博客园 - Dave.Xu

lsb_release

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

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


然后进如自动安装阶段,直到安装命令自动运行完毕。如下图所示:


3.验证lsb是否已经安装

执行命令,发现可以查看系统版本。

[root@localhost Desktop]# lsb_release -a

LSB Version: :core-4.1-amd64:core-4.1-noarch:cxx-4.1-amd64:cxx-4.1-noarch:desktop-4.1-amd64:desktop-4.1-noarch:languages-4.1-amd64:languages-4.1-noarch:printing-4.1-amd64:printing-4.1-noarch

Distributor ID: CentOS

Description: CentOS Linux release 7.2.1511 (Core) 

Release: 7.2.1511

Codename: Core