LLsMP one-click installation package and related tutorials Linux + LiteSpeed + MySQL + PHP

Source: Internet
Author: User
Tags litespeed ioncube

As the name suggests, LLsMP is a Web environment for Linux + LiteSpeed + MySQL + PHP. I believe that you may be more familiar with LNMP. You may be familiar with LNMP. After all, you are new to LLsMP, so it is not convenient to talk about it. But from the existing information, LiteSpeed has a strong load capacity, resource usage is extremely low, and. the rewrite rules supported by htaccess are also very good, which is also a major defect of Nginx. Many pseudo-static rules need to be completed by themselves...

Install LLsMP

Supported platforms: CentOS 5/6, Debian 5/6, and Ubuntu 10/11

Installation command:

Restart MYSQL after PHP5.3 is installed.

/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

Install more additional components:
  • Install eAccelerator: sh/root/llsmp/eaccelerator. sh
  • Install Zend Optimizer: sh/root/llsmp/zend_optimizer.sh
  • Install ionCube Loader: sh/root/llsmp/ioncube. sh
  • Install Google secure Mace Tools: sh/root/llsmp/perftools. sh
  • Install FTP (vsftpd): sh/root/llsmp/vsftpd. sh
  • Install Nginx front-end: sh/root/llsmp/nginx. sh
LLsMP related management commands:
  • Create Litespeed VM: sh/root/llsmp/vhost. sh
  • Add an FTP account: sh/root/llsmp/vsftpd. sh
  • Important! VM permission modification: chown-R nobody: nobody/home/wwwroot/Domain Name/html
  • Create an Nginx VM: sh/root/llsmp/nginx. sh
  • Backup command: sh/root/llsmp/backup. sh
  • Restart Litespeed:/etc/init. d/lsws restart
  • Restart MySQL:/etc/init. d/mysql (d) restart
  • Restart Nginx:/etc/init. d/nginx restart
Common LLsMP directories:
  • Litespeed admin Background: http: // {ip}: 7080
  • PhpMyAdmin: http: // {ip}/phpmyadmin/
  • Php. ini Directory:/usr/local/lsws/lsphp5/lib/php. ini
  • MySQL configuration file my. cnf:/etc/my. cnf (Centos) |/etc/mysql/my. cnf (Debian/Ubuntu)
  • Nginx configuration Directory:/etc/nginx. conf and/etc/nginx/conf. d/
  • VM Directory:/home/wwwroot
  • LLsMP Installation log:/root/llsmp/install. log
As of this article, the latest version 0.6 has known issues:

1. It is known that LLsMP cannot be installed on Debian on some KVM instances.

cp: cannot create regular file `/usr/local/lsws/DEFAULT/html/installlog.html': No such file or directorysed: can't read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directorysed: can't read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directorysed: can't read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directorysed: can't read /usr/local/lsws/DEFAULT/html/installlog.html: No such file or directory

The reason is that the installation of Litespeed is not successful and the secondary CT has an error.


To be corrected

2. The #2002 error occurred when logging on to phpmyadmin in PHP5.3 with LLsMP installed.

The cause is a script problem. MySQL does not restart automatically. Please restart it manually.

/Etc/init. d/mysql start

3. VPS restart, while Litespeed and MySQL are not started at random

Manually set startup

Debian/Ubuntu:

Update-rc.d lsws defaults

Update-rc.d mysql ults

CentOS:

Chkconfig-level 345 lsws on

Chkconfig-level 345 mysql on

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.