[转]LLNMP一键安装包
首页 > IT > Other   作者:eehello  2015年5月10日 14:06 星期日  浏览:5477  字号:   评论:0 条
时间:2015-5-10 14:06   浏览:5477  评论:0 条 


转载地址:http://shuang.ca/llnmp/



1.LLNMP介绍

LLNMP一键安装包是一个为Linux主机一键安装(Open)LiteSpeed+Mysql(MariaDB)+PHP的简便程序。

2.LLNMP有什么优点

   1. LLNMP安装简便,避免了Linux安装时大量输入命令的麻烦

   2. 一键安装包仅需输入几条命令,剩余均为无人值守自动安装,一劳永逸的假话安装步骤,降低维护复杂性,更可根据自己需求安装自己所需组件

   3. Litespeed性能稳定、安全、处理PHP比apache更快,负载更低

   4. Litespeed免费版限制150连接,但使用nginx处理前端静态文件后将大大降低处理负载,OpenLiteSpeed开源版没有连接数限制,不支持.htaccess,但可以在管理面板中自由定义

   5. 组合软件除Litespeed外均为开源免费软件,下载源几乎均为官方地址,可最大程度保证安全

   6.可快速创建新的虚拟主机,可轻松支持.htaccess文件,轻松支持伪静态

3.LLNMP支持什么系统

CentOS 5+ 32bit/64bit、Debian 6+ 32bit/64bit、Ubuntu 12+ 32bit/64bit


4.如何获取

  您可以自由的下载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

5.如何安装

首先登录SSH,并获取root权限(必须为root账号或拥有root权限),输入如下命令:
PS:这一步不是必须的,但是衰锅强烈推荐您执行这一步

#centos
yum -y install screen
#debian or ubuntu
apt-get install screen
screen -S llnmp

下载并安装LLNMP

#在线安装版
wget --no-check-certificate https://dl.dropboxusercontent.com/s/up15njvphh9ufh8/llnmp.tar.gz
tar zxf llnmp.tar.gz
#完整安装版
wget --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分钟安装完成

6.软件安装目录

  (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

7.软件状态管理

  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

8.Bug修复

2014-05-19:修复添加站点后无法正常访问静态文件问题,去除网站主IP访问限制,LiteSpeed设定为本地访问。

9.更新历史

 2014-05-18
  发布0.4版本:
  支持CentOS、Debian、Ubuntu
  优化安装参数
  增加redis、zend opcache、apcu等多种组件
  其他更多功能
 

 2014-01-07
  发布0.2版本:
  支持64bit安装
  优化安装参数
  提升安装速度

 2014-01-05
  发布0.1版本:
  支持最小化安装
  支持自主选择安装组件




 您阅读这篇文章共花了: 
 本文没有标签!
二维码加载中...
本文作者:eehello      文章标题: [转]LLNMP一键安装包
本文地址:https://www.eehello.com/?post=174
版权声明:若无注明,本文皆为“点滴记忆---观雨亭”原创,转载请保留文章出处。

返回顶部| 首页| 手气不错| 留言板|后花园

Copyright © 2014-2023 点滴记忆---观雨亭