Webmin (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 1: | Zeile 1: | ||
{{note|Noch in Bearbeitung}} | |||
== Installation == | == Installation == | ||
Zeile 17: | Zeile 20: | ||
</pre> | </pre> | ||
<pre> | |||
https://<ip address>:10000 | |||
</pre> | |||
== Login ohne Portangabe == | |||
<pre> | <pre> | ||
Zeile 26: | Zeile 34: | ||
</pre> | </pre> | ||
=== Ohne SSL (unsicher) === | |||
<pre> | |||
<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> | |||
</pre> | |||
=== Mit SSL (unsicher) === | |||
<pre> | <pre> | ||
<VirtualHost *:80> | <VirtualHost *:80> | ||
ServerName webmin.<domain> | ServerName webmin.<domain> | ||
ServerAlias webmin.<domain> | |||
Redirect / https://webmin.<domain> | |||
</VirtualHost> | |||
</pre> | |||
<pre> | |||
<VirtualHost *:443> | |||
ServerName webmin.<domain> | |||
SSLEngine on | |||
SSLCertificateFile /etc/ssl/certs/webmin.crt | |||
SSLCertificateKeyFile /etc/ssl/private/webmin.key | |||
ProxyPreserveHost On | ProxyPreserveHost On | ||
ProxyRequests Off | ProxyRequests Off |
Version vom 24. Mai 2016, 20:49 Uhr
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
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 (unsicher)
<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