How to Install Webmin on Ubuntu

Introduction

Webmin is a web-based system administration tool for Linux-based systems. It provides a graphical user interface (GUI) for system administrators to manage their servers and applications. Webmin is an open source software and can be installed on any Linux-based operating system, including Ubuntu. In this guide, we will show you how to install Webmin on Ubuntu. We will also cover how to configure Webmin and how to access it from a web browser.

How to Install Webmin on Ubuntu

1. Update your system:

sudo apt-get update

2. Install the Webmin repository:

sudo apt-get install software-properties-common

sudo add-apt-repository ppa:webupd8team/webmin

3. Install Webmin:

sudo apt-get update

sudo apt-get install webmin

4. Access Webmin:

Once the installation is complete, you can access Webmin by visiting https://your_server_ip:10000 in your web browser. You will be prompted for the username and password you created during the installation.
[ad_1]

Introduction

Webmin is a web-based tool admins use to manage Linux and Unix systems and servers. The Webmin dashboard allows you to manage user accounts, update and configure your system, view system logs and emails, and perform other administrative tasks.

In this tutorial, we will show you the step-by-step process of installing, configuring, and logging into Webmin on Ubuntu 18.04 and 20.04.

How to install Webmin on Ubuntu

Prerequisites

Install Webmin on Ubuntu 20.04 – Step-by-Step

Follow the steps outlined below to install Webmin on Ubuntu. These steps work for both Ubuntu 18.04. (Bionic Beaver) and Ubuntu 20.04. (Focal Fossa).

Step 1: Update Ubuntu Package List

1. In the terminal, run the following command to update the package list:

sudo apt update

2. When prompted, enter your administrator password and press Enter.

3. Install the update packages with:

sudo apt upgrade

4. Type Y and press Enter to confirm the update.

Type Y and press Enter to confirm Ubuntu update

5. Install dependency packages to help you manage software repositories by using:

sudo apt install software-properties-common apt-transport-https

6. Type Y and press Enter when prompted to confirm the installation.

Step 2: Enable Webmin Repository

1. Add Webmin’s GPG key with:

sudo wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -
Add Webmin's GPG key

2. Manually add the Webmin repository using:

sudo add-apt-repository "deb [arch=amd64] http://download.webmin.com/download/repository sarge contrib"
Manually add the Webmin repository

Step 3: Install Webmin on Ubuntu

1. Start the Webmin installation using:

sudo apt install webmin

2. When prompted, type Y and press Enter to confirm the installation.

Type Y and press Enter to confirm Webmin installation

3. Once the installation is complete, check the status of the Webmin service:

sudo systemctl status webmin
Check the status of the Webmin service to confirm installation

Another method to confirm the installation is successful is to check the installed version of Webmin:

dpkg -l | grep webmin
Check Webmin version to confirm installation

Step 4: Configure the Firewall

1. Webmin uses the TCP port 10000 by default. Open this port on your firewall by using:

sudo ufw allow 10000/tcp
Open port 10000 on your firewall

2. Reload your firewall for the changes to take effect:

sudo ufw reload
Reload your firewall

Note: The firewall is disabled on Ubuntu by default. If your system’s firewall is disabled, enable it with sudo ufw enable.

3. Check the status of your firewall to confirm the changes:

sudo ufw status
Check the status of your firewall

Step 5: Access Webmin on Ubuntu

1. Set the password for the Webmin root user with:

sudo /usr/share/webmin/changepass.pl /etc/webmin root [new password]

Note: Setting up a new password this way only works for existing users. You can’t use this method to set up new users.

2. Open your Internet browser and enter the following as a web address using your server’s IP:

https://[your server's IP]:10000/

You can use local or remote server’s IP address.

Note: If you still haven’t set up a server for Webmin to manage, PhoenixNAP offers a choice of Bare Metal Cloud servers featuring high availability and performance. Start setting up your servers for as little as $0.10/hour!

3. Webmin generates its own SSL certificate not recognized by the browser, which causes a page indicating a potential security risk the first time you try to log in.

Potential security risk warning

To get through this page, click Advanced…, then Accept the Risk and Continue.

Get around the security risk warning by clicking Advanced, then Accept the Risk and Continue

4. Log in using the default username root and the password you set up.

Logging into Webmin online dashboard

5. Use the Webmin dashboard to review your system information.

An example of a Webmin dashboard

Conclusion

Now you know how to install Webmin on Ubuntu 18.04 or 20.04 After following this tutorial, you should have a fully functioning copy of Webmin set up and ready to use.

[ad_2]

How to Install Webmin on Ubuntu

Webmin is a web-based system configuration tool for Unix-like systems, including Ubuntu. It allows you to manage your server through a web-based interface, making it easier to configure and maintain your server. In this tutorial, we will show you how to install Webmin on Ubuntu.

Prerequisites

  • A server running Ubuntu 18.04.
  • A root user or a user with sudo privileges.

Step 1: Update the System

Before starting, it is recommended to update the system packages to the latest version. You can do this by running the following command:

sudo apt update
sudo apt upgrade

Step 2: Install Webmin

Webmin is not available in the official Ubuntu repositories. So, you will need to add the Webmin repository to your system. You can do this by running the following command:

echo "deb http://download.webmin.com/download/repository sarge contrib" | sudo tee /etc/apt/sources.list.d/webmin.list

Next, you will need to add the Webmin GPG key to your system. You can do this by running the following command:

wget -q http://www.webmin.com/jcameron-key.asc -O- | sudo apt-key add -

Once the repository and GPG key are added, you can install Webmin by running the following command:

sudo apt update
sudo apt install webmin

Step 3: Access Webmin

Once the installation is completed, you can access the Webmin interface by typing the URL http://your-server-ip:10000 in your web browser. You will be redirected to the Webmin login page:

Enter your root username and password to log in to the Webmin interface. Once logged in, you will be able to manage your server through the Webmin interface.

Conclusion

In this tutorial, we have shown you how to install Webmin on Ubuntu. You can now use the Webmin interface to manage your server.

Jaspreet Singh Ghuman

Jaspreet Singh Ghuman

Jassweb.com/

Passionate Professional Blogger, Freelancer, WordPress Enthusiast, Digital Marketer, Web Developer, Server Operator, Networking Expert. Empowering online presence with diverse skills.

jassweb logo

Jassweb always keeps its services up-to-date with the latest trends in the market, providing its customers all over the world with high-end and easily extensible internet, intranet, and extranet products.

GSTIN is 03EGRPS4248R1ZD.

Contact
Jassweb, Rai Chak, Punjab, India. 143518
Item added to cart.
0 items - 0.00