How To Install Webmin on Your VPS

Share

Webmin is one of the best web based interfaces for system administration for any Unix-like system. It’s completely free and open-source. With Webmin, you can configure services like Apache, PHP, DNS, file sharing, setup user accounts and much more .

 

In this tutorial i’ll show you how to install and access Webmin on CentOS/Fedora and Ubuntu/Debian, Let’s Get Started .

INSTALL WEBMIN ON CENTOS/FEDORA

You can download Webmin in several package formats from Webmin’s official website. We need the RPM package to install Webmin on CentOS/Fedora.

Step 1 – Before proceeding with Webmin’s installation, install the following dependencies:

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

Step 2 – Find the latest stable Webmin release and install it using the following command:

rpm -Uvh http://downloads.sourceforge.net/project/webadmin/webmin/1.791/webmin-1.791-1.noarch.rpm

The installation is done automatically. The administration username is ‘root‘ and its password is your current ‘root‘ password.

You can also create a repository for installing Webmin. Doing it this way you will always have the latest automatic updates via repository.

Step 1 – Create a ‘/etc/yum.repos.d/webmin.repo‘ file:

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

Put the following lines:

Put the following lines:

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

Step 2 – Download and install the GPG key for the package:

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

Step 3 – You can now install Webmin by executing:

yum install Webmin

If you want to change your Webmin password, use the following command:

/usr/libexec/webmin/changepass.pl /etc/webmin root NEWPASSWORD

Where ‘NEWPASSWORD‘ will be your new Webmin password.

INSTALL WEBMIN ON UBUNTU/DEBIAN

Step 1 – Download the latest Debian package from Webmin’s official website

wget http://downloads.sourceforge.net/project/webadmin/webmin/1.791/webmin_1.791_all.deb

Step 2 – install it with the following command:

dpkg --install webmin_1.791_all.deb

That’s all. The username is ‘root‘ and its password is your current root password.

To change the Webmin password run the following command:

/usr/share/webmin/changepass.pl /etc/webmin root NEWPASSWORD

Where ‘NEWPASSWORD‘ will be your new Webmin password.

 

HOW TO ACCESS WEBMIN

After done installing you can acces Webmin on Port 10000 (default is listening on port 10000 on all Linux distributions) Open a web browser and point it to :
https://IP-VPS:10000
or
https://YOURDOMAIN.TLD:10000
enter ‘root‘ as username and your root password and you are ready to go.

After you log in, you’ll get an easy-to-use, familiar control panel interface for configuring your web server.

Leave A Reply