各種組件均使用最新穩(wěn)定版
NGINX 1.x.x
PHP 5.3.x
MYSQL 5.5.x
安裝方法
下載
wget http://http://sourceforge.net/projects/mapn-l/files/apt.sh
給予可執(zhí)行權(quán)限
chmod +x apt.sh
安裝
./apt.sh
輸入域名,回車(chē)
接著輸入MYSQL root用戶密碼
再次輸入確認(rèn)MYSQL root用戶密碼
等待安裝完成。
整個(gè)過(guò)程約2-5分鐘
NGINX狀態(tài)管理 /etc/init.d/nginx {start|stop|restart|reload|force-reload|status|configtest}
PHP狀態(tài)管理 /etc/init.d/php5-fpm {start|stop|status|restart|reload|force-reload}
MYSQL狀態(tài)管理/etc/init.d/mysql {start|stop|restart|reload|force-reload|status}
Nginx nginx.conf:/etc/nginx/nginx.conf
MySQL my.cnf:/etc/mysql/my.cnf
PHP php.ini:/etc/php5/fpm/php.ini
添加主機(jī) /home/add.sh