问题:lsb_release 是查看系统版本信息的工具
[root@localhost ~]# lsb_release -a
-bash: lsb_release: command not found解决方法:yum install redhat-lsb -y
[root@compass-user-hd-node6]:~# lsb_release -aLSB 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-noarchDistributor ID: CentOSDescription: CentOS Linux release 7.3.1611 (Core) Release: 7.3.1611Codename: Core