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:qwe159753!@#
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 (19814)
Active Internet connections (only servers)
Proto Recv-Q Send-Q Local Address Foreign Address State
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
11 绑定域名到目录
LNMP绑定域名时,your.com和www.your.com要分别输入,下面的例子中,主域名是419.at,而www.419.at做为其它域名,一起绑定的。命令是:
/root/vhost.sh
如图六
12 .问你是否绑定其它域名,我输入y后回车(图七)Do you want to add more domain name? (y/n)
13.问你网站的绑定目录是哪?默认是/home/wwwroot/xxx 可以自定义(图八)(就是你存放网站目录的文件夹)
14问你是否启用伪静态规则,自带了几个
Allow Rewrite rule? (y/n)
,按需要输入,一般的discuz啊wordpress啊都要开输入y,然后选择输入相关文字好了
15
Please input the directory for the domain:www.guigulab.org :