想查看一下系统内核信息,用lsb_release -a,提示不存在,安装一下:
yum install redhat-lsb
然后再lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS Linux release 6.0 (Final)
Release: 6.0
yum install redhat-lsb
然后再lsb_release -a
LSB Version: :core-4.0-ia32:core-4.0-noarch:graphics-4.0-ia32:graphics-4.0-noarch:printing-4.0-ia32:printing-4.0-noarch
Distributor ID: CentOS
Description: CentOS Linux release 6.0 (Final)
Release: 6.0
Codename: Final
本文转自灬落魄灬 51CTO博客,原文链接:http://blog.51cto.com/smoke520/1792367,如需转载请自行联系原作者