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
name=Webmin Distribution Neutral

2. Download and install my GPG key :

[root@centos6-05 ~]# wget
[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

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
[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 to start the installation s below command :

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

Example :

[root@centos6-05 webmin-1.670]# ./ /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 ..

Creating web server config files..

Creating access control file..

Inserting path to perl into scripts..

Creating start and stop scripts..

Copying config files..

Configuring Webmin to start at boot time..

Creating uninstall script /etc/webmin/ ..

Changing ownership and permissions ..

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

Enabling background status collection ..

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

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


and login with the name and password you entered previously.


Leave a Reply

Your email address will not be published. Required fields are marked *