How to Install Webmin 1.720 on CentOS 6/RHEL 6

Webmin is a web-based free software that is created for the administration of the system for linux and unix . It is managed through the graphical web interface that is very user friendly and suitable for beginners who are less familiar with linux command line utility. However, a recent version can also be installed and running on the Windows operating system. Webmin can be managed using a modern web browser like google chrome, mozilla firefox and internet explorer. If you are a website operator or system administrator of the virtual private server (VPS) or dedicated server, it is appropriate to use webmin as a platform to manage the system, it will make your life easier.

With webmin, system administrators can perform system administration and configuration task of such a setup user accounts, Apache configuration, DNS management, MySQL database administration, file sharing administration and more. As a reference, I have document the steps of how to setup Webmin 1.720 on CentOS 6/RHEL 6 using source instalation.

1. Download Webmin :

[root@centos66 ~]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.720.tar.gz

2. Create /software and extract webmin from where it was downloaded :

[root@centos66 ~]# mkdir -p /software
[root@centos66 ~]# tar xzvf webmin-1.720.tar.gz
[root@centos66 ~]# cd webmin-1.720

3. Run setup.sh script :

[root@centos66 webmin-1.720]# ./setup.sh /software/webmin

Example :

[root@centos66 webmin-1.720]# ./setup.sh /software/webmin

When the setup.sh script is run, it will ask the following questions :
The Webmin configuration directory
The directory in which all Webmin configuration information is stored. This is now separate from the Webmin install directory, so that configurations are saved when you upgrade. 
If you have previously installed Webmin and use the same config directory, this will be the only question asked.
The Webmin log directory
The location for pid and webserver log files.
The full path to perl on your system
This is usually /usr/bin/perl or /usr/local/bin/perl
Your Operating system type
In Webmin versions 0.990 and above, this question is only asked if your operating system cannot be automatically determined.
The setup script will display a list of supported systems. If your OS is not on the list, you can try choosing the closest match. However this may not work properly, and may even cause serious problems!
Web server port
The TCP port that the Webmin web server will listen on.
Web server login and password
The login name and password used to acess the Webmin web server.
Web server hostname
The hostname of the machine on which Webmin will run.
Use SSL
This question will only be asked if your system has the Perl SSL libraries installed. See below for more..
Start Webmin at boot time
If your OS is supported, Webmin will ask if you want to have it automatically started at boot time.
Assuming you answer all the above questions correctly, the Webmin web server will be started and the setup script will give you the URL to go to. Enter this URL into your browser, and you will be prompted for the login and password that you choose in setup.sh. Once you have logged in your browser should show the main Webmin page, on which is an icon for each module you have installed.
Typically you can connect to Webmin at http://localhost:10000/. Or if accessing it remotely, replace localhost with your system's IP address.
[root@centos66 webmin-1.720]# ./setup.sh /software/webmin
***********************************************************************
*            Welcome to the Webmin setup script, version 1.720        *
***********************************************************************
Webmin is a web-based interface that allows Unix-like operating
systems and common Unix services to be easily administered.

Installing Webmin from /root/webmin-1.720 to /software/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: 6.6

***********************************************************************
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 /software/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..
..done

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

Changing ownership and permissions ..
..done

