在ubuntu13.10上面安装一个lnmp集成环境。
下面是安装成功的界面。
===========================add nginx and php-fpm on startup completed==================== Starting LNMP... Starting MySQL... * Starting php-fpm done Starting nginx daemon: nginx. # Generated by iptables-save v1.4.18 on Sun Jan 19 22:10:24 2014 *filter :INPUT ACCEPT [0:0] :FORWARD ACCEPT [0:0] :OUTPUT ACCEPT [0:0] -A INPUT -p tcp -m tcp --dport 80 -j ACCEPT COMMIT # Completed on Sun Jan 19 22:10:24 2014 ===================================== Check install =================================== Checking... Nginx: OK PHP: OK PHP-FPM: OK MySQL: OK Install lnmp 1.0 completed! enjoy it. ========================================================================= LNMP V1.0 for CentOS/RadHat Linux VPS Written by Licess ========================================================================= For more information please visit http://www.lnmp.org/ lnmp status manage: /root/lnmp {start|stop|reload|restart|kill|status} default mysql root password:komiles phpinfo : http://yourIP/phpinfo.php phpMyAdmin : http://yourIP/phpmyadmin/ Prober : http://yourIP/p.php Add VirtualHost : /root/vhost.sh The path of some dirs: mysql dir: /usr/local/mysql php dir: /usr/local/php nginx dir: /usr/local/nginx web dir : /home/wwwroot/default ========================================================================= ========================================================================= Manager for LNMP V1.0 , Written by Licess ========================================================================= LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux This script is a tool to Manage status of lnmp For more information please visit http://www.lnmp.org Usage: /root/lnmp {start|stop|reload|restart|kill|status} ========================================================================= Nginx is runing! php-fpm is runing! * MySQL running (27887) Active Internet connections (only servers) Proto Recv-Q Send-Q Local Address Foreign Address State tcp 0 0 127.0.0.1:631 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:3306 0.0.0.0:* LISTEN tcp 0 0 0.0.0.0:80 0.0.0.0:* LISTEN tcp 0 0 127.0.1.1:53 0.0.0.0:* LISTEN tcp6 0 0 ::1:631 :::* LISTEN