{"id":3343,"date":"2012-06-07T22:49:29","date_gmt":"2012-06-07T14:49:29","guid":{"rendered":"https:\/\/webhostinggeeks.com\/howto\/?p=3343"},"modified":"2023-04-28T09:49:15","modified_gmt":"2023-04-28T09:49:15","slug":"how-to-setup-webmin-1-580-on-centos-5-8","status":"publish","type":"post","link":"https:\/\/webhostinggeeks.com\/howto\/how-to-setup-webmin-1-580-on-centos-5-8\/","title":{"rendered":"How to Setup Webmin 1.580 on CentOS 5.8"},"content":{"rendered":"<p><img decoding=\"async\" data-src=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2011\/02\/webminlogo-150x150.png\" alt=\"CentOS 5.8\" title=\"webminlogo\" width=\"150\" height=\"150\" class=\"alignleft size-thumbnail wp-image-885 lazyload\" data-srcset=\"https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2011\/02\/webminlogo-150x150.png 150w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2011\/02\/webminlogo-100x100.png 100w, https:\/\/webhostinggeeks.com\/howto\/wp-content\/uploads\/2011\/02\/webminlogo.png 300w\" data-sizes=\"(max-width: 150px) 100vw, 150px\" src=\"data:image\/svg+xml;base64,PHN2ZyB3aWR0aD0iMSIgaGVpZ2h0PSIxIiB4bWxucz0iaHR0cDovL3d3dy53My5vcmcvMjAwMC9zdmciPjwvc3ZnPg==\" style=\"--smush-placeholder-width: 150px; --smush-placeholder-aspect-ratio: 150\/150;\" \/>This 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.<\/p>\n<h3>Option 1 : Setup Webmin using RPM<\/h3>\n<p>1. Download required RPM file here (<a href=\"http:\/\/download.webmin.com\/download\/yum\/\" rel=\"nofollow\" title=\"webmin\">http:\/\/download.webmin.com\/download\/yum\/<\/a>)<\/p>\n<pre>\n[root@centos58 ~]# wget http:\/\/download.webmin.com\/download\/yum\/webmin-1.580-1.noarch.rpm\n<\/pre>\n<p>or<\/p>\n<pre>\n[root@centos58 ~]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.580-1.noarch.rpm\n<\/pre>\n<p>Example :<\/p>\n<pre>\n[root@centos58 ~]# wget http:\/\/download.webmin.com\/download\/yum\/webmin-1.580-1.noarch.rpm\n--2012-06-08 05:34:12--  http:\/\/download.webmin.com\/download\/yum\/webmin-1.580-1.noarch.rpm\nResolving download.webmin.com... 67.228.198.100\nConnecting to download.webmin.com|67.228.198.100|:80... connected.\nHTTP request sent, awaiting response... 200 OK\nLength: 17112780 (16M) [application\/x-rpm]\nSaving to: `webmin-1.580-1.noarch.rpm'\n\n100%[==========================================================>] 17,112,780   118K\/s   in 3m 2s\n\n2012-06-08 05:37:15 (91.9 KB\/s) - `webmin-1.580-1.noarch.rpm' saved [17112780\/17112780]\n<\/pre>\n<p>2. Download and import my GPG key with which the packages are signed, with the commands : <\/p>\n<pre>\n[root@centos58 ~]# wget http:\/\/www.webmin.com\/jcameron-key.asc\n[root@centos58 ~]# rpm --import jcameron-key.asc\n<\/pre>\n<p>3. Install RPM version of Webmin as below :<\/p>\n<pre>\n[root@centos58 ~]# rpm -Uvh webmin-1.580-1.noarch.rpm\nPreparing...                ########################################### [100%]\nOperating system is CentOS Linux\n   1:webmin                 ########################################### [100%]\nWebmin install complete. You can now login to http:\/\/centos58.ehowtuff.local:10000\/\nas root with your root password.\n<\/pre>\n<h3>Option 2 : Setup Webmin using YUM<\/h3>\n<p>1. Login to your CentOS server with root privileges.<br \/>\n2. Download and import my GPG key with which the packages are signed, with the commands : <\/p>\n<pre>\n[root@centos58 ~]# wget http:\/\/www.webmin.com\/jcameron-key.asc\n[root@centos58 ~]# rpm --import jcameron-key.asc\n<\/pre>\n<p>3. To install and update Webmin via RPM through yum, you have to create webmin.repo on \/etc\/yum.repos.d directory as below:<\/p>\n<pre>\n[root@centos58 ~]# vi \/etc\/yum.repos.d\/webmin.repo\n<\/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\n<\/pre>\n<p>4. Install with yum command :<\/p>\n<pre>\n[root@centos58 ~]# yum install webmin -y\n<\/pre>\n<p>Example :<\/p>\n<pre>\n[root@centos58 ~]# yum install webmin -y\nLoaded plugins: fastestmirror\nLoading mirror speeds from cached hostfile\n * Webmin: download.webmin.com\n * base: mirror.nus.edu.sg\n * epel: mirror.nus.edu.sg\n * extras: mirror.nus.edu.sg\n * rpmforge: mirror.oscc.org.my\n * updates: mirror.as24220.net\nWebmin                                                                       |  951 B     00:00\nWebmin\/primary                                                               |  13 kB     00:00\nWebmin                                                                                      102\/102\nSetting up Install Process\nResolving Dependencies\n--> Running transaction check\n---> Package webmin.noarch 0:1.580-1 set to be updated\n--> Finished Dependency Resolution\n\nDependencies Resolved\n\n====================================================================================================\n Package                Arch                   Version                 Repository              Size\n====================================================================================================\nInstalling:\n webmin                 noarch                 1.580-1                 Webmin                  16 M\n\nTransaction Summary\n====================================================================================================\nInstall       1 Package(s)\nUpgrade       0 Package(s)\n\nTotal download size: 16 M\nDownloading Packages:\nwebmin-1.580-1.noarch.rpm                                                    |  16 MB     02:39\nRunning rpm_check_debug\nRunning Transaction Test\nFinished Transaction Test\nTransaction Test Succeeded\nRunning Transaction\nOperating system is CentOS Linux\n  Installing     : webmin                                                                       1\/1\nWebmin install complete. You can now login to http:\/\/centos58.ehowtuff.local:10000\/\nas root with your root password.\n\nInstalled:\n  webmin.noarch 0:1.580-1\n\nComplete!\n<\/pre>\n<h3>Option 3 : Setup Webmin using Tar File<\/h3>\n<p>Before downloading Webmin, please make sure that Perl 5 has been installed on your CentOS 5.8.<br \/>\n1. Download and extract the tar file :<\/p>\n<pre>\n[root@centos58 ~]# cd \/tmp\n[root@centos58 tmp]# wget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.580.tar.gz\n[root@centos58 tmp]# tar xzf webmin-1.580.tar.gz\n<\/pre>\n<p>2. Run .\/setup.sh to install the webmin on \/usr\/local\/webmin.<\/p>\n<pre>\n[root@centos58 tmp]# cd webmin-1.580\n[root@centos58 webmin-1.580]# .\/setup.sh \/usr\/local\/webmin\n<\/pre>\n<p>This is just an example and the default admin was admin and the password is password.<\/p>\n<pre>\n[root@centos58 webmin-1.580]# .\/setup.sh \/usr\/local\/webmin\n***********************************************************************\n*            Welcome to the Webmin setup script, version 1.580        *\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.580 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.8\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..\nCreated init script \/etc\/rc.d\/init.d\/webmin\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 1477.\nSubroutine valid_allow redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1491.\nSubroutine get_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1536.\nSubroutine save_preloads redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1548.\nSubroutine get_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1559.\nSubroutine save_tempdirs redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1576.\nSubroutine get_module_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1595.\nSubroutine get_install_type redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1612.\nSubroutine list_cached_files redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1642.\nSubroutine show_restart_page redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1661.\nSubroutine cert_info redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1679.\nSubroutine cert_pem_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1720.\nSubroutine cert_pkcs12_data redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1735.\nSubroutine get_blocked_users_hosts redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1761.\nSubroutine show_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1789.\nSubroutine parse_ssl_key_form redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1833.\nSubroutine build_installed_modules redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1906.\nSubroutine get_latest_webmin_version redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1948.\nSubroutine filter_updates redefined at \/usr\/local\/webmin\/webmin\/webmin-lib.pl line 1981.\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:\/\/centos58.ehowtuff.local:10000\/\n\nand login with the name and password you entered previously.\n<\/pre>\n<p>How to start webmin :<\/p>\n<pre>\n[root@centos58 ~]# service webmin start\n<\/pre>\n<p>or<\/p>\n<pre>\n[root@centos58 ~]# \/etc\/init.d\/webmin start\n<\/pre>\n<p>How to stop webmin :<\/p>\n<pre>\n[root@centos58 ~]# service webmin stop\nStopping Webmin server in \/usr\/local\/webmin\n<\/pre>\n<p>or<\/p>\n<pre>\n[root@centos58 ~]# \/etc\/init.d\/webmin stop\nStopping Webmin server in \/usr\/local\/webmin\n<\/pre>\n<p>How to check webmin status :<\/p>\n<pre>\n[root@centos58 ~]# \/etc\/init.d\/webmin status\nwebmin (pid 5070) is running\n<\/pre>\n<p>or<\/p>\n<pre>\n[root@centos58 ~]# service webmin status\nwebmin (pid 4834) is running\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>This 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&#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":[2055,1091],"tags":[1249,2089,1536,1776,1917],"class_list":["post-3343","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-centos","category-webmin","tag-centos-5-8","tag-configuration","tag-linux","tag-setup-webmin","tag-webmin"],"_links":{"self":[{"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3343","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=3343"}],"version-history":[{"count":0,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/posts\/3343\/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=3343"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/categories?post=3343"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/webhostinggeeks.com\/howto\/wp-json\/wp\/v2\/tags?post=3343"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}