Running postinstall scripts ..
Subroutine setup_ca redefined at /software/webmin/webmin/webmin-lib.pl line 77.
Subroutine install_webmin_module redefined at /software/webmin/webmin/webmin-lib.pl line 127.
Subroutine grant_user_module redefined at /software/webmin/webmin/webmin-lib.pl line 439.
Subroutine delete_webmin_module redefined at /software/webmin/webmin/webmin-lib.pl line 480.
Subroutine file_basename redefined at /software/webmin/webmin/webmin-lib.pl line 589.
Subroutine gnupg_setup redefined at /software/webmin/webmin/webmin-lib.pl line 603.
Subroutine list_standard_modules redefined at /software/webmin/webmin/webmin-lib.pl line 631.
Subroutine standard_chooser_button redefined at /software/webmin/webmin/webmin-lib.pl line 663.
Subroutine list_third_modules redefined at /software/webmin/webmin/webmin-lib.pl line 676.
Subroutine third_chooser_button redefined at /software/webmin/webmin/webmin-lib.pl line 708.
Subroutine get_webmin_base_version redefined at /software/webmin/webmin/webmin-lib.pl line 719.
Subroutine base_version redefined at /software/webmin/webmin/webmin-lib.pl line 729.
Subroutine get_newmodule_users redefined at /software/webmin/webmin/webmin-lib.pl line 740.
Subroutine save_newmodule_users redefined at /software/webmin/webmin/webmin-lib.pl line 762.
Subroutine get_miniserv_sockets redefined at /software/webmin/webmin/webmin-lib.pl line 786.
Subroutine fetch_updates redefined at /software/webmin/webmin/webmin-lib.pl line 834.
Subroutine check_update_signature redefined at /software/webmin/webmin/webmin-lib.pl line 901.
Subroutine find_cron_job redefined at /software/webmin/webmin/webmin-lib.pl line 932.
Subroutine get_ipkeys redefined at /software/webmin/webmin/webmin-lib.pl line 944.
Subroutine save_ipkeys redefined at /software/webmin/webmin/webmin-lib.pl line 965.
Subroutine validate_key_cert redefined at /software/webmin/webmin/webmin-lib.pl line 997.
Subroutine detect_operating_system redefined at /software/webmin/webmin/webmin-lib.pl line 1018.
Subroutine show_webmin_notifications redefined at /software/webmin/webmin/webmin-lib.pl line 1053.
Subroutine get_webmin_notifications redefined at /software/webmin/webmin/webmin-lib.pl line 1069.
Subroutine get_system_uptime redefined at /software/webmin/webmin/webmin-lib.pl line 1271.
Subroutine list_operating_systems redefined at /software/webmin/webmin/webmin-lib.pl line 1318.
Subroutine shared_root_directory redefined at /software/webmin/webmin/webmin-lib.pl line 1343.
Subroutine submit_os_info redefined at /software/webmin/webmin/webmin-lib.pl line 1380.
Subroutine get_webmin_id redefined at /software/webmin/webmin/webmin-lib.pl line 1408.
Subroutine ip_match redefined at /software/webmin/webmin/webmin-lib.pl line 1424.
Subroutine prefix_to_mask redefined at /software/webmin/webmin/webmin-lib.pl line 1519.
Subroutine valid_allow redefined at /software/webmin/webmin/webmin-lib.pl line 1533.
Subroutine get_preloads redefined at /software/webmin/webmin/webmin-lib.pl line 1591.
Subroutine save_preloads redefined at /software/webmin/webmin/webmin-lib.pl line 1603.
Subroutine get_tempdirs redefined at /software/webmin/webmin/webmin-lib.pl line 1614.
Subroutine save_tempdirs redefined at /software/webmin/webmin/webmin-lib.pl line 1631.
Subroutine get_module_install_type redefined at /software/webmin/webmin/webmin-lib.pl line 1650.
Subroutine get_install_type redefined at /software/webmin/webmin/webmin-lib.pl line 1667.
Subroutine list_cached_files redefined at /software/webmin/webmin/webmin-lib.pl line 1697.
Subroutine show_restart_page redefined at /software/webmin/webmin/webmin-lib.pl line 1716.
Subroutine cert_info redefined at /software/webmin/webmin/webmin-lib.pl line 1734.
Subroutine cert_pem_data redefined at /software/webmin/webmin/webmin-lib.pl line 1775.
Subroutine cert_pkcs12_data redefined at /software/webmin/webmin/webmin-lib.pl line 1790.
Subroutine get_blocked_users_hosts redefined at /software/webmin/webmin/webmin-lib.pl line 1816.
Subroutine show_ssl_key_form redefined at /software/webmin/webmin/webmin-lib.pl line 1844.
Subroutine parse_ssl_key_form redefined at /software/webmin/webmin/webmin-lib.pl line 1888.
Subroutine parse_ssl_csr_form redefined at /software/webmin/webmin/webmin-lib.pl line 1961.
Subroutine build_installed_modules redefined at /software/webmin/webmin/webmin-lib.pl line 2035.
Subroutine get_latest_webmin_version redefined at /software/webmin/webmin/webmin-lib.pl line 2077.
Subroutine filter_updates redefined at /software/webmin/webmin/webmin-lib.pl line 2110.
Subroutine get_clone_source redefined at /software/webmin/webmin/webmin-lib.pl line 2152.
Subroutine retry_http_download redefined at /software/webmin/webmin/webmin-lib.pl line 2168.
Subroutine list_twofactor_providers redefined at /software/webmin/webmin/webmin-lib.pl line 2199.
Subroutine show_twofactor_apikey_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2209.
Subroutine validate_twofactor_apikey_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2221.
Subroutine show_twofactor_form_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2246.
Subroutine parse_twofactor_form_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2262.
Subroutine enroll_twofactor_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2277.
Subroutine validate_twofactor_authy redefined at /software/webmin/webmin/webmin-lib.pl line 2308.
Subroutine validate_twofactor_apikey_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2354.
Subroutine show_twofactor_form_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2368.
Subroutine parse_twofactor_form_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2382.
Subroutine generate_base32_secret redefined at /software/webmin/webmin/webmin-lib.pl line 2398.
Subroutine enroll_twofactor_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2412.
Subroutine message_twofactor_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2421.
Subroutine validate_twofactor_totp redefined at /software/webmin/webmin/webmin-lib.pl line 2435.
Subroutine canonicalize_ip6 redefined at /software/webmin/webmin/webmin-lib.pl line 2457.
Subroutine list_keys redefined at /software/webmin/webmin/gnupg-lib.pl line 23.
Subroutine list_keys_sorted redefined at /software/webmin/webmin/gnupg-lib.pl line 74.
Subroutine list_secret_keys redefined at /software/webmin/webmin/gnupg-lib.pl line 82.
Subroutine key_fingerprint redefined at /software/webmin/webmin/gnupg-lib.pl line 88.
Subroutine get_passphrase redefined at /software/webmin/webmin/gnupg-lib.pl line 105.
Subroutine put_passphrase redefined at /software/webmin/webmin/gnupg-lib.pl line 116.
Subroutine encrypt_data redefined at /software/webmin/webmin/gnupg-lib.pl line 128.
Subroutine decrypt_data redefined at /software/webmin/webmin/gnupg-lib.pl line 167.
Subroutine sign_data redefined at /software/webmin/webmin/gnupg-lib.pl line 224.
Subroutine verify_data redefined at /software/webmin/webmin/gnupg-lib.pl line 283.
Subroutine read_entire_file redefined at /software/webmin/webmin/gnupg-lib.pl line 327.
Subroutine write_entire_file redefined at /software/webmin/webmin/gnupg-lib.pl line 339.
Subroutine get_trust_level redefined at /software/webmin/webmin/gnupg-lib.pl line 349.
Subroutine delete_key redefined at /software/webmin/webmin/gnupg-lib.pl line 371.
Subroutine default_email_address redefined at /software/webmin/webmin/gnupg-lib.pl line 398.
Subroutine fetch_gpg_key redefined at /software/webmin/webmin/gnupg-lib.pl line 415.
Subroutine search_gpg_keys redefined at /software/webmin/webmin/gnupg-lib.pl line 442.
Use of uninitialized value in -r at /software/webmin/webalizer/webalizer-lib.pl line 16.
..done

