OpenLXMP Installation Guide

OpenLXMP is a one-click installation package for LNMP and LAMP environments written in Bash shell. Using OpenLXMP, you can easily and quickly install and configure LNMP and LAMP environments.

Installation:

To install the LNMP environment as an example:

wget https://github.com/OpenLXMP/OpenLXMP/archive/main.zip && unzip main.zip && bash OpenLXMP-main/install.sh --lnmp

To install LAMP, replace --lnmp with --lamp.

Additionally, you can add the following parameters: --php_fileinfo, --php_ldap, --php_bz2, --php_sodium, --php_imap. Adding these parameters will enable the corresponding PHP extensions.

You can also modify the openlxmp.conf file to add custom Nginx and PHP compilation parameters, and to modify the default website directory, database directory, and other information.


中文翻译

OpenLXMP是一个使用Bash shell编写的LNMP、LAMP环境的一键安装包。使用OpenLXMP,您可以方便快捷地安装配置LNMP和LAMP环境。

安装:

以安装LNMP环境为例:

wget https://github.com/OpenLXMP/OpenLXMP/archive/main.zip && unzip main.zip && bash OpenLXMP-main/install.sh --lnmp

如安装LAMP将--lnmp替换为--lamp

另外,还有以下参数:--php_fileinfo--php_ldap--php_bz2--php_sodium--php_imap。可以加上这些参数,加上将会开启对应的PHP扩展。

同时也可以修改openlxmp.conf来添加Nginx、PHP自定义编译参数、修改默认网站目录、数据库目录等信息。