linux 命令2 查看apache是否安装及版本: rpm -q httpd 或者: httpd -v 或者 apachectl -v 查找已安装的mysql 版本 rpm -qa | grep mysql rpm -qa 可以查看安装了什么软件