How to Install Webmin on CentOS 7

How To Install Webmin on CentOS 7

In this tutorial, we are going to show you how to install Webmin on  CentOS 7. Webmin is a web-based interface for system administration for Linux-based servers. It’s one of the most popular open-source hosting control panels. Webmin is largely based on Perl, running as its own process and web server. It defaults to TCP port 10000 for communicating and can be configured to use SSL if OpenSSL is installed with additional required Perl Modules. Installing Webmin on  CentOS 7 is really an easy task, just follow the steps below.

1. Update your system

Connect to your Linux server via SSH and update all the currently installed software to the latest version available using the command below:

# yum -y update

You can also enable automatic updates. You should always keep your server up to date.

2. Download and install the RPM version of Webmin

To download Webmin, please visit the Webmin download page and check for the Webmin RPM package. The RPM package is suitable for any RedHat, Fedora or CentOS system. To download the package you can use wget.

# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.831-1.noarch.rpm

In order to proceed with the installation, you need to make sure that all dependencies are installed on your CentOS VPS. If they are not installed you can install them using the command below:

# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty

Once the dependencies are installed, you can install Webmin using the following command:

# rpm -U webmin-1.831-1.noarch.rpm

3. Install Webmin using the YUM repository

Another way to install Webmin is by using the official YUM repository. First, create a webmin.repo file:

# nano /etc/yum.repos.d/webmin.repo

Add the following content to 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

Then, fetch and install the GPG key which is used to sign the Webmin packages:

# wget http://www.webmin.com/jcameron-key.asc
# rpm --import jcameron-key.asc

Finally, install Webmin and all the dependencies using the following command:

# yum install webmin

4. Start Webmin and enable it on system boot

To start Webmin, you can use the following command:

Need a fast and easy fix?
✔ Unlimited Managed Support
✔ Supports Your Software
✔ 2 CPU Cores
✔ 2 GB RAM
✔ 50 GB PCIe4 NVMe Disk
✔ 1854 GeekBench Score
✔ Unmetered Data Transfer
NVME 2 VPS

Now just $43 .99
/mo

GET YOUR VPS
# service webmin start

To enable Webmin on system boot use the following command:

# chkconfig webmin on

Webmin allows you to set up user accounts, configure the Apache web server, manage DNS, configure the Postfix mail server, configure the Dovecot IMAP and POP3 mail server and many other things. It has a list of standard modules which you can install and use for your own purposes.

5. Accessing Webmin

To access Webmin, open your favorite web browser, enter HTTPS as protocol, enter your server IP address and use 10000 as a port number.

https://YOUR-IP-ADDRESS:10000

By default, Webmin uses a self-signed SSL certificate so your web browser will warn you that the connection is not secure. You can accept the self-signed SSL certificate and proceed to the log in screen.

The administration username which you can use to sign in is set to root and the password is your current root password. In the Webmin dashboard, you can see some basic information about your system and recent logins. The modules and services which you can manage through Webmin are listed on the left panel.

installing webmin on centos 7

Of course, you don’t have to install Webmin on CentOS 7, if you use one of our Webmin VPS hosting services, in which case you can simply ask our expert Linux admins to install and configure Webmin on your CentOS 7 server for you. They are available 24×7 and will take care of your request immediately.

howt to install webmin on centos 7

If you liked this post, on how to install Webmin on CentOS 7,  please share it with your friends on the social networks using the buttons below or simply leave a comment in the comments section. Thanks.

 

7 thoughts on “How to Install Webmin on CentOS 7”

  1. How would I setup a centos 7 server with spam assassin to only check for spam content and deliver a message back to the sender in a crm the results of the find?

    Reply

Leave a Comment