国产探花免费观看_亚洲丰满少妇自慰呻吟_97日韩有码在线_资源在线日韩欧美_一区二区精品毛片,辰东完美世界有声小说,欢乐颂第一季,yy玄幻小说排行榜完本

首頁 > 網管 > 服務器 > 正文

LLsMP一鍵安裝包及使用教程

2020-05-27 13:49:54
字體:
來源:轉載
供稿:網友

LLsMP一鍵安裝包及使用教程 武林網教程

LLsMP顧名思義是Linux+LiteSpeed+MySQL+PHP的一套Web環境。相信可能大家對LNMP更熟悉一些,至于孰好孰壞,這里也不賣弄了,畢竟自己也是剛剛接觸LLsMP,所以不方便多說,但是從現有資料來看,LiteSpeed的負載能力很強,占用資源也極低,而且對于.htaccess的rewrite規則支持也非常不錯,這也是Nginx一個很大的缺陷吧(許多偽靜態的規則需要自己完成…)。

LLsMP一鍵安裝包及使用教程

本文介紹的LLsMP一鍵安裝包是llsmp.org進行發布,本文僅對常用設置與命令進行整理匯總!

1.安裝LLsMP

2.安裝更多附加組件

3.LLsMP相關管理命令

4.LLsMP常用目錄

5.截止本文發表,最新版本0.6已知的問題

安裝LLsMP

支持平臺:CentOS 5/6 , Debian 5/6 , Ubuntu 10/11

安裝命令:

安裝PHP5.3版本完成之後要重啟MYSQL

/etc/init.d/mysql start

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

安裝更多附加組件:

安裝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

LLsMP相關管理命令:

創建Litespeed虛擬主機 : 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

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

截止本文發表,最新版本0.6已知的問題:

1.已知部分KVM上的Debian無法安裝LLsMP

cp: cannot create regular file /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

sed: cant read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

sed: cant read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

sed: cant read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

sed: cant read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

原因是Litespeed安裝未成功,expect出現錯誤

待修正

2.安裝LLsMP 的PHP5.3版本登錄phpmyadmin出現#2002錯誤

原因是腳本問題,MySQL未自動重啟,請手動重啟

/etc/init.d/mysql start

3.VPS重啟,而Litespeed和MySQL未隨機啟動

手動設置開機啟動

Debian/Ubuntu:

update-rc.d lsws defaults

update-rc.d mysql defaults

CentOS:

chkconfig –level 345 lsws on

chkconfig –level 345 mysql on

文章來源:微魔部落

發表評論 共有條評論
用戶名: 密碼:
驗證碼: 匿名發表
主站蜘蛛池模板: 锦屏县| 柳州市| 云南省| 青河县| 喀喇沁旗| 济阳县| 澜沧| 杭锦旗| 阿克苏市| 平远县| 渭南市| 新乐市| 托克托县| 桐城市| 寿光市| 平武县| 无棣县| 那曲县| 鹰潭市| 鄂伦春自治旗| 方山县| 彭阳县| 沙坪坝区| 札达县| 内乡县| 军事| 德保县| 吕梁市| 邢台市| 金门县| 郁南县| 个旧市| 伊春市| 武夷山市| 惠东县| 宜都市| 汝州市| 西乌| 吉安市| 灵武市| 营口市|