最新消息:

LLsMP占用资源最小的linux vps一键安装包

建站资源 yousun 961浏览

LLsMP是Linux + Litespeed + MySQL + PHP简称缩写,可以基于Centos、Debian环境下安装,基本能够满足大部分站长需要,最为强大的优点就是占用资源极小,环境安装后只占用20M不到的内存,所以如果我们VPS是128MB内存都可以在上面搭建2-3个网站都没有问题。

apt-get install screen
apt-get update

LLSMP 1.0版本

A – Centos

wget http://down.llsmp.cn/llsmp1.0_centos.tar.gz
tar -zxvfllsmp1.0_centos.tar.gz
cd centos
sh install.sh

默认安装PHP5.3版本,如果需要安装php5.4版本,在最后一行sh install.sh php5.4

B – Debian

wget http://down.llsmp.cn/llsmp1.0_debian.tar.gz
tar -zxvfllsmp1.0_debian.tar.gz
cd debian
sh install.sh

默认安装PHP5.3版本,如果需要安装php5.4版本,在最后一行sh install.sh php5.4

LLSMP 0.6版本

A – Centos

wget http://down.llsmp.cn/llsmp0.6_centos.tar.gz
tar -zxvf llsmp0.6_centos.tar.gz
cd centos
sh install.sh

如果需要安装php5.3版本,在最后一行sh install.sh php5.3

B – Debian

wget http://down.llsmp.cn/llsmp0.6_debian.tar.gz
tar -zxvf llsmp0.6_debian.tar.gz
cd debian
sh install.sh

如果需要安装php5.3版本,在最后一行sh install.sh php5.3

对应系统执行上述的脚本安装,在过程中需要我们输入Litespeed登录密码,以及ROOT MYSQL和Litespeed登录密码,可以选择快速安装和自定义安装,可以选择安装PHP5.3或者默认的PHP2.7版本。

LLsMP一键包换机常用的脚本/命令

A – 常用组件安装

如果有需要下面组件的,可以单独安装

安装eAccelerator : sh /root/llsmp/eaccelerator.sh

安装Zend Optimizer : sh /root/llsmp/zend_optimizer.sh

安装ionCube Loader : sh /root/llsmp/ioncube.sh

安装Google Performace Tools : sh /root/llsmp/perftools.sh

安装FTP(vsftpd) : sh /root/llsmp/vsftpd.sh

安装Nginx前端 : sh /root/llsmp/nginx.sh

B – 常用命令

创建新站点: sh /root/llsmp/vhost.sh

添加FTP账号 : sh /root/llsmp/vsftpd.sh

虚拟主机权限修正: chown -R nobody:nobody /home/wwwroot/域名/html

创建Nginx虚拟主机 : sh /root/llsmp/nginx.sh

备份指令 : sh /root/llsmp/backup.sh

重启Litespeed : /etc/init.d/lsws restart

重启MySQL : /etc/init.d/mysql(d) restart

重启Nginx : /etc/init.d/nginx restart

C – LLsMP常用文件目录

Litespeed管理后台 : http://{ip}:7080

phpMyAdmin(安装后建议修改文件夹名称) : http://{ip}/phpmyadmin/

php.ini目录 : /usr/local/lsws/lsphp5/lib/php.ini

MySQL配置文件my.cnf : /etc/my.cnf (Centos) | /etc/mysql/my.cnf (Debian/Ubuntu)

Nginx配置目录: /etc/nginx/nginx.conf 及 /etc/nginx/conf.d/下

虚拟主机目录: /home/wwwroot

LLsMP安装日志: /root/llsmp/install.log

虚拟主机文件权限修正 : chown -R nobody:nobody /home/wwwroot/域名/html

转载请注明:游隼 » LLsMP占用资源最小的linux vps一键安装包