Enabling background status collection ..
..done

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

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

  http://centos66.ehowstuff.local:10000/

and login with the name and password you entered previously.

4. Access webmin via http://centos66.ehowstuff.local:10000/ or http://IP-Address:10000/ :

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.670 on CentOS 6.5

Webmin is a freeware program that provide web-based interface for system administration and system configuration tool for administrators. Its for Unix-like systems, although recent versions can also be installed and run on Windows operating system. With Webmin, system administrators can perform daily systems administration task and administer the servers from graphical web-based interface which very useful for newbies who do not know much about unix/linux command line. As our future references, i will show you multiple ways to setup Webmin 1.670 on CentOS 6.5 :

Option A : Setup Webmin using Yum

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

[root@centos6-05 ~]# 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. Download and install my GPG key :

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

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

[root@centos6-05 ~]# yum install webmin -y

Option B : Setup Webmin using RPM file

1. If you plan to use RPM version of Webmin, you have to download the file for webmin.

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

2. Then run the command to install the downloaded RPM file :

[root@centos6-05 ~]# rpm -U webmin-1.670-1.noarch.rpm

Example :

[root@centos6-05 ~]# rpm -U webmin-1.670-1.noarch.rpm
Operating system is CentOS Linux
Webmin install complete. You can now login to http://centos6.5.ehowstuff.local:10000/
as root with your root password.

Option C : Setup Webmin using the tar.gz file

1. Download the Webmin and extract the tar.gz package.

[root@centos6-05 ~]# cd /tmp
[root@centos6-05 tmp]# wget http://prdownloads.sourceforge.net/webadmin/webmin-1.670.tar.gz
[root@centos6-05 tmp]# gunzip webmin-1.670.tar.gz
[root@centos6-05 tmp]# tar xf webmin-1.670.tar
[root@centos6-05 tmp]# cd webmin-1.670

2. When unpacked, the distribution creates a subdirectory called webmin-1.670. Run the setup.sh to start the installation s below command :

[root@centos6-05 webmin-1.670]# ./setup.sh /usr/local/webmin

