Few day ago we showed you how to install Webmin on Ubuntu 14.10. This brief tutorial is going to show you how to install the same Webmin on a CentOS 7 machine.

For those who don’t know, Webmin is a web-based tool to mange every aspect of your Unix-like systems. From creating new accounts to managing file permissions to installing applications and services, Webmin allows you to perform all these tasks easily from any modern web browser.

Instead of using the command line console or terminal, new systems administrators could install Webmin and perform all system management from via a web browser without sacrificing time and efforts. Webmin also enables remotely management of your servers.

Before you continue with the installation, please make sure you have root level permissions to your system. If you don’t have root access the installation may fail.

Since Webmin isn’t available in the default CentOS repositories, you must add its repository to your system before installing. To do that, run the commands below to create a repository file for Webmin.

sudo vi /etc/yum.repos.d/webmin.repo

Next, add these lines into the file and save it

 [Webmin]
name=Webmin Distribution Neutral
#baseurl=http://download.webmin.com/download/yum
mirrorlist=http://download.webmin.com/download/yum/mirrorlist
enabled=1

After saving it, run the command below to add the repository key to your system for the repository you just added above. Doing this tells CentOS 7 to also trust the repository and all its packages. A repository without a valid key may not be used to install packages on CentOS 7 machines.

 cd /tmp && wget http://www.webmin.com/jcameron-key.asc
rpm --import jcameron-key.asc

Next, run the commands below to install Webmin.

sudo yum install webmin

Next, run the commands below to enable Webmin to always start up when your system reboots or restarted.

sudo chkconfig webmin on

Then run the commands below to start Webmin

sudo service webmin start

After installing Webmin, open any modern browser and browse to the server via its hostname or IP address followed by :10000 (example:  http://server_IP:10000)

You should see a logon page for Webmin. At this point, use your server credentials to sign on.

If you don’t see the logon page or if you get a 404 page, then make sure the firewall has an opening for web traffic. If not, run the commands below to allow HTTP traffic.

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

That’s it! Webmin is installed and ready to sue. Browse around and take notes of all the links on the right.

The System Information page shows you the overall system’s resources and other information. You can also view available updates from this page. Again, you can manage almost every aspect of your system from Webmin.

To create user, go to the Users and Groups page. There you’ll be able to easily create and manage user accounts.

So, look around and explore the various features and services that are available through Webmin and begin setting up and customizing your systems.

There are many functions available through Webmin.. from restart servers and servers to managing services and VPN to using CD burner and printers and more. It’s just a wonderful software to have installed.

Enjoy!

 

Frequently Asked Questions

How can I install Webmin on CentOS 7?

To install Webmin on CentOS 7, you need to add the Webmin repository, import the repository key, and then install Webmin using the 'yum install webmin' command.

What is Webmin and what can it be used for?

Webmin is a web-based tool for managing Unix-like systems. It allows users to create accounts, manage file permissions, install applications, and perform system management tasks via a web browser.

Can Webmin be used for remote server management?

Yes, Webmin enables remote management of servers, allowing users to perform system administration tasks from any modern web browser.

Why is root level permission required to install Webmin on CentOS 7?

Root level permissions are required to install Webmin on CentOS 7 because the installation process involves adding repositories and importing keys which require administrative access.

Where can I find the Webmin repository file for CentOS 7?

The Webmin repository file for CentOS 7 can be created by running the command 'sudo vi /etc/yum.repos.d/webmin.repo' in the terminal.

How can I ensure Webmin starts up automatically on system reboot?

To ensure Webmin starts up automatically on system reboot, you can use the 'sudo chkconfig webmin on' command to enable Webmin startup.

What is the purpose of importing the Webmin repository key?

Importing the Webmin repository key is necessary to establish trust between CentOS 7 and the Webmin repository, allowing secure installation of Webmin packages.

Is Webmin available in the default CentOS repositories?

No, Webmin is not available in the default CentOS repositories. You need to add the Webmin repository to your system to install Webmin on CentOS 7.