LNMP Environment Building
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
.
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 viahttp://yourhost/phpmyadmin
.
$ sudo bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu22.04.sh)
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 viahttp://yourhost/phpmyadmin
.
$ sudo bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu20.04.sh)
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 viahttp://yourhost/phpmyadmin
.
$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu18.04.sh)
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 viahttp://yourhost/phpmyadmin
.
$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/ubuntu16.04.sh)
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 viahttp://yourhost/phpmyadmin
.
$ bash <(wget -qO- https://raw.githubusercontent.com/yidas/server-installers/master/LNMP/centos7.6.sh)