在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 ::
*filter
:INPUT ACCEPT [:]
:FORWARD ACCEPT [:]
:OUTPUT ACCEPT [:]
-A INPUT -p tcp -m tcp --dport -j ACCEPT
COMMIT
# Completed on Sun Jan ::
===================================== Check install =================================== Checking...
Nginx: OK
PHP: OK
PHP-FPM: OK
MySQL: OK
Install lnmp 1.0 completed! enjoy it.
=========================================================================
LNMP V1. 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. , 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 ()
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
tcp 127.0.0.1: 0.0.0.0:* LISTEN
tcp 0.0.0.0: 0.0.0.0:* LISTEN
tcp 0.0.0.0: 0.0.0.0:* LISTEN
tcp 127.0.1.1: 0.0.0.0:* LISTEN
tcp6 ::: :::* LISTEN