If applicable, open port 10000 on your server firewall.
Then create a new server block file in /etc/nginx/conf.d/ directory. If you prefer to use Nginx web server, then follow the instructions below to set up reverse proxy. Now you can remotely access Webmin by entering the domain name ( ) in browser address bar. sudo setsebool -P httpd_can_network_connect 1 sudo systemctl reload httpdīy default, SELinux forbids Apache to make network requests to other servers, but later Apache needs to forward HTTP requests to 127.0.0.1:10000, so we need to tell SELinux to allow Apache with the following command. Reload Apache for the changes to take effect. Replace with your actual domain name and don’t forget to create DNS A record for it. sudo nano /etc/httpd/conf.d/nfĪdd the following texts into the file. Then create a virtual host file for Webmin. If you prefer to use Apache web server, then follow the instructions below to set up reverse proxy. The price is low and they give whois privacy protection free for life. If you don’t have a real domain name, I recommend going to NameCheap to buy one.
This also allows you to obtain and install a valid Let’s Encrypt TLS certificate for Webmin. If you install Webmin on a production server, you might want to set up reverse proxy with Apache or Nginx so that you can use a domain name to access the Webmin interface without specifying the port number (10000). Then select navigation menu options and set the color palette.
If you don’t like the default color on the navigation menu, you can change it to a different color by clicking the theme configuration icon on the bottom of the navigation menu, Now you will be presented with Webmin login screen. If you are using Google Chrome, you can click Advanced -> Proceed. Now you can access the web-based control panel via your-server-ip:10000īecause it’s running in HTTPS mode and using a self-signed TLS certificate, so you will be told by the browser that the connection is not secure.īut you know this is your own server, so simply click the Advanced tab in Firefox and add exception. sudo firewall-cmd -permanent -add-port=10000/tcp Webmin server listens on port 10000, so you need to open TCP port 10000 in the firewall. If you see the “ Unit rvice could not be found” error, then you need to restart your server. If it’s not running, you can start it with: sudo systemctl start webmin Hint: If the above command doesn’t quit immediately, you can press the Q key to gain back control of the terminal. Once installed, the Wemin built-in web server will automatically start as can be seen by running the systemctl command below: systemctl status webmin Now we can update repository and install Webmin. Then import it with: sudo rpm -import jcameron-key.asc Next, we need to run the following command to download and import Webmin PGP signing key so that the package manager can verify the integrity of packages downloaded from Webmin repository. To save the file in Nano text editor, press CTRL+O, then press Enter to confirm. sudo dnf install nanoĪdd the following lines in the file. To add Webmin repository, create a repository file with a command-line text editor such as Nano. It’s recommended to install Webmin from its official repository so that you can always get the latest version.
Webmin isn’t in CentOS/RHEL software repository. At the time of this writing, the latest stable version available is 1.970, which was released on January 6, 2021. Install Webmin on CentOS 8/RHEL 8 From Webmin Repository
Edit package repositories, schedule automatic software updates and receive update reports via email.Postfix SMTP server and Dovecot IMAP/POP3 server.BIND DNS resolver and authoritative DNS server.The following is a list of functionalities provided by Webmin. If you don’t like the idea of using the command line to manage your server, then Webmin is a good graphical alternative to you. Webmin provides users with a graphical web-based user interface to configure common system tasks and settings.
This tutorial will be showing you how to install Webmin on CentOS 8/RHEL 8 server. Webmin is a free and open-source control panel for administering Unix/Linux servers.