Webmin Installation 24.04LTS: Difference between revisions
Jump to navigation
Jump to search
No edit summary |
No edit summary |
||
Line 19: | Line 19: | ||
}; | }; | ||
</pre> | </pre> | ||
Update Apache configuration file /etc/apache2/sites-available/ | Update Apache configuration file /etc/apache2/sites-available/solaris.conf and add: | ||
<pre> | <pre> | ||
<IfModule mod_ssl.c> | <IfModule mod_ssl.c> | ||
Line 43: | Line 43: | ||
webprefix=/webmin | webprefix=/webmin | ||
webprefixnoredir=1 | webprefixnoredir=1 | ||
referer= | referer=solaris.scottworld.net | ||
</pre> | </pre> | ||
Enable the updates and restart the services: | Enable the updates and restart the services: |
Revision as of 19:21, 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://www.example.net/webmin