<?xml version="1.0"?>
<!DOCTYPE wml PUBLIC "-//WAPFORUM//DTD WML 1.1//EN" "http://www.wapforum.org/ DTD/wml_1.1.xml">

<wml>
<head>
<meta http-equiv="cache-control" content="max-age=180,private" />
</head>
<card title="LLNMP一键安装包">
<p>
作者:<a href="index.php?action=showuser&amp;userid=1&amp;hash=">admin</a><br />时间:2015-01-07 12:51<br />分类:<a href="index.php?action=list&amp;cid=3&amp;hash=">电脑技术</a><br />内容:
LLNMP一键安装包

1.LLNMP介绍
LLNMP一键安装包是一个为Linux主机一键安装(Open)LiteSpeed+Mysql(MariaDB)+PHP的简便程序。

2.LLNMP有什么优点

    LLNMP安装简便，避免了Linux安装时大量输入命令的麻烦

    一键安装包仅需输入几条命令，剩余均为无人值守自动安装，一劳永逸的假话安装步骤，降低维护复杂性，更可根据自己需求安装自己所需组件

    Litespeed性能稳定、安全、处理PHP比apache更快，负载更低

    Litespeed免费版限制150连接，但使用nginx处理前端静态文件后将大大降低处理负载，OpenLiteSpeed开源版没有连接数限制，不支持.htaccess，但可以在管理面板中自由定义

    组合软件除Litespeed外均为开源免费软件，下载源几乎均为官方地址，可最大程度保证安全

    可快速创建新的虚拟主机，可轻松支持.htaccess文件，轻松支持伪静态


3.LLNMP支持什么系统
CentOS 5+ 32bit/64bit、Debian 6+ 32bit/64bit、Ubuntu 12+ 32bit/64bit

4.LLNMP站点演示

    演示：http://www.shuang.ca


5.如何获取
您可以自由的下载LLNMP并使用在您的服务器上，下载地址：

在线安装版：

DropBox: https://dl.dropboxusercontent.com/s/up15njvphh9ufh8/llnmp.tar.gz

百度网盘: http://pan.baidu.com/s/1eQtfUoi

完整安装版：

DropBox: https://dl.dropboxusercontent.com/s/pjnyzlgcgzw6oiy/llnmp-full.tar.gz

百度网盘: http://pan.baidu.com/s/1kTp7ULL

6.如何安装
首先登录SSH，并获取root权限（必须为root账号或拥有root权限），输入如下命令：

PS:这一步不是必须的，但是衰锅强烈推荐您执行这一步




    #centos

    yum -y install screen

    #debian or ubuntu

    apt-get install screen

    screen -S llnmp






下载并安装LLNMP




    #在线安装版

    wget -c --no-check-certificate https://dl.dropboxusercontent.com/s/up15njvphh9ufh8/llnmp.tar.gz

    tar zxf llnmp.tar.gz

    #完整安装版

    wget -c --no-check-certificate https://dl.dropboxusercontent.com/s/pjnyzlgcgzw6oiy/llnmp-full.tar.gz

    tar zxf llnmp-full.tar.gz

     

    cd llnmp/

    sh install.sh






这时出现会要求您对运行环境做一些设置，依次为：




    Is xxx.xxx.xxx.xxx your main ip?[y/n]: #确认您VPS的公网IP地址

    Please select a web server: #选择要安装的PHP服务器（Open）LiteSpeed

    Please input the user name of (Open)LiteSpeed: #设置(Open)LiteSpeed服务器管理员用户名

    Please input the user password of (Open)LiteSpeed: #设置(Open)LiteSpeed服务器管理员密码

    Please input the admin email of (Open)LiteSpeed: #设置(Open)LiteSpeed服务器管理员邮箱

    Do you want install Nginx or Tengine?(Default y) [y/n]: #是否需要安装Nginx或Tengine前端服务器

    Please select a Database Server: #选择一个数据库服务器

    Please input the root password of MySQL(MariaDB): #设置数据库root用户密码

    Please select a PHP Version: #选择一个PHP版本

    Do you want install cache of PHP?(Default y) [y/n]: #是否需要安装PHP缓存组件

    Do you want install redis?(Default y) [y/n]: #是否需要安装redis缓存组件

    Do you want install memcached?(Default y) [y/n]: #是否需要安装memcached缓存组件

    Do you want to use jemalloc optimize Database and Web server?(Default y) [y/n]: #是否使用jemalloc优化数据库和前端web服务器

    Do you want install Pureftpd?(Default y) [y/n]: #是否安装pureftpd






设置完成后回车即可自动安装，等待大约10~30分钟安装完成

7.软件安装目录
(Open)Litespeed: /usr/local/lsws

Litespeed配置文件: /usr/local/lsws/conf/httpd_config.xml

Litespeed虚拟主机配置文件: /usr/local/lsws/conf/{yourdomain}.xml

Nginx/Tengine: /usr/local/nginx

Nginx/Tengine配置文件：/usr/local/nginx/conf/nginx.conf

Nginx/Tengine虚拟主机配置文件：/usr/local/nginx/conf/vhost/{yourdomain}.conf

MySQL: /usr/local/mysql

MySQL存储目录: /data/mysql

MySQL配置文件: /etc/my.cnf

PHP: /usr/local/lsws/lsphp5

PHP配置文件: /usr/local/lsws/lsphp5/lib/php.ini

Memcached: /usr/local/memcached

nginx: /usr/local/nginx

pureftpd: /usr/local/pureftpd

8.软件状态管理
Litespeed管理: service lsws {start|stop|restart}

MySQL管理: service mysqld {start|stop|restart}

Memcached管理: service memcached {start|stop|restart}

nginx管理: service nginx {start|stop|reload|restart}

pureftpd管理: service pureftpd {start|stop|restart}

添加虚拟主机: /root/vhost.sh

9.Bug修复
2014-05-19：修复添加站点后无法正常访问静态文件问题，去除网站主IP访问限制，LiteSpeed设定为本地访问。

10.更新历史
2014-05-18

发布0.4版本：

支持CentOS、Debian、Ubuntu

优化安装参数

增加redis、zend opcache、apcu等多种组件

其他更多功能



2014-01-07

发布0.2版本：

支持64bit安装

优化安装参数

提升安装速度

2014-01-05

发布0.1版本：

支持最小化安装

支持自主选择安装组件
</p><p>
<a href="index.php?action=login&amp;hash=">立即登陆发表评论</a><br />
</p>
<p><a href="index.php?action=list&amp;hash=">返回日志列表</a><br /><a href="index.php?action=index&amp;hash=">返回主页</a></p>
</card>
</wml>
