UUGRN:Services/ascii.uugrn.org: Unterschied zwischen den Versionen

Aus UUGRN
(Die Seite wurde neu angelegt: „<pre> __ ____ ______ __________ ____ _________ _ ASCII / / / / / / / __ `/ ___/ __ \ / __ \/ ___/ __ `/ DRAW _/ /_/ / /_/ / /_/ / / / / / // /_/…“)
 
Keine Bearbeitungszusammenfassung
 
(Eine dazwischenliegende Version desselben Benutzers wird nicht angezeigt)
Zeile 1: Zeile 1:
{{Navigationsleiste Services}}
<pre>
<pre>
         __  ____  ______ __________  ____  _________ _
         __  ____  ______ __________  ____  _________ _
Zeile 11: Zeile 12:


Welcome to {ascii,draw,pad}.uugrn.org
Welcome to {ascii,draw,pad}.uugrn.org
</pre>
== ASCIIFLOW SERVER ==
Asciiflow2 - zeichnen in ASCII.
* Host: '''[https://ascii.uugrn.org ascii.uugrn.org]'''
'''ADMIN:''' sdk (sh+uugrn@uugrn.org)
== INSTALL LOG ==
OS: Debian Buster (10)
Installierte Software
* asciiflow
* nginx
=== Asciiflow installieren ===
<pre>
$ apt-get install closure-compiler
$ cd /data
$ git clone https://github.com/lewish/asciiflow2.git
$ chown -R www-data:www-data asciiflow2
$ cd asciiflow2
$ ./compile.sh
</pre>
Ich habe Asciiflow modifiziert und Referenzen zu Google entfernt.
Ein Diff der Änderungen befindet sich in /data/asciiflow-modifications.diff.
=== NGINX Reverse Proxy installieren ===
War schon installiert (siehe pad.uugrn.org)
<pre>
$ cat /etc/nginx/sites-enabled/asciiflow
server {
        listen      443 ssl;
        server_name  ascii.uugrn.org;
        access_log  /var/log/nginx/ascii.uugrn.org.access.log;
        error_log  /var/log/nginx/ascii.uugrn.org.error.log;
        ssl_certificate /etc/letsencrypt/live/ascii.uugrn.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/ascii.uugrn.org/privkey.pem;
        include /etc/letsencrypt/options-ssl-nginx.conf;
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;
        location / {
                root /data/asciiflow2/;
        }
}
# we're in the http context here
map $http_upgrade $connection_upgrade {
  default upgrade;
  ''      close;
}
server {
    listen      80;
    server_name ascii.uugrn.org;
    rewrite    ^(.*)  https://$server_name$1 permanent;
    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/ascii.uugrn.org/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/ascii.uugrn.org/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot
}
</pre>
=== Letsencrypt einrichten ===
War schon installiert (siehe pad.uugrn.org)
<pre>
$ certbot -d ascii.uugrn.org
<run through wizard>
service nginx reload
</pre>
</pre>

Aktuelle Version vom 1. Juni 2020, 13:44 Uhr

Öffentliche →   • IRC ChatDrawing PadAscii PadText PadVorstand Infoshare  Für Mitglieder →   • Shell AccountUsenet Zugang  Infrastruktur →   • DNS   <edit>

        __  ____  ______ __________   ____  _________ _
ASCII  / / / / / / / __ `/ ___/ __ \ / __ \/ ___/ __ `/
DRAW _/ /_/ / /_/ / /_/ / /  / / / // /_/ / /  / /_/ /
PAD (_)__,_/\__,_/\__, /_/  /_/ /_(_)____/_/   \__, /
         ADMIN:  /____/ sh+admin[at]uugrn.org /____/

 OS: Debian  Version: 10 (Buster)  Architecture: amd64
 CPU: 1x Intel Xeon Processor (Skylake, IBRS)
 SPEED: 2294Mhz  Memory: 1983MB

Welcome to {ascii,draw,pad}.uugrn.org

ASCIIFLOW SERVER[Bearbeiten]

Asciiflow2 - zeichnen in ASCII.

ADMIN: sdk (sh+uugrn@uugrn.org)

INSTALL LOG[Bearbeiten]

OS: Debian Buster (10)

Installierte Software

  • asciiflow
  • nginx

Asciiflow installieren[Bearbeiten]

$ apt-get install closure-compiler
$ cd /data
$ git clone https://github.com/lewish/asciiflow2.git
$ chown -R www-data:www-data asciiflow2
$ cd asciiflow2
$ ./compile.sh

Ich habe Asciiflow modifiziert und Referenzen zu Google entfernt. Ein Diff der Änderungen befindet sich in /data/asciiflow-modifications.diff.

NGINX Reverse Proxy installieren[Bearbeiten]

War schon installiert (siehe pad.uugrn.org)

$ cat /etc/nginx/sites-enabled/asciiflow
server {

        listen       443 ssl;
        server_name  ascii.uugrn.org;

        access_log  /var/log/nginx/ascii.uugrn.org.access.log;
        error_log   /var/log/nginx/ascii.uugrn.org.error.log;

        ssl_certificate /etc/letsencrypt/live/ascii.uugrn.org/fullchain.pem;
        ssl_certificate_key /etc/letsencrypt/live/ascii.uugrn.org/privkey.pem;

        include /etc/letsencrypt/options-ssl-nginx.conf;
        ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem;

        location / {
                root /data/asciiflow2/;
        }
}

# we're in the http context here
map $http_upgrade $connection_upgrade {
  default upgrade;
  ''      close;
}

server {
    listen      80;
    server_name ascii.uugrn.org;
    rewrite     ^(.*)   https://$server_name$1 permanent;

    listen 443 ssl; # managed by Certbot
    ssl_certificate /etc/letsencrypt/live/ascii.uugrn.org/fullchain.pem; # managed by Certbot
    ssl_certificate_key /etc/letsencrypt/live/ascii.uugrn.org/privkey.pem; # managed by Certbot
    include /etc/letsencrypt/options-ssl-nginx.conf; # managed by Certbot
    ssl_dhparam /etc/letsencrypt/ssl-dhparams.pem; # managed by Certbot

}

Letsencrypt einrichten[Bearbeiten]

War schon installiert (siehe pad.uugrn.org)

$ certbot -d ascii.uugrn.org
<run through wizard>
service nginx reload