L2MP WiKi Installation Guides

L2MP web stack (Linux, LiteSpeed, MariaDB, PHP) for Centos 6

ZIP file L2MP.zip is script shell based command line control panel to setup LiteSpeed server on Centos Linux distribution for HTML, PHP, MySQL, WordPress, Joomla, etc sites.

L2MP is a Linux, LiteSpeed, MariaDB MySQL and PHP (LSAPI) web stack for CentOS, it's a shell menu based installer that allows LiteSpeed and PHP version management setting up LiteSpeed vhosts etc.


LiteSpeed Web Server (LSWS) is a high-performance Apache drop-in replacement. LSWS is the 4th most popular web server on the internet and the #1 commercial web server. Upgrading your web server to LiteSpeed Web Server will improve your performance and lower operating costs.

MySQL or MariaDB

MySQL is the world's most popular open source database. With its proven performance, reliability and ease-of-use, MySQL has become the leading database choice for web-based applications, used by high profile web properties including Facebook, Twitter, YouTube, Yahoo! and many more.
Oracle drives MySQL innovation, delivering new capabilities to power next generation web, cloud, mobile and embedded applications.
MariaDB is a drop-in replacement for MySQL.
MariaDB strives to be the logical choice for database professionals looking for a robust, scalable, and reliable SQL server. To accomplish this, the MariaDB Foundation work closely and cooperatively with the larger community of users and developers in the true spirit of Free and open source software, and release software in a manner that balances predictability with reliability.


PHP LiteSpeed SAPI has been developed to push PHP performance to next level, giving LiteSpeed Web Server better PHP performance than any other popular web server.

CSF Firewall script

CSF is ConfigServer Firewall, an SPI iptables firewall that is straight-forward, easy and flexible to configure and secure with extra checks to ensure smooth operation.

Installing and Using:


yum -y install zip unzip wget
wget https://dl.l2mp.ml/L2MP.zip
unzip L2MP.zip
cd L2MP/
bash install-L2MP.sh


Add more a website: ADDWEB domain.com
Fix permission homedir: FIXHOME
Backup full data /home and MySQL: MOVEFULL backupnow
Restore full data /home and MySQL: MOVEFULL restorenow

Thank you for using!

You may wish to consult the following resources for additional information on this topic. While these are provided in the hope that they will be useful:
The Official CentOS Homepage Download
LiteSpeed Web Server Overview
MySQL vs MariaDB
PHP LSAPI Overview
ConfigServer Firewall (csf) Overview