Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: preg_match(): Unknown modifier '-' in /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php on line 783

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794

Warning: Cannot modify header information - headers already sent by (output started at /home/akl1986/public_html/support/wp-content/plugins/redux-framework/redux-core/inc/extensions/metaboxes/class-redux-extension-metaboxes.php:783) in /home/akl1986/public_html/support/wp-includes/rest-api/class-wp-rest-server.php on line 1794
{"id":2522,"date":"2019-12-06T14:01:11","date_gmt":"2019-12-06T14:01:11","guid":{"rendered":"https:\/\/support.aklwebhost.com\/?post_type=manual_kb&p=2522"},"modified":"2019-12-06T14:01:11","modified_gmt":"2019-12-06T14:01:11","slug":"how-to-install-webmin-on-centos-redhat-5-6-7-using-yum","status":"publish","type":"manual_kb","link":"https:\/\/support.aklwebhost.com\/knowledgebase\/how-to-install-webmin-on-centos-redhat-5-6-7-using-yum\/","title":{"rendered":"How to Install Webmin on CentOS\/Redhat 5\/6\/7 using yum"},"content":{"rendered":"

Webmin is an open source<\/strong>\u00a0web based system\u00a0configuration application for Linux<\/strong>\u00a0system administrator. It is using to\u00a0manage service like User administration, Disk managemet, Network, Iptables ( Firewall ),<\/strong>\u00a0Cron, Apache, DNS, File sharing and substantially more<\/strong>\u00a0.Webmin applications is taking into account Perl module and it uses\u00a0TCP port 10000<\/strong>\u00a0with\u00a0OpenSSL library<\/strong>\u00a0for communicating via browser.
\nn this article, we can see about how to\u00a0install webmin on CentOS<\/strong><\/p>\n

Step 1: Webmin YUM repository<\/strong><\/p>\n

If you like to install and update Webmin using yum, create the webmin repository. We can check repository using following command:<\/p>\n

# yum repolist
\nLoaded plugins: fastestmirror
\nLoading mirror speeds from cached hostfile
\n* base: mirror.nbrc.ac.in
\n* epel: mirrors.hustunique.com
\n* extras: mirror.nbrc.ac.in
\n* rpmforge: kartolo.sby.datautama.net.id
\n* updates: mirror.nbrc.ac.in
\nrepo id repo name status
\nWebmin Webmin Distribution Neutral 217
\natrpms Fedora Core 6 - x86_64 - ATrpms 2,755
\nbase CentOS-6 - Base 6,518
\nepel Extra Packages for Enterprise Linux 6 - x86_64 11,632
\nextras CentOS-6 - Extras 38
\nrpmforge RHEL 6 - RPMforge.net - dag 4,718
\nrepolist: 25,878<\/code><\/p>\n

Step 2: Install Dependencies<\/strong><\/p>\n

Install the dependencies using following command:<\/p>\n

# yum -y install perl perl-Net-SSLeay openssl perl-IO-Tty
\n<\/code>
\nStep 3: Install Webmin
\n<\/strong>
\nPresently we can ready to install it using yum command. It will automatically install all required dependencies.<\/p>\n

# yum -y install webmin
\n<\/code>
\nStep 4: Open Port
\n<\/strong>
\nOf course Webmin keeps running on port 10000, so we have to open port on our firewall to get to it. The easiest way to open the port on firewall is using iptables rules.
\nCentOS\/RHEL 5\/6<\/p>\n

# iptables -A INPUT -p tcp -m tcp --dport 10000 -j ACCEPT
\n# service iptables save
\n# \/etc\/init.d\/iptables restart
\n<\/code>
\nCentOS\/RHEL 7<\/strong><\/p>\n

# firewall-cmd --add-port=10000\/tcp
\n# firewall-cmd --reload
\n<\/code>
\nStep 5: Start Webmin<\/strong><\/p>\n

Run the\u00a0following commands to start<\/strong>\u00a0the webmin service and make it start automatically<\/p>\n

CentOS\/RHEL 5\/6<\/strong><\/p>\n

# chkconfig webmin on
\n# \/etc\/init.d\/webmin start
\n<\/code>
\nCentOS\/RHEL 7<\/strong><\/p>\n

# systemctl enable webmin
\n# systemctl start webmin
\n<\/code>
\nStep 6: Access Webmin
\n<\/strong>
\nPresently we should ready to get to and login to Webmin using\u00a0URL localhost or IP<\/strong>\u00a0and enter the username as root and password (current root secret word), for remote get to simply access localhost with\u00a0your remote IP address<\/strong>.<\/p>\n

# http:\/\/localhost:10000\/
\nor
\n# http:\/\/server-IP:10000\/<\/code><\/p>\n

Change\/Reset Webmin root Password<\/strong><\/p>\n

Change webmin\u00a0root account password<\/strong>\u00a0use following command:<\/p>\n

# \/usr\/libexec\/webmin\/changepass.pl \/etc\/webmin root secretaccess<\/code><\/p>\n","protected":false},"author":1,"featured_media":0,"parent":0,"menu_order":0,"comment_status":"open","ping_status":"closed","template":"","format":"standard","manualknowledgebasecat":[231],"manual_kb_tag":[330],"_links":{"self":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2522"}],"collection":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb"}],"about":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/types\/manual_kb"}],"author":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/comments?post=2522"}],"version-history":[{"count":1,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2522\/revisions"}],"predecessor-version":[{"id":2523,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb\/2522\/revisions\/2523"}],"wp:attachment":[{"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/media?parent=2522"}],"wp:term":[{"taxonomy":"manualknowledgebasecat","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manualknowledgebasecat?post=2522"},{"taxonomy":"manual_kb_tag","embeddable":true,"href":"https:\/\/support.aklwebhost.com\/wp-json\/wp\/v2\/manual_kb_tag?post=2522"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}