How to Install Webmin on Arch Linux

Webmin is a web-based administration tool that allows you to manage user accounts, Apache web server, DNS server, and much more. In this tutorial, we will guide you on how to install Webmin on Arch Linux.

Prerequisites

Step 1: Add Webmin Repository

First, we need to add the Webmin repository to Arch Linux. To do so, we will create a new file named webmin.repo in the /etc/pacman.d/ directory using the following command:

sudo nano /etc/pacman.d/webmin.repo

Then, paste the following lines to the file:

[webmin]
Server=https://download.webmin.com/download/repository

Save and close the file.

Step 2: Import GPG Key

Next, we need to import the GPG key for the new repository. Use the following command to download and import the key:

sudo pacman-key --init
sudo pacman-key --add /etc/pacman.d/webmin.gpg
sudo pacman-key --lsign-key 5D5A2B5D5D5A2B5D

Step 3: Update Package List

After adding the Webmin repository, run the following command to update the package list of Arch Linux:

sudo pacman -Syu

Step 4: Install Webmin

Now, we can install the Webmin package and all its dependencies using the following command:

sudo pacman -S webmin

Step 5: Configure Firewall

By default, the Arch Linux firewall does not allow incoming connections to Webmin. We need to allow incoming connections on port 10000. Run the following command to create a new firewall rule:

sudo firewall-cmd --zone=public --add-port=10000/tcp --permanent
sudo firewall-cmd --reload

Step 6: Access Webmin Web Interface

After completing the installation and configuration, open your web browser and go to https://YOUR_SERVER_IP:10000. Replace YOUR_SERVER_IP with your server's IP address. You should see the Webmin login screen.

Enter the root username and your root password to log in. Once you are logged in, you can start configuring your server using the various Webmin modules.

Congratulations! You have successfully installed Webmin on Arch Linux.

If you want to self-host in an easy, hands free way, need an external IP address, or simply want your data in your own hands, give IPv6.rs a try!