- ★Extreme★2013-07-24金牌会员8311
- 本帖最后由 ★Extreme★ 于 2013-7-24 11:50 编辑 *
适用于:CentOS 6 32Bit,CentOS6 64Bit,Ubuntu 12.04 32Bit,Ubuntu 12.04 64Bit,Ubuntu 12.10 32Bit,Ubuntu 12.10 64Bit,Debian 6 32Bit,Debian 6 64Bit
这里三选一:
zip包:- wget http://soft.yzs.me/lnmpv0.1-beta.zip
- - unzip lnmpv0.1-beta.zip复制代码tar.gz包:- wget http://soft.yzs.me/lnmpv0.1-beta.tar.gz
- - tar zxvf lnmpv0.1-beta.tar.gz复制代码tar.bz2包:- wget http://soft.yzs.me/lnmpv0.1-beta.tar.bz2
- - tar xjvf lnmpv0.1-beta.tar.bz2复制代码- cd lnmpv0.1-beta复制代码For CentOS 6.:- ./ctos-lnmpv.sh|tee centos.log复制代码For Ubuntu 12.:- ./ub-lnmpv.sh|tee ubuntu.log复制代码For Debian 6:- ./deb-lnmpv.sh|tee debian.log复制代码探针:http://你的IP:8910/tz.php
phpMyAdmin:http://你的IP:8910/phpmyadmin
添加虚拟主机:
任意地方输入addhost:- =========================================================================- Add Virtual Host for LNMPV
- =========================================================================
- Made by Extreme
- My Blog:http://yzs.me/
- For more information please visit http://www.mke2fs.com
- - =========================================================================
- Please input domain,example(yzs.me):360buy.com
- ===========================
- domain=360buy.com #这里输入你要绑定的域名(只能一个)
- ===========================
- Do you want to add more domain name? (y/n)
- y #如果还有其他域名,请输入y
- Type domainname,example(www.yzs.me soft.yzs.me bbs.yzs.me):
- www.360buy.com
- ===========================
- domain list=www.360buy.com #可多个,每个域名之间隔一个空格
- ===========================
- Please input the directory for the domain:360buy.com :
- (Default directory: /var/www/360buy.com): #网站的根目录,默认为/var/www/你的域名
- ===========================
- Virtual Host Directory=/var/www/360buy.com
- ===========================
- - Press any key to create your virtul host... #此处后悔还来得及,按Ctrl+C可退出,否则按任意键继续
- Create Virtul Host directory......
- set permissions of Virtual Host directory......
- Restart Nginx......
- Restarting nginx: nginx.
- =========================================================================
- Add Virtual Host for LNMPV
- You can add rewrite rules in /etc/nginx/rewrite/360buy.com.conf.
- =========================================================================
- Made by Extreme
- My Blog:http://yzs.me/
- For more information please visit http://www.mke2fs.com
- - =========================================================================复制代码服务管理:
lnmpv {start|stop|reload|restart|kill}
更多信息,请查看: