{"id":4342,"date":"2019-10-03T21:15:41","date_gmt":"2019-10-03T18:15:41","guid":{"rendered":"https:\/\/kifarunix.com\/?p=4342"},"modified":"2024-03-12T22:27:57","modified_gmt":"2024-03-12T19:27:57","slug":"install-webmin-on-centos-8","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-webmin-on-centos-8\/","title":{"rendered":"Install Webmin on CentOS 8"},"content":{"rendered":"\n<p>Want to administer your CentOS 8 system from web interface? Well, follow through this guide to learn how to install Webmin on CentOS 8. <a rel=\"noreferrer noopener\" aria-label=\"Webmin (opens in a new tab)\" href=\"http:\/\/www.webmin.com\/intro.html\" target=\"_blank\">Webmin<\/a> is a web-based system administration tool for Unix-like systems.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Installing Webmin on CentOS 8<\/h2>\n\n\n\n<p>There are two ways in which Webmin can be installed on CentOS 8:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Via Webmin RPM package<\/li>\n\n\n\n<li>Via Webmin YUM repository<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\">Installing Webmin via RPM<\/h3>\n\n\n\n<p>Run system update<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf update<\/code><\/pre>\n\n\n\n<p>Download Webmin RPM binary installer from the&nbsp;<a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"http:\/\/www.webmin.com\/download.html\" target=\"_blank\">downloads page<\/a>.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.930-1.noarch.rpm<\/code><\/pre>\n\n\n\n<p>Install the required perl dependencies.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install perl perl-Net-SSLeay openssl perl-Encode-Detect<\/code><\/pre>\n\n\n\n<p>Next, install Webmin.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>rpm -ivh webmin-1.930-1.noarch.rpm<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\nOperating system is CentOS Linux\nUpdating \/ installing...\n   1:webmin-1.930-1                   ################################# [100%]\nWebmin install complete. <strong>You can now login to https:\/\/centos8.kifarunix-demo.com:10000\/\nas root with your root password.<\/strong><\/code><\/pre>\n\n\n\n<p>Well, if you want to deal with required dependencies automatically;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install https:\/\/prdownloads.sourceforge.net\/webadmin\/webmin-1.930-1.noarch.rpm<\/code><\/pre>\n\n\n\n<p>Or if you have download the binary package;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf localinstall webmin-1.930-1.noarch.rpm<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Install Webmin via Webmin YUM Repository<\/h3>\n\n\n\n<p>Webmin can also be installed on CentOS 8 via the Wen YUM repos. Run the command below to create Webmin repository on CentOS 8.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>cat &lt;&lt; EOF &gt; \/etc\/yum.repos.d\/webmin.repo\n[Webmin]\nname=Webmin Distribution Neutral\nmirrorlist=https:\/\/download.webmin.com\/download\/yum\/mirrorlist\nenabled=1\nEOF<\/code><\/pre>\n\n\n\n<p>Next, install the repository signing key.<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget http:\/\/www.webmin.com\/jcameron-key.asc\nrpm --import jcameron-key.asc<\/code><\/pre>\n\n\n\n<p>Run system update<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf update<\/code><\/pre>\n\n\n\n<p>Install Webmin<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>dnf install webmin<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>Dependencies resolved.\n=======================================================================================================================================================\n Package                                    Arch                           Version                             Repository                         Size\n=======================================================================================================================================================\nInstalling:\n webmin                                     noarch                         1.930-1                             Webmin                             22 M\nInstalling dependencies:\n perl-Encode-Detect                         x86_64                         1.01-28.el8                         AppStream                          90 k\n\nTransaction Summary\n=======================================================================================================================================================\nInstall  2 Packages\n\nTotal download size: 22 M\nInstalled size: 79 M\nIs this ok [y\/N]: y<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\n  Installing       : webmin-1.930-1.noarch                                                                                                         2\/2 \n  Running scriptlet: webmin-1.930-1.noarch                                                                                                         2\/2 \nWebmin install complete. You can now login to https:\/\/<strong>centos8.kifarunix-demo.com<\/strong>:10000\/\nas root with your root password.\n...<\/code><\/pre>\n\n\n\n<p>The default administrative user for webmin is the system root user.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Accessing Webmin<\/h3>\n\n\n\n<p>You can access webmin via the address <strong><code>https:\/\/&lt;server-hostname&gt;:10000\/<\/code><\/strong>.<\/p>\n\n\n\n<p>If FirewallD is running, open this port on the current active zone to allow remote access.<\/p>\n\n\n\n<p>To get the active firewalld zone;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --get-active-zones\nlibvirt\n  interfaces: virbr0<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --zone=libvirt --add-port=10000\/tcp --permanent<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>firewall-cmd --reload<\/code><\/pre>\n\n\n\n<p>You can now access Webmin from the browser. For the first time login, ignore the private SSL\/TLS certificate warning and proceed to webmin.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-login.png\"><img loading=\"lazy\" decoding=\"async\" width=\"335\" height=\"363\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-login.png\" alt=\"Webmin login interface on CentOS 8\" class=\"wp-image-4344\" title=\"\"><\/a><\/figure>\n\n\n\n<p>Upon successful login, you will land on Webmin interface.<\/p>\n\n\n\n<figure class=\"wp-block-image\"><a href=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-interface.png\"><img loading=\"lazy\" decoding=\"async\" width=\"1341\" height=\"589\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-interface.png\" alt=\"Install Webmin on CentOS 8\" class=\"wp-image-4345\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-interface.png?v=1570125807 1341w, https:\/\/kifarunix.com\/wp-content\/uploads\/2019\/10\/webmin-interface-768x337.png?v=1570125807 768w\" sizes=\"(max-width: 1341px) 100vw, 1341px\" \/><\/a><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/setup-bind-dns-using-webmin-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Setup Bind DNS Using Webmin on Debian 10<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-webmin-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install Webmin on Debian 10<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-use-webmin-on-fedora-30\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install and Use Webmin on Fedora 30<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/how-to-install-and-use-webmin-on-fedora-29-fedora-28-centos-7\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Installing Webmin Web-based Linux System Administration Tool Fedora 29\/28\/CentOS 7<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-setup-chrome-remote-desktop-on-ubuntu-18-04\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Install and Setup Chrome Remote Desktop on Ubuntu 18.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Want to administer your CentOS 8 system from web interface? Well, follow through this guide to learn how to install Webmin on CentOS 8. Webmin<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,376,941],"tags":[1142,268],"class_list":["post-4342","post","type-post","status-publish","format-standard","hentry","category-howtos","category-system-manager","category-webmin","tag-centos-8","tag-webmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4342"}],"collection":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=4342"}],"version-history":[{"count":6,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4342\/revisions"}],"predecessor-version":[{"id":21237,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/4342\/revisions\/21237"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=4342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=4342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=4342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}