分享我所知道的

VPS-LLsMP面板安装使用教程

一.介绍

资源占用少,方便,不过的。

LLsMP指的是:Litespeed + MySQL + PHP

官网:http://llsmp.org/

从我安装的哦情况,暂时还是安装LLsMP V0.3.0,比较稳定,而且可以在线升级。

最新版的LLSMP 0.6正式版不错,建议使用。

Litespeed面板虽然简陋,但该有的功能都有了。

虽然提供有添加虚拟主机功能,但还是建议在SSH下添加。

二.安装

1.安裝LLsMP(0.6正式版):

CentOS:
PHP5.2
wget http://llsmp.googlecode.com/files/llsmp0.6_centos.tar.gz;tar zxvf llsmp0.6_centos.tar.gz;cd centos;sh install.sh

PHP5.3
wget http://llsmp.googlecode.com/files/llsmp0.6_centos.tar.gz;tar zxvf llsmp0.6_centos.tar.gz;cd centos;sh install.sh php5.3

Debian:
PHP5.2
wget http://llsmp.googlecode.com/files/llsmp0.6_debian.tar.gz;tar zxvf llsmp0.6_debian.tar.gz;cd debian;sh install.sh

PHP5.3
wget http://llsmp.googlecode.com/files/llsmp0.6_debian.tar.gz;tar zxvf llsmp0.6_debian.tar.gz;cd debian;sh install.sh php5.3

Ubuntu:
PHP5.2
wget http://llsmp.googlecode.com/files/llsmp0.6_ubuntu.tar.gz;tar zxvf llsmp0.6_ubuntu.tar.gz;cd ubuntu;sh install.sh

PHP5.3
wget http://llsmp.googlecode.com/files/llsmp0.6_ubuntu.tar.gz;tar zxvf llsmp0.6_ubuntu.tar.gz;cd ubuntu;sh install.sh php5.3

下面是0.4正式版的

  wget http://llsmp.googlecode.com/files/llsmp0.4.tar.gz
 tar zxvf llsmp0.4.tar.gz
 cd centos //centos version
 cd debian //debian version
 cd ubuntu //ubuntu version
 screen sh install.sh
根据系统选择不同的目录。

下面是0.3正式版的

 wget http://llsmp.googlecode.com/files/llsmp3.0.tar.gz
tar zxvf llsmp3.0.tar.gz
sh centos.sh
这个只有Centos版本。

2.创建虚拟主机

 sh /root/llsmp/vhost.sh
3.创建FTP用户

 sh /root/llsmp/vsftpd.sh
注意:一定要创建目录!

三.使用

添加主机的过程中,会让你添加域名、创建FTP用户等。

上传网站数据后,就可以使用了。

四.注意

1.unzip安装

有的主机没有unzip命令,需要安装,命令如下:

yum -y install unzip

debian下的安装:

apt-get install unzip

稍候即可安装成功。

2.网站目录

创建的网站位于/usr/local/lsws/wwwroot/你的域名/html下。

3.Litespeed面板登录地址:你的IP或者域名:7080

4.PHPMYADMIN访问地址:你的IP或者域名/phpmyadmin

用户名为:root

密码是安装时设置的密码

5.目录属性设置

a.对需要仅设置777属性的文件或文件夹,用

chmod 777 文件或文件夹

b.需要对子目录设置777属性的,用

chmod 777 文件或文件夹 -R

6.其它命令
安裝eAccelerator : sh /root/llsmp/eaccelerator.sh

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

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

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

創建虛擬主機 : sh /root/llsmp/vhost.sh

進行備份 : sh /root/llsmp/backup.sh

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

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

Litespeed後台 : http://{ip}:7080

phpMyAdmin : http://{ip}/phpmyadmin

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

虛機主機目錄: /home/wwwroot

litespeed帐号密码重置:

SSH下:/usr/local/lsws/admin/misc/admpass.sh

赞(0)
未经允许不得转载:追梦人博客 » VPS-LLsMP面板安装使用教程
分享到:

评论 3

评论前必须登录!

 

  1. #0

    搞个博客挺时髦的哦呵呵 不错支持下

  2. #0

    你现在用的vps是哪里的?

    懒人梦醒11年前 (2013-05-09)