1、查看系统版本:cat /proc/version 2、查看是否安装某个软件:rpm -qa | grep mysql 3、 转载于:https://www.cnblogs.com/h07061108/p/linux_php.html