Webmin (Linux)

Aus Tutorials
Zur Navigation springen Zur Suche springen

Noch in Bearbeitung


Installation

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Unter https://sourceforge.net/projects/webadmin/files/webmin/ die aktuellste Version suchen und folgendermassen installieren:

wget http://prdownloads.sourceforge.net/webadmin/webmin_1.791_all.deb
sudo dpkg --install webmin_1.791_all.deb

Bei mir gab es Probleme mit nicht kompatiblen Abhängigkeiten, welche durch folgendes Kommando behoben wurde:

sudo apt-get install --fix-broken
https://<ip address>:10000

Login ohne Portangabe

sudo nano /etc/webmin/miniserv.conf
ssl=0
sudo nano sudo nano /etc/webmin/config 

Am Ende folgende Zeile hinzufügen:

referers=webmin.<domain>

Ohne SSL (unsicher)

<VirtualHost *:80>
        ServerName webmin.<domain>
        ProxyPreserveHost On
        ProxyRequests Off
        ProxyVia Off
        ProxyPass / http://127.0.0.1:10000/
        ProxyPassReverse / http://127.0.0.1:10000/

        ErrorLog ${APACHE_LOG_DIR}/webmin.<domain>-error.log
        CustomLog ${APACHE_LOG_DIR}/webmin.<domain>-access.log combined
</VirtualHost>

Mit SSL (empfohlen)

<VirtualHost *:80>
        ServerName webmin.<domain>
        ServerAlias webmin.<domain>
        Redirect / https://webmin.<domain>
</VirtualHost>
<VirtualHost *:443>
        ServerName webmin.<domain>

        SSLEngine on
        SSLCertificateFile /etc/ssl/certs/webmin.crt
        SSLCertificateKeyFile /etc/ssl/private/webmin.key

        ProxyPreserveHost On
        ProxyRequests Off
        ProxyVia Off
        ProxyPass / http://127.0.0.1:10000/
        ProxyPassReverse / http://127.0.0.1:10000/

        ErrorLog ${APACHE_LOG_DIR}/webmin.<domain>-error.log
        CustomLog ${APACHE_LOG_DIR}/webmin.<domain>-access.log combined
</VirtualHost>

Links

http://www.webmin.com/deb.html


Zurück zu Ubuntu