docs:servicios:lemp:inicio

LEMP

Instalar un servidor LEMP (probado en Ubuntu 16.04 xenial)

 apt update
 apt -y upgrade
 
 apt -y install mariadb-server
 mysql_secure_installation
 
 apt -y install nginx
 
 apt -y install php-fpm php-mysql
 cgi.fix_pathinfo=0
 index index.php index.html;
 
 location ~ \.php$ {
         include snippets/fastcgi-php.conf;
         # With php7.0-fpm
         fastcgi_pass unix:/run/php/php7.0-fpm.sock;
 }
  • docs/servicios/lemp/inicio.txt
  • Última modificación: 2017/10/02 15:49
  • por 127.0.0.1