Webmin is an open source web based system configuration application for linux system administrator. It is using to manage service like user administrator, Disk management, Networks, Iptables , Apache , DNS etc.
Requirements to SSH
- A working SSH client like Putty (windows) or Terminal
- A working Linux-based server with SSH enabled
- A cup of coffee if you wish
- A computer with Stable Internet connection
You can download the latest version of Putty SSH client by clicking below link
Click here for 32-bit.
Click here for 64-bit.
After that, Install it on your computer to make your SSH connection.
Before you proceed, These are basic commands kindly click Commands Link
# cd /opt # wget http://www.webmin.com/jcameron-key.asc # rpm --import jcameron-key.asc
In this article ,we can see about how to install webmin on CentOS
Step 1: Import Key
Import Webmin signing key for Verifying packages using following command.
# cd /opt # wget http://www.webmin.com/jcameron-key.asc # rpm --import jcameron-key.asc
Step 2: Create Webmin Repository
Now create repository file with .repo extension under /etc/yum.repos.d/ directory and add following content as per your operating system
#nano /etc/yum.repos.d/webmin.repo
[Webmin] name=Webmin Distribution Neutral #baseurl=http://download.webmin.com/download/yum mirrorlist=http://download.webmin.com/download/yum/mirrorlist enabled=1
save it
Step 3: Install Dependencies
Install the dependencies using following command:
# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
Step 4: Install Webmin
Presently we can ready to install it using yum command. It will automatically install all required dependencies.
# yum -y install webmin
Step 5: Open port
Webmin keeps running on port 10000, so we have to open port on our firewall to get to it. The easiest way to open the port on firewall is using iptables rules.
# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT #service iptables save # /etc/init.d/iptables restart
Step 6: Start webmin
Run the following commands to start the webmin service and make it start automatically
# chkconfig webmin on # /etc/init.d/webmin start
Step 7 : Access Webmin
To access your server using webmin follow the URL
# http ://server-Ip : 10000/ or #https://server-Ip : 10000/your server using webmin