March 23, 2012

LNMP使用实例

安装LNMP 更新系统 #yum check-update #yum update 安装Screen #yum install screen 开始安装Lnmp #screen -S lnmp #wget -c http://soft.vpser.net/lnmp/lnmp0.8.tar.gz //最新版请查阅lnmp官网 #tar zxvf lnmp0.8.tar.gz #./lnmp0.8/centos.sh | tee lnmp.log //输出log文件,以备出错时查阅 接下来按照提示设定域名和MysQL密码,程序会自动下载相关程序,而后编译安装 安装PureFTP #./lnmp0.8/pureftp.sh 按提示输入MySQL和Ftp管理员密码,安装完成后可以通过http://vpsip/ftp/来登录管理ftp帐号 使用Lnmp 添加虚拟主机 #/root/vhost.sh 按照提示填入域名、目录、rewrite规则文件,如下所示: root@buyvm256:~#/root/vhost.sh ========================================================================= Add Virtual Host for LNMP V0.9 , 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. Read more

© unixetc.com 2012 - 2019
README