{"id":4816,"date":"2014-02-16T20:46:46","date_gmt":"2014-02-16T12:46:46","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=4816"},"modified":"2023-04-28T09:48:20","modified_gmt":"2023-04-28T09:48:20","slug":"how-to-setup-webmin-1-670-on-centos-6-5","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-setup-webmin-1-670-on-centos-6-5\/","title":{"rendered":"How to Setup Webmin 1.670 on CentOS 6.5"},"content":{"rendered":"<p>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 :<\/p>\n<h3>Option A : Setup Webmin using Yum<\/h3>\n<p>1. Enabling Yum repository for Webmin. Create the \/etc\/yum.repos.d\/webmin.repo file containing :<\/p>\n<pre>[root@centos6-05 ~]# vi \/etc\/yum.repos.d\/webmin.repo<\/pre>\n<pre>\n[Webmin]\nname=Webmin Distribution Neutral\n#baseurl=http:\/\/download.webmin.com\/download\/yum\nmirrorlist=http:\/\/download.webmin.com\/download\/yum\/mirrorlist\nenabled=1<\/pre>\n<p>2. Download and install my GPG key :<\/p>\n<pre>[root@centos6-05 ~]# wget http:\/\/www.webmin.com\/jcameron-key.asc\n[root@centos6-05 ~]# rpm --import jcameron-key.asc<\/pre>\n<p>3. Run \u201cyum install\u201d command to install Webmin software and all required dependencies :<\/p>\n<pre>[root@centos6-05 ~]# yum install webmin -y<\/pre>\n<h3>Option B : Setup Webmin using RPM file<\/h3>\n<p>1. If you plan to use RPM version of Webmin, you have to download the file for <a href=\"https:\/\/www.webmin.com\/download.html\">webmin<\/a>.<\/p>\n<pre>[root@centos6-05 ~]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.670-1.noarch.rpm<\/pre>\n<p>2. Then run the command to install the downloaded RPM file :<\/p>\n<pre>\n[root@centos6-05 ~]# rpm -U webmin-1.670-1.noarch.rpm<\/pre>\n<p>Example :<\/p>\n<pre>[root@centos6-05 ~]# rpm -U webmin-1.670-1.noarch.rpm\nOperating system is CentOS Linux\nWebmin install complete. You can now login to http:\/\/centos6.5.ehowstuff.local:10000\/\nas root with your root password.<\/pre>\n<h3>Option C : Setup Webmin using the tar.gz file<\/h3>\n<p>1. Download the Webmin and extract the tar.gz package.<\/p>\n<pre>\n[root@centos6-05 ~]# cd \/tmp\n[root@centos6-05 tmp]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.670.tar.gz\n[root@centos6-05 tmp]# gunzip webmin-1.670.tar.gz\n[root@centos6-05 tmp]# tar xf webmin-1.670.tar\n[root@centos6-05 tmp]# cd webmin-1.670\n<\/pre>\n<p>2. When unpacked, the distribution creates a subdirectory called webmin-1.670. Run the setup.sh to start the installation s below command :<\/p>\n<pre>\n[root@centos6-05 webmin-1.670]# .\/setup.sh \/usr\/local\/webmin\n<\/pre>\n<p>Example :<\/p>\n<pre>[root@centos6-05 webmin-1.670]# .\/setup.sh \/usr\/local\/webmin\n***********************************************************************\n*            Welcome to the Webmin setup script, version 1.670        *\n***********************************************************************\nWebmin is a web-based interface that allows Unix-like operating\nsystems and common Unix services to be easily administered.\n\nInstalling Webmin from \/tmp\/webmin-1.670 to \/usr\/local\/webmin ...\n\n***********************************************************************\nWebmin uses separate directories for configuration files and log files.\nUnless you want to run multiple versions of Webmin at the same time\nyou can just accept the defaults.\n\nConfig file directory [\/etc\/webmin]:\nLog file directory [\/var\/webmin]:\n\n***********************************************************************\nWebmin is written entirely in Perl. Please enter the full path to the\nPerl 5 interpreter on your system.\n\nFull path to perl (default \/usr\/bin\/perl):\n\nTesting Perl ...\nPerl seems to be installed ok\n\n***********************************************************************\nOperating system name:    CentOS Linux\nOperating system version: 6.5\n\n***********************************************************************\nWebmin uses its own password protected web server to provide access\nto the administration programs. The setup script needs to know :\n - What port to run the web server on. There must not be another\n   web server already using this port.\n - The login name required to access the web server.\n - The password required to access the web server.\n - If the webserver should use SSL (if your system supports it).\n - Whether to start webmin at boot time.\n\nWeb server port (default 10000):\nLogin name (default admin):\nLogin password:\nPassword again:\nThe Perl SSLeay library is not installed. SSL not available.\nStart Webmin at boot time (y\/n): y\n***********************************************************************\nCopying files to \/usr\/local\/webmin ..\n..done\n\nCreating web server config files..\n..done\n\nCreating access control file..\n..done\n\nInserting path to perl into scripts..\n..done\n\nCreating start and stop scripts..\n..done\n\nCopying config files..\n..done\n\nConfiguring Webmin to start at boot time..\n..done\n\nCreating uninstall script \/etc\/webmin\/uninstall.sh ..\n..done\n\nChanging ownership and permissions ..\n..done\n\nRunning postinstall scripts ..\nUse of uninitialized value in split at \/usr\/local\/webmin\/acl\/acl-lib.pl line 47.\nSubroutine setup_ca redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 77.\nSubroutine install_webmin_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 127.\nSubroutine grant_user_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 439.\nSubroutine delete_webmin_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 480.\nSubroutine file_basename redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 589.\nSubroutine gnupg_setup redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 603.\nSubroutine list_standard_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 631.\nSubroutine standard_chooser_button redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 663.\nSubroutine list_third_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 676.\nSubroutine third_chooser_button redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 708.\nSubroutine get_webmin_base_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 719.\nSubroutine base_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 729.\nSubroutine get_newmodule_users redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 740.\nSubroutine save_newmodule_users redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 762.\nSubroutine get_miniserv_sockets redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 786.\nSubroutine fetch_updates redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 834.\nSubroutine check_update_signature redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 901.\nSubroutine find_cron_job redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 932.\nSubroutine get_ipkeys redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 944.\nSubroutine save_ipkeys redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 965.\nSubroutine validate_key_cert redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 997.\nSubroutine detect_operating_system redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1018.\nSubroutine show_webmin_notifications redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1053.\nSubroutine get_webmin_notifications redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1069.\nSubroutine get_system_uptime redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1271.\nSubroutine list_operating_systems redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1318.\nSubroutine shared_root_directory redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1343.\nSubroutine submit_os_info redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1380.\nSubroutine get_webmin_id redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1408.\nSubroutine ip_match redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1424.\nSubroutine prefix_to_mask redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1519.\nSubroutine valid_allow redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1533.\nSubroutine get_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1591.\nSubroutine save_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1603.\nSubroutine get_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1614.\nSubroutine save_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1631.\nSubroutine get_module_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1650.\nSubroutine get_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1667.\nSubroutine list_cached_files redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1697.\nSubroutine show_restart_page redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1716.\nSubroutine cert_info redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1734.\nSubroutine cert_pem_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1775.\nSubroutine cert_pkcs12_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1790.\nSubroutine get_blocked_users_hosts redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1816.\nSubroutine show_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1844.\nSubroutine parse_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1888.\nSubroutine parse_ssl_csr_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1961.\nSubroutine build_installed_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2035.\nSubroutine get_latest_webmin_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2077.\nSubroutine filter_updates redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2110.\nSubroutine get_clone_source redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2152.\nSubroutine retry_http_download redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2168.\nSubroutine list_twofactor_providers redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2199.\nSubroutine show_twofactor_apikey_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2209.\nSubroutine validate_twofactor_apikey_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2221.\nSubroutine show_twofactor_form_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2246.\nSubroutine parse_twofactor_form_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2262.\nSubroutine enroll_twofactor_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2277.\nSubroutine validate_twofactor_authy redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2308.\nSubroutine validate_twofactor_apikey_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2354.\nSubroutine show_twofactor_form_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2368.\nSubroutine parse_twofactor_form_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2382.\nSubroutine generate_base32_secret redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2398.\nSubroutine enroll_twofactor_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2412.\nSubroutine message_twofactor_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2421.\nSubroutine validate_twofactor_totp redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2435.\nSubroutine canonicalize_ip6 redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 2457.\nSubroutine list_keys redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 23.\nSubroutine list_keys_sorted redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 74.\nSubroutine list_secret_keys redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 82.\nSubroutine key_fingerprint redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 88.\nSubroutine get_passphrase redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 105.\nSubroutine put_passphrase redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 116.\nSubroutine encrypt_data redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 128.\nSubroutine decrypt_data redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 167.\nSubroutine sign_data redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 224.\nSubroutine verify_data redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 283.\nSubroutine read_entire_file redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 327.\nSubroutine write_entire_file redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 339.\nSubroutine get_trust_level redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 349.\nSubroutine delete_key redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 371.\nSubroutine default_email_address redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 398.\nSubroutine fetch_gpg_key redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 415.\nSubroutine search_gpg_keys redefined at \/usr\/local\/webmin\/webmin\/gnupg-lib.pl line 442.\nUse of uninitialized value $squid::squid_version in substitution (s\/\/\/) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 20.\nUse of uninitialized value $squid::squid_version in numeric ge (&gt;=) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 295.\nUse of uninitialized value $squid::squid_version in numeric ge (&gt;=) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 302.\nUse of uninitialized value $squid::squid_version in numeric ge (&gt;=) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 307.\nUse of uninitialized value $squid::squid_version in numeric ge (&gt;=) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 312.\nUse of uninitialized value $squid::squid_version in numeric ge (&gt;=) at \/usr\/local\/webmin\/squid\/squid-lib.pl line 316.\n..done\n\nEnabling background status collection ..\n..done\n\nAttempting to start Webmin mini web server..\nStarting Webmin server in \/usr\/local\/webmin\nPre-loaded WebminCore\n..done\n\n***********************************************************************\nWebmin has been installed and started successfully. Use your web\nbrowser to go to\n\n  http:\/\/centos6.5.ehowstuff.local:10000\/\n\nand login with the name and password you entered previously.<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>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&#8230;<\/p>\n","protected":false},"author":6,"featured_media":5599,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[2055,1065],"tags":[1256,1536,1917],"class_list":["post-4816","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-system-administration","tag-centos-6-5","tag-linux","tag-webmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4816","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/users\/6"}],"replies":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/comments?post=4816"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/4816\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/5599"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=4816"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=4816"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=4816"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}