A key to install Linux environment LNMP

A key to install Linux environment LNMP


 

Official Address: https://lnmp.org/ .

Reference installation steps: https://lnmp.org/install.html .

One-click installation you can select mysql version, php version, more convenient, feel good.

(1) download:

Wget Http: // Softkwpsserknet/lnmp/lnmplk6ktrkgsh -cO Lnmplk6ktrkgsh

(2) extracting:

tar zxf lnmp1. 6 . tar .gz

(3) Installation (may be slow, need to be patient, the virtual machine when tested 50 minutes):

cd lnmp1.6
./install.sh lnmp

(4) Management:

  1, lnmp start, stop, reload, restart, kill, state

lnmp {start|stop|reload|restart|kill|status}

  2, each program lnmp management:

lnmp {nginx|mysql|mariadb|php-fpm|pureftpd} {start|stop|reload|restart|kill|status}

(5) the default path:

Web directory default: / home / wwwroot / default /
Nginx directory: / usr / local / nginx /
MySQL directory: / usr / local / MySQL /
PHP directory: / usr / local / PHP /
PHPMyAdmin directory: / home / wwwroot / default / phpmyadmin /
Nginx master configuration (the default virtual host) file: /usr/local/nginx/conf/nginx.conf
add a virtual host configuration file: / usr / local / nginx / conf / vhost / domain Name .conf
MySQL configuration file : /etc/my.cnf
PHP configuration file: /usr/local/php/etc/php.ini
PHP-FPM profile: /usr/local/php/etc/php-fpm.conf


 

Guess you like

Origin www.cnblogs.com/gyfluck/p/11274867.html