1.启动mysql,我安装在了/etc/init.d/下,所以启动命令为/etc/init.d/mysqld start 2.启动apache,同mysql,我的启动命令为/etc/init.d/httpd start