{"id":5724,"date":"2015-01-11T09:55:57","date_gmt":"2015-01-11T01:55:57","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=5724"},"modified":"2023-04-28T09:47:20","modified_gmt":"2023-04-28T09:47:20","slug":"how-to-install-webmin-1-720-on-centos-6rhel-6","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-webmin-1-720-on-centos-6rhel-6\/","title":{"rendered":"How to Install Webmin 1.720 on CentOS 6\/RHEL 6"},"content":{"rendered":"<p>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. <\/p>\n<p>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.<\/p>\n<p><h7>1. Download Webmin :<\/h7><\/p>\n<pre>\n[root@centos66 ~]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.720.tar.gz\n<\/pre>\n<p><h7>2. Create \/software and extract webmin from where it was downloaded :<\/h7><\/p>\n<pre>\n[root@centos66 ~]# mkdir -p \/software\n[root@centos66 ~]# tar xzvf webmin-1.720.tar.gz\n[root@centos66 ~]# cd webmin-1.720\n<\/pre>\n<p><h7>3. Run setup.sh script :<\/h7><\/p>\n<pre>\n[root@centos66 webmin-1.720]# .\/setup.sh \/software\/webmin\n<\/pre>\n<p>Example :<\/p>\n<pre>\n[root@centos66 webmin-1.720]# .\/setup.sh \/software\/webmin\n\nWhen the setup.sh script is run, it will ask the following questions :\nThe Webmin configuration directory\nThe 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. \nIf you have previously installed Webmin and use the same config directory, this will be the only question asked.\nThe Webmin log directory\nThe location for pid and webserver log files.\nThe full path to perl on your system\nThis is usually \/usr\/bin\/perl or \/usr\/local\/bin\/perl\nYour Operating system type\nIn Webmin versions 0.990 and above, this question is only asked if your operating system cannot be automatically determined.\nThe 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!\nWeb server port\nThe TCP port that the Webmin web server will listen on.\nWeb server login and password\nThe login name and password used to acess the Webmin web server.\nWeb server hostname\nThe hostname of the machine on which Webmin will run.\nUse SSL\nThis question will only be asked if your system has the Perl SSL libraries installed. See below for more..\nStart Webmin at boot time\nIf your OS is supported, Webmin will ask if you want to have it automatically started at boot time.\nAssuming 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.\nTypically you can connect to Webmin at http:\/\/localhost:10000\/. Or if accessing it remotely, replace localhost with your system's IP address.\n<\/pre>\n<pre>\n[root@centos66 webmin-1.720]# .\/setup.sh \/software\/webmin\n***********************************************************************\n*            Welcome to the Webmin setup script, version 1.720        *\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 \/root\/webmin-1.720 to \/software\/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.6\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 \/software\/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 ..\nSubroutine setup_ca redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 77.\nSubroutine install_webmin_module redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 127.\nSubroutine grant_user_module redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 439.\nSubroutine delete_webmin_module redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 480.\nSubroutine file_basename redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 589.\nSubroutine gnupg_setup redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 603.\nSubroutine list_standard_modules redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 631.\nSubroutine standard_chooser_button redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 663.\nSubroutine list_third_modules redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 676.\nSubroutine third_chooser_button redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 708.\nSubroutine get_webmin_base_version redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 719.\nSubroutine base_version redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 729.\nSubroutine get_newmodule_users redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 740.\nSubroutine save_newmodule_users redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 762.\nSubroutine get_miniserv_sockets redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 786.\nSubroutine fetch_updates redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 834.\nSubroutine check_update_signature redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 901.\nSubroutine find_cron_job redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 932.\nSubroutine get_ipkeys redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 944.\nSubroutine save_ipkeys redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 965.\nSubroutine validate_key_cert redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 997.\nSubroutine detect_operating_system redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1018.\nSubroutine show_webmin_notifications redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1053.\nSubroutine get_webmin_notifications redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1069.\nSubroutine get_system_uptime redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1271.\nSubroutine list_operating_systems redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1318.\nSubroutine shared_root_directory redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1343.\nSubroutine submit_os_info redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1380.\nSubroutine get_webmin_id redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1408.\nSubroutine ip_match redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1424.\nSubroutine prefix_to_mask redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1519.\nSubroutine valid_allow redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1533.\nSubroutine get_preloads redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1591.\nSubroutine save_preloads redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1603.\nSubroutine get_tempdirs redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1614.\nSubroutine save_tempdirs redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1631.\nSubroutine get_module_install_type redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1650.\nSubroutine get_install_type redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1667.\nSubroutine list_cached_files redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1697.\nSubroutine show_restart_page redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1716.\nSubroutine cert_info redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1734.\nSubroutine cert_pem_data redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1775.\nSubroutine cert_pkcs12_data redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1790.\nSubroutine get_blocked_users_hosts redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1816.\nSubroutine show_ssl_key_form redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1844.\nSubroutine parse_ssl_key_form redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1888.\nSubroutine parse_ssl_csr_form redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 1961.\nSubroutine build_installed_modules redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2035.\nSubroutine get_latest_webmin_version redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2077.\nSubroutine filter_updates redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2110.\nSubroutine get_clone_source redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2152.\nSubroutine retry_http_download redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2168.\nSubroutine list_twofactor_providers redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2199.\nSubroutine show_twofactor_apikey_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2209.\nSubroutine validate_twofactor_apikey_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2221.\nSubroutine show_twofactor_form_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2246.\nSubroutine parse_twofactor_form_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2262.\nSubroutine enroll_twofactor_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2277.\nSubroutine validate_twofactor_authy redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2308.\nSubroutine validate_twofactor_apikey_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2354.\nSubroutine show_twofactor_form_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2368.\nSubroutine parse_twofactor_form_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2382.\nSubroutine generate_base32_secret redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2398.\nSubroutine enroll_twofactor_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2412.\nSubroutine message_twofactor_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2421.\nSubroutine validate_twofactor_totp redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2435.\nSubroutine canonicalize_ip6 redefined at \/software\/webmin\/webmin\/webmin-lib.pl line 2457.\nSubroutine list_keys redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 23.\nSubroutine list_keys_sorted redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 74.\nSubroutine list_secret_keys redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 82.\nSubroutine key_fingerprint redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 88.\nSubroutine get_passphrase redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 105.\nSubroutine put_passphrase redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 116.\nSubroutine encrypt_data redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 128.\nSubroutine decrypt_data redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 167.\nSubroutine sign_data redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 224.\nSubroutine verify_data redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 283.\nSubroutine read_entire_file redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 327.\nSubroutine write_entire_file redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 339.\nSubroutine get_trust_level redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 349.\nSubroutine delete_key redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 371.\nSubroutine default_email_address redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 398.\nSubroutine fetch_gpg_key redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 415.\nSubroutine search_gpg_keys redefined at \/software\/webmin\/webmin\/gnupg-lib.pl line 442.\nUse of uninitialized value in -r at \/software\/webmin\/webalizer\/webalizer-lib.pl line 16.\n..done\n\nEnabling background status collection ..\n..done\n\nAttempting to start Webmin mini web server..\nStarting Webmin server in \/software\/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:\/\/centos66.ehowstuff.local:10000\/\n\nand login with the name and password you entered previously.\n<\/pre>\n<p><h7>4. Access webmin via http:\/\/centos66.ehowstuff.local:10000\/ or http:\/\/IP-Address:10000\/ : <\/h7><\/p>\n","protected":false},"excerpt":{"rendered":"<p>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&#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":[1065],"tags":[1244,1536,1917],"class_list":["post-5724","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-system-administration","tag-centos","tag-linux","tag-webmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5724","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=5724"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/5724\/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=5724"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=5724"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=5724"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}