User Tools

Site Tools


lnmp_mit_debian_10_fuer_wordpress_herrrichten

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revisionPrevious revision
Next revision
Previous revision
Last revisionBoth sides next revision
lnmp_mit_debian_10_fuer_wordpress_herrrichten [2021/08/10 13:18] adminlnmp_mit_debian_10_fuer_wordpress_herrrichten [2021/08/10 13:29] admin
Line 1: Line 1:
 +====== Wordpress Installation auf nacktem VServer bei Hetzner mit Debian 10 ======
 +
 +
     1  apt update     1  apt update
  
Line 35: Line 38:
  
    14  nano /etc/nginx/sites-available/wordpress.conf    14  nano /etc/nginx/sites-available/wordpress.conf
-        <code> 
         server {         server {
          listen 80;          listen 80;
Line 41: Line 43:
          index index.php index.html index.htm;          index index.php index.html index.htm;
          server_name example.com;          server_name example.com;
- 
          access_log /var/log/nginx/wordpress_access.log;          access_log /var/log/nginx/wordpress_access.log;
          error_log /var/log/nginx/wordpress_error.log;          error_log /var/log/nginx/wordpress_error.log;
- 
          client_max_body_size 64M;          client_max_body_size 64M;
- 
          location / {          location / {
          try_files $uri $uri/ /index.php?$args;          try_files $uri $uri/ /index.php?$args;
          }           } 
- 
          location ~ \.php$ {          location ~ \.php$ {
          try_files $uri =404;          try_files $uri =404;
Line 61: Line 59:
          fastcgi_index index.php;          fastcgi_index index.php;
          }          }
- 
          }          }
-        </code> 
  
    15  ln -s /etc/nginx/sites-available/wordpress.conf /etc/nginx/sites-enabled/    15  ln -s /etc/nginx/sites-available/wordpress.conf /etc/nginx/sites-enabled/
- +
    16  systemctl restart nginx.service     16  systemctl restart nginx.service 
- +
    17  systemctl restart php7.3-fpm.service     17  systemctl restart php7.3-fpm.service 
- +
    18  systemctl restart nginx.service     18  systemctl restart nginx.service 
-  + 
lnmp_mit_debian_10_fuer_wordpress_herrrichten.txt · Last modified: 2021/08/10 13:30 by admin

Except where otherwise noted, content on this wiki is licensed under the following license: CC0 1.0 Universal
CC0 1.0 Universal Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki