How to Install Webmin on CentOS 7/RHEL 7/Oracle Linux 7

Webmin is a free software that is used by system administrators for system administration and configuration of the system where it is web based. Through Webmin, the system administrator can perform their daily tasks such as system administration and server administration through the graphical web-based interface where it is very easy to use while reducing errors. Webmin very suitable for beginners who do not know much about the unix or linux command line. For future reference, I will show how to install Webmin on CentOS 7/RHEL 7/Oracle Linux 7. Current Webmin version is 1.720.

Install Webmin on CentOS 7

Install Webmin on CentOS 7/RHEL 7/Oracle Linux 7

1. Enabling Yum repository for Webmin. Create the /etc/yum.repos.d/webmin.repo file containing :

[root@centos7 ~]# vi /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

2. Install my GPG key :

[root@centos7 ~]# rpm --import http://www.webmin.com/jcameron-key.asc

3. Run “yum install” command to install Webmin software and all required dependencies :

[root@centos7 ~]# yum install webmin -y

4. Start Webmin :

[root@centos7 ~]# /etc/init.d/webmin start

5. Webmin by default works on port 10000. Access your server on port 10000 using FQDN or IP.

http://192.168.0.x:10000/ or http://FQDN:10000/

Install Webmin on CentOS 7

 

How to Install Webmin on Ubuntu 14.04

Ubuntu 14.04 LTS final just released on 17th April 2014. Ubuntu 14.04 includes 3.13.0-24.46 Ubuntu Linux kernel. In this article i will show how you can install Webmin on Ubuntu 14.04. Webmin is a free program that allow system administrators to perform system administration and configuration via web-based interface. It require less command line and recommended for those who are not familiar with Debian’s operating system as the Ubuntu builds on the foundations of Debian’s architecture and infrastructure.

1. Enabling APT repository for Webmin :

ehowstuff@ubuntu14:~$ sudo vi /etc/apt/sources.list
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

2. Download and install GPG key :

ehowstuff@ubuntu14:~$ sudo wget http://www.webmin.com/jcameron-key.asc
ehowstuff@ubuntu14:~$ sudo wget http://www.webmin.com/jcameron-key.asc
--2014-05-01 11:41:32--  http://www.webmin.com/jcameron-key.asc
Resolving www.webmin.com (www.webmin.com)... 216.34.181.97
Connecting to www.webmin.com (www.webmin.com)|216.34.181.97|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1320 (1.3K) [text/plain]
Saving to: âjcameron-key.ascâ

100%[==========================================================>] 1,320       --.-K/s   in 0.006s

2014-05-01 11:41:37 (208 KB/s) - âjcameron-key.ascâ saved [1320/1320]

Install the key :

ehowstuff@ubuntu14:~$ sudo apt-key add jcameron-key.asc
OK

3. Install webmin by issue this command :

ehowstuff@ubuntu14:~$ sudo apt-get update
ehowstuff@ubuntu14:~$ sudo apt-get install webmin

Full example :

ehowstuff@ubuntu14:~$ sudo apt-get install webmin
Reading package lists... Done
Building dependency tree
Reading state information... Done
The following extra packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl
The following NEW packages will be installed:
  apt-show-versions libapt-pkg-perl libauthen-pam-perl libio-pty-perl libnet-ssleay-perl webmin
0 upgraded, 6 newly installed, 0 to remove and 9 not upgraded.
Need to get 22.2 MB of archives.
After this operation, 141 MB of additional disk space will be used.
Do you want to continue? [Y/n] y
Get:1 http://us.archive.ubuntu.com/ubuntu/ trusty/main libnet-ssleay-perl amd64 1.58-1 [243 kB]
Get:2 http://download.webmin.com/download/repository/ sarge/contrib webmin all 1.680 [21.8 MB]
Get:3 http://us.archive.ubuntu.com/ubuntu/ trusty/universe libauthen-pam-perl amd64 0.16-2build3 [27.8 kB]
Get:4 http://us.archive.ubuntu.com/ubuntu/ trusty/main libio-pty-perl amd64 1:1.08-1build4 [36.9 kB]
Get:5 http://us.archive.ubuntu.com/ubuntu/ trusty/main libapt-pkg-perl amd64 0.1.29build1 [85.9 kB]
Get:6 http://us.archive.ubuntu.com/ubuntu/ trusty/universe apt-show-versions all 0.22.3 [33.9 kB]
Fetched 22.2 MB in 4min 17s (86.4 kB/s)
Selecting previously unselected package libnet-ssleay-perl.
(Reading database ... 60528 files and directories currently installed.)
Preparing to unpack .../libnet-ssleay-perl_1.58-1_amd64.deb ...
Unpacking libnet-ssleay-perl (1.58-1) ...
Selecting previously unselected package libauthen-pam-perl.
Preparing to unpack .../libauthen-pam-perl_0.16-2build3_amd64.deb ...
Unpacking libauthen-pam-perl (0.16-2build3) ...
Selecting previously unselected package libio-pty-perl.
Preparing to unpack .../libio-pty-perl_1%3a1.08-1build4_amd64.deb ...
Unpacking libio-pty-perl (1:1.08-1build4) ...
Selecting previously unselected package libapt-pkg-perl.
Preparing to unpack .../libapt-pkg-perl_0.1.29build1_amd64.deb ...
Unpacking libapt-pkg-perl (0.1.29build1) ...
Selecting previously unselected package apt-show-versions.
Preparing to unpack .../apt-show-versions_0.22.3_all.deb ...
Unpacking apt-show-versions (0.22.3) ...
Selecting previously unselected package webmin.
Preparing to unpack .../archives/webmin_1.680_all.deb ...
Unpacking webmin (1.680) ...
Processing triggers for man-db (2.6.7.1-1) ...
Processing triggers for ureadahead (0.100.0-16) ...
ureadahead will be reprofiled on next reboot
Setting up libnet-ssleay-perl (1.58-1) ...
Setting up libauthen-pam-perl (0.16-2build3) ...
Setting up libio-pty-perl (1:1.08-1build4) ...
Setting up libapt-pkg-perl (0.1.29build1) ...
Setting up apt-show-versions (0.22.3) ...
** initializing cache. This may take a while **
Setting up webmin (1.680) ...
Webmin install complete. You can now login to https://ubuntu14:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.
Processing triggers for ureadahead (0.100.0-16) ...

4. Finished. Now access webmin by enter: http://serverip:10000/ at your browser.

Note : By default Ubuntu don’t allow logins by the root user. However, the user created at system installation time can use sudo to switch to root. Webmin will allow any user who has this sudo capability to login with full root privileges. If you plan to enable root Login on Ubuntu 14.04, kindly follow this steps on How to Enable Root Login on Ubuntu 14.04.

How to Setup Webmin 1.620 using YUM repository on CentOS 6.4 VPS

webminThis post will brief you on how to setup Webmin 1.620 using yum repository in CentOS 6.4 virtual private server (VPS). Webmin is an open source system administration and system configuration tool which provide you web-based interface to manage, administer and configure your CentOS VPS or dedicated server through web browser. It’s provide graphical interface remote administration instead of manually edit the configuration using command line from putty or console.

1. Enabling Yum repository for Webmin. Create the /etc/yum.repos.d/webmin.repo file containing :

[root@centos64 ~]# vi /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

2. Fetch and install my GPG key :

[root@centos64 ~]# wget http://www.webmin.com/jcameron-key.asc
[root@centos64 ~]# rpm --import jcameron-key.asc

3. Run “yum install” command to install all required dependencies :

[root@centos64 ~]# yum install webmin -y

Example :

[root@centos64 ~]# yum install webmin -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * Webmin: download.webmin.com
 * base: mirrors.hostemo.com
 * extras: mirrors.hostemo.com
 * updates: mirrors.hostemo.com
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.620-1 will be installed
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                Arch                   Version                 Repository              Size
====================================================================================================
Installing:
 webmin                 noarch                 1.620-1                 Webmin                  21 M

Transaction Summary
====================================================================================================
Install       1 Package(s)

Total download size: 21 M
Installed size: 21 M
Downloading Packages:
webmin-1.620-1.noarch.rpm                                                    |  21 MB     04:09
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Installing : webmin-1.620-1.noarch                                                            1/1
Operating system is CentOS Linux
Webmin install complete. You can now login to http://centos64.ehowstuff.local:10000/
as root with your root password.
  Verifying  : webmin-1.620-1.noarch                                                            1/1

Installed:
  webmin.noarch 0:1.620-1

Complete!

4. By default Webmin runs on port 10000, therefore port 10000 need to be open in order to allow you to access web base interface remotely.

[root@centos64 ~]# vi /etc/sysconfig/iptables

Add the following rule to existing iptables firewall :

-A INPUT -m state --state NEW -m tcp -p tcp --dport 10000 -j ACCEPT

Restart IPtables :

[root@centos64 ~]# service iptables restart

5. Access and login to Webmin using URL http://serveripaddress:10000/

How to Install Webmin 1.620-1 on CentOS 6.3

webminWebmin is a web-based interface for system administration on Unix or linux operating system. With webmin, you can easily manage and administer your server with minimal command line. Nowaday, many system administrators implemented webmin into their servers that mainly running Domain name system(DNS) service and web hosting services such as apache, mysql and php. The following installation steps is exactly the same with the previous version of the webmin.

1. Download Latest Webmin from the downloads page , or run the command :

[root@centos63 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.620-1.noarch.rpm

2. Install webmin :

[root@centos63 ~]# rpm -ivh webmin-1.620-1.noarch.rpm

Example :

[root@centos63 ~]# rpm -ivh webmin-1.620-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://centos63.ehowstuff.local:10000/
as root with your root password.

3. Login to Webmin using the following URL or using IP address :

http://centos63.ehowstuff.local:10000/

How to Uninstall Webmin on CentOS 6.3

webminWebmin is a web-based interface for system administration on Unix or linux operating system. In this post, i will show how to uninstall previous installed version of the webmin on CentOS 6.3. Uninstall the Webmin much more simple that installing the Webmin software. With single line command, everything can be completely removed.

Why you have to remove ?
In the situation you do not need the Webmin and want to install alternative software to webmin, you will be asked to remove the software. So that you can do clean install for the new required software of latest webmin software. Step to uninstall Webmin software is exactly same as how you remove other RPM packages.

1. Check the Webmin version that has been installed previously.

[root@centos63 ~]# rpm -qa webmin
webmin-1.600-1.noarch

2. Remove Webmin using “yum remove” command :

[root@centos63 ~]# yum remove webmin-1.600-1.noarch
Loaded plugins: fastestmirror, presto, priorities
Setting up Remove Process
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.600-1 will be erased
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package               Arch                  Version                 Repository                Size
====================================================================================================
Removing:
 webmin                noarch                1.600-1                 installed                 56 M

Transaction Summary
====================================================================================================
Remove        1 Package(s)

Installed size: 56 M
Is this ok [y/N]: y
Downloading Packages:
Running rpm_check_debug
Running Transaction Test
Transaction Test Succeeded
Running Transaction
  Erasing    : webmin-1.600-1.noarch                                                            1/1
Running uninstall scripts ..
Subroutine list_servers redefined at /usr/libexec/webmin/servers/servers-lib.pl line 92.
Subroutine list_servers_sorted redefined at /usr/libexec/webmin/servers/servers-lib.pl line 111.
Subroutine get_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 143.
Subroutine save_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 158.
Subroutine delete_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 175.
Subroutine can_use_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 188.
Subroutine list_all_groups redefined at /usr/libexec/webmin/servers/servers-lib.pl line 208.
Subroutine logged_in redefined at /usr/libexec/webmin/servers/servers-lib.pl line 278.
Subroutine get_server_types redefined at /usr/libexec/webmin/servers/servers-lib.pl line 303.
Subroutine this_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 313.
Subroutine get_my_address redefined at /usr/libexec/webmin/servers/servers-lib.pl line 332.
Subroutine address_to_broadcast redefined at /usr/libexec/webmin/servers/servers-lib.pl line 361.
Subroutine test_server redefined at /usr/libexec/webmin/servers/servers-lib.pl line 375.
Subroutine find_cron_job redefined at /usr/libexec/webmin/servers/servers-lib.pl line 394.
Subroutine find_servers redefined at /usr/libexec/webmin/servers/servers-lib.pl line 407.
  Verifying  : webmin-1.600-1.noarch                                                            1/1

Removed:
  webmin.noarch 0:1.600-1

Complete!

How to Install Webmin 1.600 on Linux CentOS 6.3 Using RPM

webminWebmin is a open source web-based system administration tool and system configuration tool for Unix servers and services. It’s useful for linux administrator especially the Linux newbies as it can avoid misconfiguration and avoid doing mistake. Webmin can administer other services and server configuration using a web browser remotely. You can setup user accounts, Apache, MySQL, FTP. DNS, file sharing and Etc. Follow below steps to install Webmin 1.600 on Linux CentOS 6.3 Using RPM package.

1. Download required RPM file :

http://download.webmin.com/download/yum/

[root@centos63 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.600-1.noarch.rpm

2. Add the GPG Key:

[root@centos63 ~]# rpm --import http://www.webmin.com/jcameron-key.asc

3. Install RPM version of Webmin as below :

[root@centos63 ~]# rpm -Uvh webmin-1.600-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://centos63.ehowstuff.local:10000/
as root with your root password.

4. Start, Stop and Restart Webmin service :

To start :

[root@centos63 ~]# /etc/rc.d/init.d/webmin start

To Stop :

[root@centos63 ~]# /etc/rc.d/init.d/webmin stop
Stopping Webmin server in /usr/libexec/webmin

To Restart :

[root@centos63 ~]# /etc/rc.d/init.d/webmin restart
Stopping Webmin server in /usr/libexec/webmin
Starting Webmin server in /usr/libexec/webmin
Pre-loaded WebminCore

How to Remove Webmin from Linux CentOS/RHEL

This article covers the steps on how to uninstall or remove webmin software on linux CentOS and Redhat enterprise Linux (RHEL) and tested work well in any older or newer version such as CentOS 5, CentOS 6, CentOS 7, RHEL 5, RHEL 6, and RHEL 7.

Doing a checking for current version of webmin will help you to identify and remove specific webmin package along with the name and version of the package easily. Webmin is an open source program that enables system administration and system configuration through a web interface that is useful for new system administrators. With Webmin, the system administrators can administer user accounts, DNS, file sharing and perform system configuration.

This article describes three alternative ways to uninstall or remove webmin software in CentOS or RHEL, but the choice of how to uninstall depend on how the installation has been done in the beginning.

1. Stop Webmin :

[root@centos6 ~]# service webmin stop
Stopping Webmin server in /usr/libexec/webmin

2. Check Webmin version that has been installed and configured :

[root@centos6 ~]# rpm -qa | grep webmin
webmin-1.590-1.noarch

3. Remove webmin using “rpm -e” command (Option 1):

[root@centos6 ~]# rpm -e webmin-1.590-1.noarch

or

4. Remove using “yum remove” command (Option 2):

[root@centos6 ~]# yum remove webmin

or

5. Remove using “/etc/webmin/uninstall.sh” command (Option 3):

[root@centos6 ~]# /etc/webmin/uninstall.sh

Example :

[root@centos6 ~]# /etc/webmin/uninstall.sh
Are you sure you want to uninstall Webmin? (y/n) : y

Stopping Webmin server in /software/webmin
Running uninstall scripts ..
Subroutine list_servers redefined at /software/webmin/servers/servers-lib.pl line 92.
Subroutine list_servers_sorted redefined at /software/webmin/servers/servers-lib.pl line 111.
Subroutine get_server redefined at /software/webmin/servers/servers-lib.pl line 143.
Subroutine save_server redefined at /software/webmin/servers/servers-lib.pl line 158.
Subroutine delete_server redefined at /software/webmin/servers/servers-lib.pl line 175.
Subroutine can_use_server redefined at /software/webmin/servers/servers-lib.pl line 188.
Subroutine list_all_groups redefined at /software/webmin/servers/servers-lib.pl line 208.
Subroutine logged_in redefined at /software/webmin/servers/servers-lib.pl line 278.
Subroutine get_server_types redefined at /software/webmin/servers/servers-lib.pl line 303.
Subroutine this_server redefined at /software/webmin/servers/servers-lib.pl line 313.
Subroutine get_my_address redefined at /software/webmin/servers/servers-lib.pl line 332.
Subroutine address_to_broadcast redefined at /software/webmin/servers/servers-lib.pl line 361.
Subroutine test_server redefined at /software/webmin/servers/servers-lib.pl line 375.
Subroutine find_cron_job redefined at /software/webmin/servers/servers-lib.pl line 394.
Subroutine find_servers redefined at /software/webmin/servers/servers-lib.pl line 407.
Deleting /software/webmin ..
Deleting /etc/webmin ..
Done!

How to Setup Webmin 1.590-1 on CentOS 6.3 using RPM

webminWebmin is a web-based interface for system administration for Linux. By using webmin at the browser, you can setup user accounts, Apache, DNS, file sharing and much more. This post covers the steps to setup Webmin 1.590-1 on CentOS 6.3 using RPM.

1. Download Webmin :

[root@centos63 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm

Examples :

[root@centos63 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm
--2012-08-02 22:49:07--  http://prdownloads.sourceforge.net/webadmin/webmin-1.590-1.noarch.rpm
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm [following]
--2012-08-02 22:49:08--  http://downloads.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm
Resolving downloads.sourceforge.net... 216.34.181.59
Reusing existing connection to prdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://cdnetworks-kr-2.dl.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm [following]
--2012-08-02 22:49:08--  http://cdnetworks-kr-2.dl.sourceforge.net/project/webadmin/webmin/1.590/webmin-1.590-1.noarch.rpm
Resolving cdnetworks-kr-2.dl.sourceforge.net... 211.39.135.163
Connecting to cdnetworks-kr-2.dl.sourceforge.net|211.39.135.163|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 18926818 (18M) [application/x-rpm]
Saving to: âwebmin-1.590-1.noarch.rpmâ

100%[==========================================================>] 18,926,818  72.2K/s   in 6m 28s

2012-08-02 22:55:37 (47.7 KB/s) - âwebmin-1.590-1.noarch.rpmâ

2. Add the GPG Key :

[root@centos63 ~]# rpm --import http://www.webmin.com/jcameron-key.as

3. Install webmin :

[root@centos63 ~]# rpm -Uvh webmin-1.590-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://centos63.ehowstuff.local:10000/
as root with your root password.

4. Start webmin service and check webmin status :

[root@centos63 ~]# /etc/init.d/webmin start
[root@centos63 ~]# /etc/init.d/webmin status
Webmin (pid 2676) is running

5. Configure webmin service to start at boot :

[root@centos63 ~]# chkconfig webmin on

6. Login the webmin web interface :

http://youripaddress:10000

How to Setup Webmin 1.580 on CentOS 5.8

CentOS 5.8This quick post will show you the steps on installing webmin, the web-based system configuration and administration tool on linux CentOS 5.8 server. There are three alternative way to setup webmin which using RPM, YUM command and using Tar file. After setup webmin, you will be able to do linux system administration task using Graphical User Interface (GUI) which is good for linux newbie who not familiar with command line.

Option 1 : Setup Webmin using RPM

1. Download required RPM file here (http://download.webmin.com/download/yum/)

[root@centos58 ~]# wget http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm

or

[root@centos58 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm

Example :

[root@centos58 ~]# wget http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm
--2012-06-08 05:34:12--  http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm
Resolving download.webmin.com... 67.228.198.100
Connecting to download.webmin.com|67.228.198.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17112780 (16M) [application/x-rpm]
Saving to: `webmin-1.580-1.noarch.rpm'

100%[==========================================================>] 17,112,780   118K/s   in 3m 2s

2012-06-08 05:37:15 (91.9 KB/s) - `webmin-1.580-1.noarch.rpm' saved [17112780/17112780]

2. Download and import my GPG key with which the packages are signed, with the commands :

[root@centos58 ~]# wget http://www.webmin.com/jcameron-key.asc
[root@centos58 ~]# rpm --import jcameron-key.asc

3. Install RPM version of Webmin as below :

[root@centos58 ~]# rpm -Uvh webmin-1.580-1.noarch.rpm
Preparing...                ########################################### [100%]
Operating system is CentOS Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://centos58.ehowtuff.local:10000/
as root with your root password.

Option 2 : Setup Webmin using YUM

1. Login to your CentOS server with root privileges.
2. Download and import my GPG key with which the packages are signed, with the commands :

[root@centos58 ~]# wget http://www.webmin.com/jcameron-key.asc
[root@centos58 ~]# rpm --import jcameron-key.asc

3. To install and update Webmin via RPM through yum, you have to create webmin.repo on /etc/yum.repos.d directory as below:

[root@centos58 ~]# vi /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

4. Install with yum command :

[root@centos58 ~]# yum install webmin -y

Example :

[root@centos58 ~]# yum install webmin -y
Loaded plugins: fastestmirror
Loading mirror speeds from cached hostfile
 * Webmin: download.webmin.com
 * base: mirror.nus.edu.sg
 * epel: mirror.nus.edu.sg
 * extras: mirror.nus.edu.sg
 * rpmforge: mirror.oscc.org.my
 * updates: mirror.as24220.net
Webmin                                                                       |  951 B     00:00
Webmin/primary                                                               |  13 kB     00:00
Webmin                                                                                      102/102
Setting up Install Process
Resolving Dependencies
--> Running transaction check
---> Package webmin.noarch 0:1.580-1 set to be updated
--> Finished Dependency Resolution

Dependencies Resolved

====================================================================================================
 Package                Arch                   Version                 Repository              Size
====================================================================================================
Installing:
 webmin                 noarch                 1.580-1                 Webmin                  16 M

Transaction Summary
====================================================================================================
Install       1 Package(s)
Upgrade       0 Package(s)

Total download size: 16 M
Downloading Packages:
webmin-1.580-1.noarch.rpm                                                    |  16 MB     02:39
Running rpm_check_debug
Running Transaction Test
Finished Transaction Test
Transaction Test Succeeded
Running Transaction
Operating system is CentOS Linux
  Installing     : webmin                                                                       1/1
Webmin install complete. You can now login to http://centos58.ehowtuff.local:10000/
as root with your root password.

Installed:
  webmin.noarch 0:1.580-1

Complete!

Option 3 : Setup Webmin using Tar File

Before downloading Webmin, please make sure that Perl 5 has been installed on your CentOS 5.8.
1. Download and extract the tar file :

[root@centos58 ~]# cd /tmp
[root@centos58 tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
[root@centos58 tmp]# tar xzf webmin-1.580.tar.gz

2. Run ./setup.sh to install the webmin on /usr/local/webmin.

[root@centos58 tmp]# cd webmin-1.580
[root@centos58 webmin-1.580]# ./setup.sh /usr/local/webmin

This is just an example and the default admin was admin and the password is password.

[root@centos58 webmin-1.580]# ./setup.sh /usr/local/webmin
***********************************************************************
*            Welcome to the Webmin setup script, version 1.580        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /tmp/webmin-1.580 to /usr/local/webmin ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 5.8

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
***********************************************************************
Copying files to /usr/local/webmin ..
..done

Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
PID file /var/webmin/miniserv.pid does not exist
Subroutine setup_ca redefined at /usr/local/webmin/webmin/webmin-lib.pl line 72.
Subroutine install_webmin_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 122.
Subroutine grant_user_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 419.
Subroutine delete_webmin_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 460.
Subroutine file_basename redefined at /usr/local/webmin/webmin/webmin-lib.pl line 569.
Subroutine gnupg_setup redefined at /usr/local/webmin/webmin/webmin-lib.pl line 583.
Subroutine list_standard_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 611.
Subroutine standard_chooser_button redefined at /usr/local/webmin/webmin/webmin-lib.pl line 643.
Subroutine list_third_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 656.
Subroutine third_chooser_button redefined at /usr/local/webmin/webmin/webmin-lib.pl line 688.
Subroutine get_webmin_base_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 699.
Subroutine base_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 709.
Subroutine get_newmodule_users redefined at /usr/local/webmin/webmin/webmin-lib.pl line 720.
Subroutine save_newmodule_users redefined at /usr/local/webmin/webmin/webmin-lib.pl line 742.
Subroutine get_miniserv_sockets redefined at /usr/local/webmin/webmin/webmin-lib.pl line 766.
Subroutine fetch_updates redefined at /usr/local/webmin/webmin/webmin-lib.pl line 814.
Subroutine check_update_signature redefined at /usr/local/webmin/webmin/webmin-lib.pl line 881.
Subroutine find_cron_job redefined at /usr/local/webmin/webmin/webmin-lib.pl line 912.
Subroutine get_ipkeys redefined at /usr/local/webmin/webmin/webmin-lib.pl line 924.
Subroutine save_ipkeys redefined at /usr/local/webmin/webmin/webmin-lib.pl line 945.
Subroutine validate_key_cert redefined at /usr/local/webmin/webmin/webmin-lib.pl line 977.
Subroutine detect_operating_system redefined at /usr/local/webmin/webmin/webmin-lib.pl line 998.
Subroutine show_webmin_notifications redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1033.
Subroutine get_webmin_notifications redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1049.
Subroutine get_system_uptime redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1238.
Subroutine list_operating_systems redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1285.
Subroutine shared_root_directory redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1310.
Subroutine submit_os_info redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1347.
Subroutine get_webmin_id redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1375.
Subroutine ip_match redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1391.
Subroutine prefix_to_mask redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1477.
Subroutine valid_allow redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1491.
Subroutine get_preloads redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1536.
Subroutine save_preloads redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1548.
Subroutine get_tempdirs redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1559.
Subroutine save_tempdirs redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1576.
Subroutine get_module_install_type redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1595.
Subroutine get_install_type redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1612.
Subroutine list_cached_files redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1642.
Subroutine show_restart_page redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1661.
Subroutine cert_info redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1679.
Subroutine cert_pem_data redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1720.
Subroutine cert_pkcs12_data redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1735.
Subroutine get_blocked_users_hosts redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1761.
Subroutine show_ssl_key_form redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1789.
Subroutine parse_ssl_key_form redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1833.
Subroutine build_installed_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1906.
Subroutine get_latest_webmin_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1948.
Subroutine filter_updates redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1981.
Subroutine list_keys redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 23.
Subroutine list_keys_sorted redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 74.
Subroutine list_secret_keys redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 82.
Subroutine key_fingerprint redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 88.
Subroutine get_passphrase redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 105.
Subroutine put_passphrase redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 116.
Subroutine encrypt_data redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 128.
Subroutine decrypt_data redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 167.
Subroutine sign_data redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 224.
Subroutine verify_data redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 283.
Subroutine read_entire_file redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 327.
Subroutine write_entire_file redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 339.
Subroutine get_trust_level redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 349.
Subroutine delete_key redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 371.
Subroutine default_email_address redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 398.
Subroutine fetch_gpg_key redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 415.
Subroutine search_gpg_keys redefined at /usr/local/webmin/webmin/gnupg-lib.pl line 442.
..done

Enabling background status collection ..
PID file /var/webmin/miniserv.pid does not exist
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /usr/local/webmin
Pre-loaded WebminCore
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  http://centos58.ehowtuff.local:10000/

and login with the name and password you entered previously.

How to start webmin :

[root@centos58 ~]# service webmin start

or

[root@centos58 ~]# /etc/init.d/webmin start

How to stop webmin :

[root@centos58 ~]# service webmin stop
Stopping Webmin server in /usr/local/webmin

or

[root@centos58 ~]# /etc/init.d/webmin stop
Stopping Webmin server in /usr/local/webmin

How to check webmin status :

[root@centos58 ~]# /etc/init.d/webmin status
webmin (pid 5070) is running

or

[root@centos58 ~]# service webmin status
webmin (pid 4834) is running

How to Install Webmin 1.580 on Fedora 16 Using RPM

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. With Webmin you can setup user accounts, DNS, file sharing and etc. In this post, i will show how to install Webmin on Fedora 16 server using RPM version. This steps may also working on other versions such as Fedora 14 and fedora 15.

Download required RPM file here (http://download.webmin.com/download/yum/)

[root@fedora16 ~]# wget http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm
--2012-04-07 21:45:46--  http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm
Resolving download.webmin.com... 67.228.198.100
Connecting to download.webmin.com|67.228.198.100|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17112780 (16M) [application/x-rpm]
Saving to: âwebmin-1.580-1.noarch.rpmâ

100%[==========================================================>] 17,112,780  62.8K/s   in 3m 3s

2012-04-07 21:48:51 (91.1 KB/s) - âwebmin-1.580-1.noarch.rpmâ

Install RPM version of Webmin as below :

[root@fedora16 ~]# rpm -Uvh webmin-1.580-1.noarch.rpm
warning: webmin-1.580-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
Preparing...                ########################################### [100%]
Operating system is Fedora Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to https://fedora16.ehowstuff.local:10000/
as root with your root password.

Start Webmin service :

[root@fedora16 ~]# service webmin start

https://fedora16.ehowstuff.local:10000/

How to Install Webmin 1.580 on RHEL 6/CentOS 6 Using tar.gz File

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. With Webmin you can setup user accounts, DNS, file sharing and etc. In this post, i will show how to install Webmin on Redhat Enterprise Linux 6 (RHEL 6) server using tar.gz File. This steps may also working on other versions such as CentOS 5.1, CentOS 5.2, CentOS 5.3, CentOS 5.4, CentOS 5.5, CentOS 5.6, CentOS 5.7, CentOS 6.x, RHEL 5.x and RHEL 6.x.

[root@centos62 tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
[root@centos62 ~]# cd /tmp
[root@centos62 tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
--2012-03-25 22:33:04--  http://prdownloads.sourceforge.net/webadmin/webmin-1.580.tar.gz
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580.tar.gz [following]
--2012-03-25 22:33:05--  http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580.tar.gz
Resolving downloads.sourceforge.net... 216.34.181.59
Reusing existing connection to prdownloads.sourceforge.net:80.
HTTP request sent, awaiting response... 302 Found
Location: http://cdnetworks-kr-1.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580.tar.gz [following]
--2012-03-25 22:33:06--  http://cdnetworks-kr-1.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580.tar.gz
Resolving cdnetworks-kr-1.dl.sourceforge.net... 211.39.135.162
Connecting to cdnetworks-kr-1.dl.sourceforge.net|211.39.135.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 16081299 (15M) [application/x-gzip]
Saving to: âwebmin-1.580.tar.gzâ

100%[==========================================================>] 16,081,299  68.2K/s   in 4m 14s

2012-03-25 22:37:21 (61.8 KB/s) - âwebmin-1.580.tar.gzâ

When unpacked, the distribution creates a subdirectory called webmin-1.580 :

[root@centos62 tmp]# tar -xzvf webmin-1.580.tar.gz
[root@centos62 tmp]# cd webmin-1.580
[root@centos62 webmin-1.580]# pwd
/tmp/webmin-1.580

When the setup.sh script is run, it will ask the following questions :

  • The Webmin configuration directory
  • The Webmin log directory
  • The full path to perl on your system
  • Your Operating system type
  • Web server port
  • Web server login and password
  • Web server hostname
  • Use SSL
  • Start Webmin at boot time
[root@centos62 webmin-1.580]# ./setup.sh
***********************************************************************
*            Welcome to the Webmin setup script, version 1.580        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin in /tmp/webmin-1.580 ...

***********************************************************************
Webmin uses separate directories for configuration files and log files.
Unless you want to run multiple versions of Webmin at the same time
you can just accept the defaults.

Config file directory [/etc/webmin]:
Log file directory [/var/webmin]:

***********************************************************************
Webmin is written entirely in Perl. Please enter the full path to the
Perl 5 interpreter on your system.

Full path to perl (default /usr/bin/perl):

Testing Perl ...
Perl seems to be installed ok

***********************************************************************
Operating system name:    CentOS Linux
Operating system version: 6.2

***********************************************************************
Webmin uses its own password protected web server to provide access
to the administration programs. The setup script needs to know :
 - What port to run the web server on. There must not be another
   web server already using this port.
 - The login name required to access the web server.
 - The password required to access the web server.
 - If the webserver should use SSL (if your system supports it).
 - Whether to start webmin at boot time.

Web server port (default 10000):
Login name (default admin):
Login password:
Password again:
The Perl SSLeay library is not installed. SSL not available.
Start Webmin at boot time (y/n): y
***********************************************************************
Creating web server config files..
..done

Creating access control file..
..done

Inserting path to perl into scripts..
..done

Creating start and stop scripts..
..done

Copying config files..
..done

Configuring Webmin to start at boot time..
Created init script /etc/rc.d/init.d/webmin
..done

Creating uninstall script /etc/webmin/uninstall.sh ..
..done

Changing ownership and permissions ..
..done

Running postinstall scripts ..
PID file /var/webmin/miniserv.pid does not exist
..done

Enabling background status collection ..
PID file /var/webmin/miniserv.pid does not exist
..done

Attempting to start Webmin mini web server..
Starting Webmin server in /tmp/webmin-1.580
Pre-loaded WebminCore
..done

***********************************************************************
Webmin has been installed and started successfully. Use your web
browser to go to

  http://centos62.ehowstuff.local:10000/

and login with the name and password you entered previously.

Stop Iptables :

[root@centos62 webmin-1.580]# service iptables stop
iptables: Flushing firewall rules:                         [  OK  ]
iptables: Setting chains to policy ACCEPT: filter          [  OK  ]
iptables: Unloading modules:                               [  OK  ]

To access Webmin administration console through web interface, navigate the server URL to your web browser :
http://serveripaddress:10000/

How to Install Webmin 1.580 on RHEL 6/CentOS 6 Using RPM

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. With Webmin you can setup user accounts, DNS, file sharing and etc. In this post, i will show how to install Webmin on Redhat Enterprise Linux 6 (RHEL 6) server using RPM version. This steps may also working on other versions such as CentOS 5.1, CentOS 5.2, CentOS 5.3, CentOS 5.4, CentOS 5.5, CentOS 5.6, CentOS 5.7, CentOS 6.x, RHEL 5.x and RHEL 6.x.

1. Download required RPM file here (http://download.webmin.com/download/yum/)

[root@rhel6 ~]# wget http://download.webmin.com/download/yum/webmin-1.580-1.noarch.rpm

or

[root@rhel6 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm
[root@rhel6 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm
--2012-03-25 20:03:28--  http://prdownloads.sourceforge.net/webadmin/webmin-1.580-1.noarch.rpm
Resolving prdownloads.sourceforge.net... 216.34.181.59
Connecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 301 Moved Permanently
Location: http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm [following]
--2012-03-25 20:03:34--  http://downloads.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm
Resolving downloads.sourceforge.net... 216.34.181.59
Connecting to downloads.sourceforge.net|216.34.181.59|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://cdnetworks-kr-1.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm [following]
--2012-03-25 20:03:45--  http://cdnetworks-kr-1.dl.sourceforge.net/project/webadmin/webmin/1.580/webmin-1.580-1.noarch.rpm
Resolving cdnetworks-kr-1.dl.sourceforge.net... 211.39.135.162
Connecting to cdnetworks-kr-1.dl.sourceforge.net|211.39.135.162|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 17112780 (16M) [application/x-rpm]
Saving to: âwebmin-1.580-1.noarch.rpmâ

100%[==========================================================>] 17,112,780  49.4K/s   in 20m 53s

2012-03-25 20:24:43 (13.3 KB/s) - âwebmin-1.580-1.noarch.rpmâ

Install RPM version of Webmin as below :

[root@rhel6 ~]# rpm -Uvh webmin-1.580-1.noarch.rpm
warning: webmin-1.580-1.noarch.rpm: Header V3 DSA/SHA1 Signature, key ID 11f63c51: NOKEY
Preparing...                ########################################### [100%]
Operating system is Redhat Enterprise Linux
   1:webmin                 ########################################### [100%]
Webmin install complete. You can now login to http://rhel6:10000/
as root with your root password.

Start Webmin :

[root@rhel6 ~]# /etc/rc.d/init.d/webmin start

To login Webmin :
You must enter a username and password to login to the Webmin server
http://serveripaddress:10000/