1. 查看 Linux Kernel 版本$uname -r2. 查看 CentOS 版本$cat /etc/redhat-release3. 查看 PHP 版本$php -v4. 查看 MySQL 版本$mysql -V5. 查看 Apache 版本$rpm -qa httpd