User Tools

Site Tools


technical:24.04_webmin_installation

24.04 Webmin Installation

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
technical/24.04_webmin_installation.txt · Last modified: 2024/10/12 21:12 by wikiadmin

Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki