
- #Install webmin on ubuntu how to#
- #Install webmin on ubuntu install#
- #Install webmin on ubuntu update#
#Install webmin on ubuntu install#
Install the latest version of Webmin by typing: sudo apt install webmin Next, import the Webmin GPG key using the following wget commandĪnd enable the Webmin repository by typing: sudo add-apt-repository "deb sarge contrib"
#Install webmin on ubuntu update#
Start by updating the packages list and installing the dependencies: sudo apt update sudo apt install software-properties-common apt-transport-https wget Perform the following steps to install Webmin on Ubuntu: The easiest and recommended way to install Webmin on Ubuntu machines is to enable the Webmin repository and install the Webmin package through the command line. Prerequisites #īefore continuing with this tutorial, make sure you are logged in as root or user with sudo privileges The same instructions apply for Ubuntu 16.04.
#Install webmin on ubuntu how to#
In this tutorial, we will show you how to install Webmin on an Ubuntu 18.04 server. Webmin allows you to manage users, groups, disk quotas as well as configure most popular services including web, FTP, email and database servers. Now you have successfully enabled and setup Webmin.Is an open-source web control panel for system administration for Linux/UNIX. Redirecting vhost in /etc/apache2/sites-enabled/your_nf to ssl vhost in /etc/apache2/sites-available/your_nf Plugins selected: Authenticator apache, Installer apacheĬreated an SSL vhost at /etc/apache2/sites-available/your_nfĭeploying Certificate to VirtualHost /etc/apache2/sites-available/your_nfĮnabling available site: /etc/apache2/sites-available/your_nf Saving debug log to /var/log/letsencrypt/letsencrypt.log Next, Tell Certbot to generate a TLS/SSL certificate for your domain and configure Apache to redirect traffic to the secured site: sudo certbot -apache -email your_email -d your_domain -agree-tos -redirect -noninteractive

Now you need to configure a certificate so that your connection is encrypted while using Webmin. Note: You should not log in to Webmin, as we haven’t enabled SSL. Visit in your browser, and you will see the Webmin login page in front of you. Now, it’s time to restart Apache completely: sudo systemctl restart apache2 To activate the new configuration, you need to run: systemctl reload apache2 Now you’ll see the following output informing that your site is enabled: Output The output stells to restart Apache, but at first, you need to activate the virtual host which you created: sudo a2ensite your_domain To activate the new configuration, you need to run: systemctl restart apache2

Then enable Apache’s proxy_http module: sudo a2enmod proxy_httpĪfter enabling you’ll see the following output: OutputĬonsidering dependency proxy for proxy_http: Next, you need to restart Webmin: sudo systemctl restart webmin Now add the following line at the bottom replacing your-domain with original domain: Open the file /etc/webmin/config in your editor: sudo nano /etc/webmin/config Now, we need to add our domain in the list of allowed domain: Open the file /etc/webmin/nf in your editor: sudo nano /etc/webmin/nfĬhange 1 to 0 and it will stop Webmin from using SSL: Next, we need to aware Webmin to stop using SSL as Apache will provide SSL afterward: ProxyPass / ProxyPassReverse / Now Save the file and exit the editor. etc/apache2/sites-available/your_nf ServerAdmin your_email Now add the following line but replace the email address and domain of your own: To access Webmin, you need to specify port 10000 and make sure that the port is open on your firewall.įirst, you need to create a new Apache virtual host file in the Apache’s configuration directory: sudo nano /etc/apache2/sites-available/your_nf Now, to secure access to Webmin we need to put Apache web server and add an SSL certificate.

Now, let’s secure access to Webmin by putting it behind the Apache web server and adding a valid TLS/SSL certificate. Root password, or as any user who can use `sudo`. Now install Webmin: sudo apt install webminĪfter successfully installing it, You will see the following output, Output Next, to include the Webmin Repository, update the list of packages. Next, for letting our system to trust the new Repository, we need to add the Webmin PGP key. Now you have to just Save the file and exit the editor. Now add this line at the bottom of the file to add the new repository: Now Open the file in your editor: sudo nano /etc/apt/sources.list

You can do it by simply adding the Repository to /etc/apt/sources.list file.