Example :

[root@centos6-05 webmin-1.670]# ./setup.sh /usr/local/webmin
***********************************************************************
*            Welcome to the Webmin setup script, version 1.670        *
***********************************************************************
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.670 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: 6.5

***********************************************************************
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..
..done

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

Changing ownership and permissions ..
..done

Running postinstall scripts ..
Use of uninitialized value in split at /usr/local/webmin/acl/acl-lib.pl line 47.
Subroutine setup_ca redefined at /usr/local/webmin/webmin/webmin-lib.pl line 77.
Subroutine install_webmin_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 127.
Subroutine grant_user_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 439.
Subroutine delete_webmin_module redefined at /usr/local/webmin/webmin/webmin-lib.pl line 480.
Subroutine file_basename redefined at /usr/local/webmin/webmin/webmin-lib.pl line 589.
Subroutine gnupg_setup redefined at /usr/local/webmin/webmin/webmin-lib.pl line 603.
Subroutine list_standard_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 631.
Subroutine standard_chooser_button redefined at /usr/local/webmin/webmin/webmin-lib.pl line 663.
Subroutine list_third_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 676.
Subroutine third_chooser_button redefined at /usr/local/webmin/webmin/webmin-lib.pl line 708.
Subroutine get_webmin_base_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 719.
Subroutine base_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 729.
Subroutine get_newmodule_users redefined at /usr/local/webmin/webmin/webmin-lib.pl line 740.
Subroutine save_newmodule_users redefined at /usr/local/webmin/webmin/webmin-lib.pl line 762.
Subroutine get_miniserv_sockets redefined at /usr/local/webmin/webmin/webmin-lib.pl line 786.
Subroutine fetch_updates redefined at /usr/local/webmin/webmin/webmin-lib.pl line 834.
Subroutine check_update_signature redefined at /usr/local/webmin/webmin/webmin-lib.pl line 901.
Subroutine find_cron_job redefined at /usr/local/webmin/webmin/webmin-lib.pl line 932.
Subroutine get_ipkeys redefined at /usr/local/webmin/webmin/webmin-lib.pl line 944.
Subroutine save_ipkeys redefined at /usr/local/webmin/webmin/webmin-lib.pl line 965.
Subroutine validate_key_cert redefined at /usr/local/webmin/webmin/webmin-lib.pl line 997.
Subroutine detect_operating_system redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1018.
Subroutine show_webmin_notifications redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1053.
Subroutine get_webmin_notifications redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1069.
Subroutine get_system_uptime redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1271.
Subroutine list_operating_systems redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1318.
Subroutine shared_root_directory redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1343.
Subroutine submit_os_info redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1380.
Subroutine get_webmin_id redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1408.
Subroutine ip_match redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1424.
Subroutine prefix_to_mask redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1519.
Subroutine valid_allow redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1533.
Subroutine get_preloads redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1591.
Subroutine save_preloads redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1603.
Subroutine get_tempdirs redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1614.
Subroutine save_tempdirs redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1631.
Subroutine get_module_install_type redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1650.
Subroutine get_install_type redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1667.
Subroutine list_cached_files redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1697.
Subroutine show_restart_page redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1716.
Subroutine cert_info redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1734.
Subroutine cert_pem_data redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1775.
Subroutine cert_pkcs12_data redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1790.
Subroutine get_blocked_users_hosts redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1816.
Subroutine show_ssl_key_form redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1844.
Subroutine parse_ssl_key_form redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1888.
Subroutine parse_ssl_csr_form redefined at /usr/local/webmin/webmin/webmin-lib.pl line 1961.
Subroutine build_installed_modules redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2035.
Subroutine get_latest_webmin_version redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2077.
Subroutine filter_updates redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2110.
Subroutine get_clone_source redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2152.
Subroutine retry_http_download redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2168.
Subroutine list_twofactor_providers redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2199.
Subroutine show_twofactor_apikey_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2209.
Subroutine validate_twofactor_apikey_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2221.
Subroutine show_twofactor_form_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2246.
Subroutine parse_twofactor_form_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2262.
Subroutine enroll_twofactor_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2277.
Subroutine validate_twofactor_authy redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2308.
Subroutine validate_twofactor_apikey_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2354.
Subroutine show_twofactor_form_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2368.
Subroutine parse_twofactor_form_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2382.
Subroutine generate_base32_secret redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2398.
Subroutine enroll_twofactor_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2412.
Subroutine message_twofactor_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2421.
Subroutine validate_twofactor_totp redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2435.
Subroutine canonicalize_ip6 redefined at /usr/local/webmin/webmin/webmin-lib.pl line 2457.
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.
Use of uninitialized value $squid::squid_version in substitution (s///) at /usr/local/webmin/squid/squid-lib.pl line 20.
Use of uninitialized value $squid::squid_version in numeric ge (>=) at /usr/local/webmin/squid/squid-lib.pl line 295.
Use of uninitialized value $squid::squid_version in numeric ge (>=) at /usr/local/webmin/squid/squid-lib.pl line 302.
Use of uninitialized value $squid::squid_version in numeric ge (>=) at /usr/local/webmin/squid/squid-lib.pl line 307.
Use of uninitialized value $squid::squid_version in numeric ge (>=) at /usr/local/webmin/squid/squid-lib.pl line 312.
Use of uninitialized value $squid::squid_version in numeric ge (>=) at /usr/local/webmin/squid/squid-lib.pl line 316.
..done

Enabling background status collection ..
..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://centos6.5.ehowstuff.local:10000/

and login with the name and password you entered previously.

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 Ubuntu 11.10

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 Ubuntu 11.10 server.

1. Edit /etc/apt/sources.list file

ehowstuff@server:~$ sudo vi /etc/apt/sources.list
[sudo] password for ehowstuff:

Add this line at the bottom of sources.list file :

~
deb http://download.webmin.com/download/repository sarge contrib
deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
~

Save and exit the file :

:wq!

2. Download GPG key :

ehowstuff@server:~$ wget http://www.webmin.com/jcameron-key.asc
--2012-04-15 10:00:05--  http://www.webmin.com/jcameron-key.asc
Resolving www.webmin.com... 216.34.181.97
Connecting to 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 0s

2012-04-15 10:00:06 (49.5 MB/s) - `jcameron-key.asc' saved [1320/1320]

Import GPG key :

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

3. Install webmin :

ehowstuff@server:~$ 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 57 not upgraded.
Need to get 16.2 MB of archives.
After this operation, 101 MB of additional disk space will be used.
Do you want to continue [Y/n]? y
Get:1 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libnet-ssleay-perl i386 1.36-3 [206 kB]
Get:2 http://download.webmin.com/download/repository/ sarge/contrib webmin all 1.580 [15.8 MB]
Get:3 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe libauthen-pam-perl i386 0.16-2build1 [31.4 kB]
Get:4 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libio-pty-perl i386 1:1.08-1build1 [39.5 kB]
Get:5 http://sg.archive.ubuntu.com/ubuntu/ oneiric/main libapt-pkg-perl i386 0.1.24build3 [89.6 kB]
Get:6 http://sg.archive.ubuntu.com/ubuntu/ oneiric/universe apt-show-versions all 0.17 [32.9 kB]
Fetched 16.2 MB in 2min 58s (90.3 kB/s)
Selecting previously deselected package libnet-ssleay-perl.
(Reading database ... 50828 files and directories currently installed.)
Unpacking libnet-ssleay-perl (from .../libnet-ssleay-perl_1.36-3_i386.deb) ...
Selecting previously deselected package libauthen-pam-perl.
Unpacking libauthen-pam-perl (from .../libauthen-pam-perl_0.16-2build1_i386.deb) ...
Selecting previously deselected package libio-pty-perl.
Unpacking libio-pty-perl (from .../libio-pty-perl_1%3a1.08-1build1_i386.deb) ...
Selecting previously deselected package libapt-pkg-perl.
Unpacking libapt-pkg-perl (from .../libapt-pkg-perl_0.1.24build3_i386.deb) ...
Selecting previously deselected package apt-show-versions.
Unpacking apt-show-versions (from .../apt-show-versions_0.17_all.deb) ...
Selecting previously deselected package webmin.
Unpacking webmin (from .../archives/webmin_1.580_all.deb) ...
Processing triggers for man-db ...
Processing triggers for ureadahead ...
ureadahead will be reprofiled on next reboot
Setting up libnet-ssleay-perl (1.36-3) ...
Setting up libauthen-pam-perl (0.16-2build1) ...
Setting up libio-pty-perl (1:1.08-1build1) ...
Setting up libapt-pkg-perl (0.1.24build3) ...
Setting up apt-show-versions (0.17) ...
** initializing cache. This may take a while **
Setting up webmin (1.580) ...
Webmin install complete. You can now login to https://server.ehowstuff.local:10000/
as root with your root password, or as any user who can use sudo
to run commands as root.

4. Login Webmin using root access to the following URL :

https://server_ip:10000/
Example :
https://192.168.1.49:10000/