Meine kleine Dokumentation

Die Installationsdokumentation zu MeineKleineFarm.net

Benutzer-Werkzeuge

Webseiten-Werkzeuge


linux_dash
startSectionEdit: $data "section" is NOT an array! One of your plugins needs an update.

Linux Dash

Quellen:

mkdir -p /var/www/html/meinekleinefarm.net/dash/
 
git clone --depth 1 https://github.com/linux-dash/linux-dash.git /var/www/html/meinekleinefarm.net/dash/
  • Cloning into 'dash'...
    remote: Counting objects: 78, done.
    remote: Compressing objects: 100% (71/71), done.
    remote: Total 78 (delta 5), reused 48 (delta 3), pack-reused 0
    Unpacking objects: 100% (78/78), done.
    Checking connectivity... done.
chown www-data:www-data -R /var/www/html/

Das Monitoring Dashboard über Apache2 Basic Authentication absichern.

htpasswd -B -c /etc/apache2/.htpasswd demo-user
New password:
Re-type new password:
Adding password for user demo-user
 
htpasswd -B /etc/apache2/.htpasswd demo-user2
New password:
Re-type new password:
Adding password for user demo-user2
nano /etc/apache2/sites-available/dash.meinekleinefarm.net.conf

dash.meinekleinefarm.net.conf

dash.meinekleinefarm.net.conf

dash.meinekleinefarm.net.conf
<VirtualHost *:80>
        ServerName dash.meinekleinefarm.net
        Redirect permanent / https://dash.meinekleinefarm.net/
</VirtualHost>
 
<IfModule mod_ssl.c>
        <VirtualHost *:443>
                ServerAdmin webmaster@meinekleinefarm.net
                ServerName dash.meinekleinefarm.net
                ServerAlias dash.meinekleinefarm.net
 
                DocumentRoot /var/www/html/meinekleinefarm.net/dash/app/
 
                <Directory /var/www/html/meinekleinefarm.net/dash/app/>
                        AuthType Basic
                        AuthName "Linux Dash 2.0"
                        AuthUserFile /etc/apache2/.htpasswd
                        Require valid-user
 
                        AllowOverride All
                </Directory>
 
                ErrorLog ${APACHE_LOG_DIR}/error.log
                CustomLog ${APACHE_LOG_DIR}/access.log combined
 
                SSLEngine on
                SSLCertificateFile      /etc/letsencrypt/live/meinekleinefarm.net/fullchain.pem
                SSLCertificateKeyFile   /etc/letsencrypt/live/meinekleinefarm.net/privkey.pem
 
                <FilesMatch "\.(cgi|shtml|phtml|php)$">
                                SSLOptions +StdEnvVars
                </FilesMatch>
                <Directory /usr/lib/cgi-bin>
                                SSLOptions +StdEnvVars
                </Directory>
 
                BrowserMatch "MSIE [2-6]" \
                                nokeepalive ssl-unclean-shutdown \
                                downgrade-1.0 force-response-1.0
                BrowserMatch "MSIE [17-9]" ssl-unclean-shutdown
        </VirtualHost>
</IfModule>
a2ensite dash.meinekleinefarm.net.conf
service apache2 reload
linux_dash.txt · Zuletzt geändert: 2016/11/09 20:56 von xenadmin