- 积分
- 4
- 威望
-
- 金钱
-
- 注册时间
- 2010-5-10
- 在线时间
- 小时
- 最后登录
- 1970-1-1
|
楼主 |
发表于 2010-8-5 10:45:13
|
显示全部楼层
- [root@localhost lnmp0.4-full]# ./vhost.sh
- =========================================================================
- Add Virtual Host for LNMP V0.4 , Written by Licess
- =========================================================================
- LNMP is a tool to auto-compile & install Nginx+MySQL+PHP on Linux
- This script is a tool to add virtual host for nginx
- For more information please visit http://www.lnmp.org/
- =========================================================================
- Please input domain:
- (Default domain: www.lnmp.org):pp.abc.com
- ===========================
- domain=pp.abc.com
- ===========================
- Do you want to add more domain name? (y/n)
- n
- Please input the directory for the domain:pp.abc.com :
- (Default directory: /home/wwwroot/pp.abc.com):
- ===========================
- Virtual Host Directory=/home/wwwroot/pp.abc.com
- ===========================
- ===========================
- Allow Rewrite rule? (y/n)
- ===========================
- n
- ===========================
- You choose rewrite=none
- ===========================
- ===========================
- Allow access_log? (y/n)
- ===========================
- n
- ===========================
- You access log file=.log
- ===========================
- Press any key to start create virtul host...
- Create Virtul Host directory......
- set permissions of Virtual Host directory......
- You select the exist rewrite rule:/usr/local/nginx/conf/none.conf
- Test Nginx configure file......
- the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
- configuration file /usr/local/nginx/conf/nginx.conf test is successful
- Restart Nginx......
- kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
- =========================================================================
- Add Virtual Host for LNMP V0.4 , Written by Licess
- =========================================================================
- For more information please visit http://www.lnmp.org/
- Your domain:pp.abc.com
- Directory of pp.abc.com:/home/wwwroot/pp.abc.com
- =========================================================================
- You have new mail in /var/mail/root
- [root@localhost lnmp0.4-full]# ./lnmp restart
- =========================================================================
- Manager for LNMP V0.4 , 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}
- =========================================================================
- Reload LNMP...
- Reload Nginx configure...
- the configuration file /usr/local/nginx/conf/nginx.conf syntax is ok
- configuration file /usr/local/nginx/conf/nginx.conf test is successful
- kill: usage: kill [-s sigspec | -n signum | -sigspec] pid | jobspec ... or kill -l [sigspec]
- Nginx program is reloding!
- Shutting down MySQL. [确定]
- Starting MySQL. [确定]
- Shutting down php_fpm . done
- Starting php_fpm done
复制代码 |
|