Skip to content

Latest commit

 

History

History

LNMP

Linux Nignx MySQL PHP

LNMP Environment Building

INSTALLATION

Select your Linux distribution to download and execute the installer as below:

You can download the installer by wget installer-url -O installer and make it executable by $ chmod +x ./installer then $ ./installer.

Ubuntu 22.04 LTS

Nginx: 1.18.0
PHP: 8.1 PHP: 7.4 (Optional)
PHP: 5.6 (Optional)
MySQL: 8.0 (Optional)

PhpMyAdmin (Optional) is installed at /var/www/html/phpmyadmin and can be accessed via http://yourhost/phpmyadmin.

$ sudo bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu22.04.sh)

Ubuntu 20.04 LTS

Nginx: 1.18.0
PHP: 7.4
PHP: 7.3 (Optional)
PHP: 5.6 (Optional)
MySQL: 8.0 (Optional)

PhpMyAdmin (Optional) is installed at /var/www/html/phpmyadmin and can be accessed via http://yourhost/phpmyadmin.

$ sudo bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu20.04.sh)

Ubuntu 18.04 LTS

Nginx: 1.14.0
PHP: 7.2
PHP: 7.3 (Optional)
PHP: 7.0 (Optional)
PHP: 5.6 (Optional)
MySQL: 5.7.25 (Optional)

PhpMyAdmin (Optional) is installed at /var/www/html/phpmyadmin and can be accessed via http://yourhost/phpmyadmin.

$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu18.04.sh)

Ubuntu 16.04 LTS

Nginx: 1.10.3
PHP: 7.0
PHP: 5.6 (Optional)
MySQL: 5.7.25 (Optional)

PhpMyAdmin (Optional) is installed at /var/www/html/phpmyadmin and can be accessed via http://yourhost/phpmyadmin.

$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu16.04.sh)

Centos 7.6

Nginx: 1.16.1
PHP: 7.0
PHP: 7.1 (Optional)
PHP: 7.2 (Optional)
PHP: 7.3 (Optional) PHP: 5.6 (Optional)
MySQL: 5.6.47 (Optional)

PhpMyAdmin (Optional) is installed at /usr/share/nginx/html/phpmyadmin and can be accessed via http://yourhost/phpmyadmin.

$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/centos7.6.sh)