1、运行 lsb_release -a 命令报错 -bash: lsb_release: command not found 原因:lsb_release 未安装 2、解决方案:执行以下命令: yum install -y redhat-lsb 转载于:https://my.oschina.net/chipsy/blog/3098539