Webmin Installation 24.04LTS: Difference between revisions
Jump to navigation
Jump to search
(Created blank page) |
No edit summary |
||
(3 intermediate revisions by 2 users not shown) | |||
Line 1: | Line 1: | ||
Download and save the Webmin repository signing key: | |||
curl -fsSL https://download.webmin.com/developers-key.asc | gpg --dearmor -o /etc/apt/keyrings/ubuntu-webmin-developers.gpg | |||
Add the Webmin repository in /etc/apt/sources.list.d/webmin.list: | |||
deb [signed-by=/etc/apt/keyrings/ubuntu-webmin-developers.gpg] https://download.webmin.com/download/newkey/repository stable contrib | |||
Update the repositories and install the package: | |||
apt update | |||
apt install webmin zip libauthen-oath-perl | |||
Allow unattended updates from this repository by add to /etc/apt/apt.conf.d/50unattended-upgrades: | |||
<pre> | |||
Unattended-Upgrade::Allowed-Origins { | |||
// Append to end of existing entries | |||
"Jamie Cameron:stable"; | |||
}; | |||
</pre> | |||
Update Apache configuration file /etc/apache2/sites-available/solaris.conf and add: | |||
<pre> | |||
<IfModule mod_ssl.c> | |||
<VirtualHost *:443> | |||
ProxyRequests Off | |||
<Location /webmin> | |||
ProxyPass https://localhost:10000 | |||
ProxyPassReverse https://localhost:10000 | |||
</Location> | |||
<Proxy "https://localhost:10000"> | |||
SSLProxyEngine on | |||
SSLProxyCheckPeerCN off | |||
SSLProxyCheckPeerName off | |||
</Proxy> | |||
</VirtualHost> | |||
</IfModule> | |||
</pre> | |||
Edit /etc/webmin/config to include: | |||
<pre> | |||
webprefix=/webmin | |||
webprefixnoredir=1 | |||
referer=solaris.scottworld.net | |||
</pre> | |||
Enable the updates and restart the services: | |||
<pre> | |||
a2enmod proxy | |||
a2enmod proxy_http | |||
systemctl restart webmin.service | |||
systemctl restart apache2.service | |||
</pre> | |||
Access the web page via: | |||
https://solaris.scottworld.net/webmin |
Latest revision as of 19:25, 19 March 2024
Download and save the Webmin repository signing key:
curl -fsSL https://download.webmin.com/developers-key.asc | gpg --dearmor -o /etc/apt/keyrings/ubuntu-webmin-developers.gpg
Add the Webmin repository in /etc/apt/sources.list.d/webmin.list:
deb [signed-by=/etc/apt/keyrings/ubuntu-webmin-developers.gpg] https://download.webmin.com/download/newkey/repository stable contrib
Update the repositories and install the package:
apt update apt install webmin zip libauthen-oath-perl
Allow unattended updates from this repository by add to /etc/apt/apt.conf.d/50unattended-upgrades:
Unattended-Upgrade::Allowed-Origins { // Append to end of existing entries "Jamie Cameron:stable"; };
Update Apache configuration file /etc/apache2/sites-available/solaris.conf and add:
<IfModule mod_ssl.c> <VirtualHost *:443> ProxyRequests Off <Location /webmin> ProxyPass https://localhost:10000 ProxyPassReverse https://localhost:10000 </Location> <Proxy "https://localhost:10000"> SSLProxyEngine on SSLProxyCheckPeerCN off SSLProxyCheckPeerName off </Proxy> </VirtualHost> </IfModule>
Edit /etc/webmin/config to include:
webprefix=/webmin webprefixnoredir=1 referer=solaris.scottworld.net
Enable the updates and restart the services:
a2enmod proxy a2enmod proxy_http systemctl restart webmin.service systemctl restart apache2.service
Access the web page via:
https://solaris.scottworld.net/webmin