User Tools

Site Tools


postgresql_fuer_listmonk

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
postgresql_fuer_listmonk [2024/12/25 13:08] adminpostgresql_fuer_listmonk [2024/12/25 13:34] (current) admin
Line 26: Line 26:
  
 <code>wget https://github.com/knadh/listmonk/releases/download/hier_aktuelle_release_eintragen</code> <code>wget https://github.com/knadh/listmonk/releases/download/hier_aktuelle_release_eintragen</code>
 +
 +Software entpacken
 +
 +<code>tar xzf datei.tar.gz</code>
 +
 +Listmonk installieren 
 +
 +<code>install -v listmonk /usr/local/bin/</code>
 +
 +Config dir anlegen
 +
 +<code>mkdir /etc/listmonk</code>
 +
 +https://gorbe.io/posts/listmonk/install/
 +
 +<code>
 +  560  nano config.toml 
 +  561  listmonk --install
 +  562  chown -R listmonk:listmonk /etc/listmonk/
 +  563  nano /usr/lib/systemd/system/listmonk.service
 +  564  systemctl daemon-reload
 +  565  systemctl enable --now listmonk.service
 +  566  systemctl status listmonk.service 
 +  567  cd ../nginx/sites-available/
 +  568  ls -la
 +  569  nano webmail 
 +  570  nano listmonk
 +  571  certbot certonly -d list.hardwarepunk.de
 +  572  systemctl stop nginx.service 
 +  573  certbot certonly -d list.hardwarepunk.de
 +  574  systemctl start nginx.service 
 +  575  cd ../
 +  576  cd sites-enabled/
 +  577  ln -s ../sites-available/listmonk 
 +  578  ls -la
 +  579  systemctl restart nginx.service 
 +</code>
 +
 +Nginx config
 +<code>
 +server {
 +        listen 80;
 +        listen [::]:80;
 +        listen 443 ssl http2;
 +        listen [::]:443 ssl http2;
 +
 +        server_name list.domain.tld;
 +
 +        ssl_certificate /etc/letsencrypt/live/list.domain.tld/fullchain.pem;
 +        ssl_certificate_key /etc/letsencrypt/live/list.domain.tld/privkey.pem;
 +
 +        add_header Strict-Transport-Security max-age=15768000;
 +
 +        location / {
 +                proxy_pass http://localhost:9000/;
 +                proxy_set_header Host $host;
 +                proxy_set_header X-Forwarded-For $proxy_add_x_forwarded_for;
 +        }
 +
 +        if ($ssl_protocol = "") {
 +            return 301 https://$server_name$request_uri;
 +        }
 +}
 +</code>
  
postgresql_fuer_listmonk.1735132138.txt.gz · Last modified: 2024/12/25 13:08 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