1. 配置更新Git:
http://www.jianshu.com/p/fe00971353d5
2. 安装并Apache:
# yum install httpd httpd-devel
# /etc/init.d/httpd start
访问服务器IP,成功看到Apache输出信息后代表成功。
3. 重启Apache:
# service httpd restart
4. 更改Document Root路径:
# vi /etc/httpd/conf/httpd.conf
5. 安装PHP 5.5并重启Apache以生效:
# yum remove php php-bcmath php-cli php-common php-devel php-fpm php-gd php-imap php-ldap php-mbstring php-mcrypt php-mysql php-odbc php-pdo php-pear php-pecl- igbinary php-xml php-xmlrpc
# rpm -Uvh http://mirror.webtatic.com/yum/el6/latest.rpm
# yum install php55w php55w-bcmath php55w-cli php55w-common php55w-devel php55w-fpm php55w-gd php55w-imap php55w-ldap php55w-mbstring php55w-mcrypt php55w-mysql php55w-odbc php55w-pdo php55w-pear php55w-pecl-igbinary php55w-xml php55w-xmlrpc php55w-opcache php55w-intl php55w-pecl-memcache
# /etc/init.d/httpd restart