{"id":1725,"date":"2012-01-21T10:53:42","date_gmt":"2012-01-21T02:53:42","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=1725"},"modified":"2023-04-28T09:49:58","modified_gmt":"2023-04-28T09:49:58","slug":"how-to-install-webmin-1-570-on-centos-5-7-from-tar-gz-file","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-install-webmin-1-570-on-centos-5-7-from-tar-gz-file\/","title":{"rendered":"How to Install Webmin 1.570 on CentOS 5.7 from tar.gz file"},"content":{"rendered":"<p>In this post, i will share on how to install the Webmin, a web-based interface for system administration for Linux, on CentOS 5.7 server. Different from my previous post on &#8220;<a href=\"https:\/\/webhostinggeeks.com\/howto\/how-to-install-webmin-1-570-1-on-centos-6-2-using-rpm\/\">How to Install Webmin 1.570-1 on CentOS 6.2 using RPM<\/a>&#8220;, this post will show you the steps on installing the webmin from the tar.gz file.<\/p>\n<p>Download the tar.gz file.<\/p>\n<pre class=\"code\">\n[root@CentOS57 ~]# cd \/tmp\n[root@CentOS57 tmp]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.570.tar.gz\n--2012-01-21 08:22:30--  http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.570.tar.gz\nResolving prdownloads.sourceforge.net... 216.34.181.59\nConnecting to prdownloads.sourceforge.net|216.34.181.59|:80... connected.\nHTTP request sent, awaiting response... 301 Moved Permanently\nLocation: http:\/\/downloads.sourceforge.net\/project\/webadmin\/webmin\/1.570\/webmin-1.570.tar.gz [following]\n--2012-01-21 08:22:31--  http:\/\/downloads.sourceforge.net\/project\/webadmin\/webmin\/1.570\/webmin-1.570.tar.gz\nResolving downloads.sourceforge.net... 216.34.181.59\nReusing existing connection to prdownloads.sourceforge.net:80.\nHTTP request sent, awaiting response... 302 Found\nLocation: http:\/\/cdnetworks-kr-1.dl.sourceforge.net\/project\/webadmin\/webmin\/1.570\/webmin-1.570.tar.gz [following]\n--2012-01-21 08:22:31--  http:\/\/cdnetworks-kr-1.dl.sourceforge.net\/project\/webadmin\/webmin\/1.570\/webmin-1.570.tar.gz\nResolving cdnetworks-kr-1.dl.sourceforge.net... 211.39.135.162\nConnecting to cdnetworks-kr-1.dl.sourceforge.net|211.39.135.162|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 15200156 (14M) [application\/x-gzip]\nSaving to: `webmin-1.570.tar.gz'\n\n100%[==========================================================>] 15,200,156  81.3K\/s   in 3m 10s\n\n2012-01-21 08:25:42 (78.2 KB\/s) - `webmin-1.570.tar.gz' saved [15200156\/15200156]\n<\/pre>\n<p>Extract the file.<\/p>\n<pre class=\"code\">\n[root@CentOS57 tmp]# tar xzvf webmin-1.570.tar.gz\n[root@CentOS57 tmp]# cd webmin-1.570\n<\/pre>\n<p>When the setup.sh script is run, it will ask the following questions :<\/p>\n<p>    <strong>The Webmin configuration directory<\/strong><br \/>\n    -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.<br \/>\n    If you have previously installed Webmin and use the same config directory, this will be the only question asked.<\/p>\n<p>    <strong>The Webmin log directory<\/strong><br \/>\n    -The location for pid and webserver log files.<\/p>\n<p>    <strong>The full path to perl on your system<\/strong><br \/>\n    -This is usually \/usr\/bin\/perl or \/usr\/local\/bin\/perl<\/p>\n<p>    <strong>Your Operating system type<\/strong><br \/>\n    -In Webmin versions 0.990 and above, this question is only asked if your operating system cannot be automatically determined.<br \/>\n    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!<\/p>\n<p>    <strong>Web server port<\/strong><br \/>\n    -The TCP port that the Webmin web server will listen on.<\/p>\n<p>    <strong>Web server login and password<\/strong><br \/>\n    -The login name and password used to acess the Webmin web server.<\/p>\n<p>    <strong>Web server hostname<\/strong><br \/>\n    -The hostname of the machine on which Webmin will run.<\/p>\n<p>    <strong>Use SSL<\/strong><br \/>\n    -This question will only be asked if your system has the Perl SSL libraries installed. See below for more..<\/p>\n<p>    <strong>Start Webmin at boot time<\/strong><br \/>\n    -If your OS is supported, Webmin will ask if you want to have it automatically started at boot time.<\/p>\n<pre class=\"code\">\n[root@CentOS57 webmin-1.570]# .\/setup.sh \/usr\/local\/webmin\n***********************************************************************\n*            Welcome to the Webmin setup script, version 1.570        *\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.570 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: 5.7\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\nCreating uninstall script \/etc\/webmin\/uninstall.sh ..\n..done\n\nChanging ownership and permissions ..\n..done\n\nRunning postinstall scripts ..\nPID file \/var\/webmin\/miniserv.pid does not exist\nSubroutine setup_ca redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 72.\nSubroutine install_webmin_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 122.\nSubroutine grant_user_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 419.\nSubroutine delete_webmin_module redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 460.\nSubroutine file_basename redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 569.\nSubroutine gnupg_setup redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 583.\nSubroutine list_standard_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 611.\nSubroutine standard_chooser_button redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 643.\nSubroutine list_third_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 656.\nSubroutine third_chooser_button redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 688.\nSubroutine get_webmin_base_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 699.\nSubroutine base_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 709.\nSubroutine get_newmodule_users redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 720.\nSubroutine save_newmodule_users redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 742.\nSubroutine get_miniserv_sockets redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 766.\nSubroutine fetch_updates redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 814.\nSubroutine check_update_signature redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 881.\nSubroutine find_cron_job redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 912.\nSubroutine get_ipkeys redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 924.\nSubroutine save_ipkeys redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 945.\nSubroutine validate_key_cert redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 977.\nSubroutine detect_operating_system redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 998.\nSubroutine show_webmin_notifications redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1033.\nSubroutine get_webmin_notifications redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1049.\nSubroutine get_system_uptime redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1238.\nSubroutine list_operating_systems redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1285.\nSubroutine shared_root_directory redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1310.\nSubroutine submit_os_info redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1347.\nSubroutine get_webmin_id redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1375.\nSubroutine ip_match redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1391.\nSubroutine prefix_to_mask redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1463.\nSubroutine valid_allow redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1477.\nSubroutine get_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1522.\nSubroutine save_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1534.\nSubroutine get_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1545.\nSubroutine save_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1562.\nSubroutine get_module_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1581.\nSubroutine get_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1598.\nSubroutine list_cached_files redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1628.\nSubroutine show_restart_page redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1647.\nSubroutine cert_info redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1665.\nSubroutine cert_pem_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1706.\nSubroutine cert_pkcs12_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1721.\nSubroutine get_blocked_users_hosts redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1747.\nSubroutine show_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1775.\nSubroutine parse_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1819.\nSubroutine build_installed_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1892.\nSubroutine get_latest_webmin_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1934.\nSubroutine filter_updates redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1967.\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.\n..done\n\nEnabling background status collection ..\nPID file \/var\/webmin\/miniserv.pid does not exist\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:\/\/CentOS57:10000\/\n\nand login with the name and password you entered previously.\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>In this post, i will share on how to install the Webmin, a web-based interface for system administration for Linux, on CentOS 5.7 server. Different from my previous post on&#8230;<\/p>\n","protected":false},"author":6,"featured_media":885,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"wds_primary_category":0,"footnotes":""},"categories":[1091],"tags":[1248,1536,1821,1917,1918],"class_list":["post-1725","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-webmin","tag-centos-5-7","tag-linux","tag-system-administration-2","tag-webmin","tag-webmin-1-570"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1725","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=1725"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/1725\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media\/885"}],"wp:attachment":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/media?parent=1725"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=1725"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=1725"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}