{"id":20259,"date":"2024-02-27T08:37:08","date_gmt":"2024-02-27T05:37:08","guid":{"rendered":"https:\/\/kifarunix.com\/?p=20259"},"modified":"2024-03-10T15:43:51","modified_gmt":"2024-03-10T12:43:51","slug":"how-to-install-webmin-on-ubuntu-24-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/how-to-install-webmin-on-ubuntu-24-04\/","title":{"rendered":"How to Install Webmin on Ubuntu 24.04"},"content":{"rendered":"\n<p>In this tutorial, you will learn how to install Webmin on Ubuntu 24.04. <a href=\"http:\/\/www.webmin.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Webmin<\/a>&nbsp;is a web based control panel that allows system administrators to manage system administration tasks such as user account management, package management, e.t.c from the browser.<\/p>\n\n\n\n<div class=\"wp-block-rank-math-toc-block\" id=\"rank-math-toc\"><h2>Table of Contents<\/h2><nav><ul><li><a href=\"#installing-webmin-on-ubuntu-24-04\">Installing Webmin on Ubuntu 24.04<\/a><ul><li><a href=\"#prerequisites\">Prerequisites<\/a><\/li><li><a href=\"#method-1-install-webmin-from-webmin-apt-repository\">Method 1: Install Webmin from Webmin APT repository<\/a><ul><li><a href=\"#install-webmin-apt-repository\">Install Webmin APT repository<\/a><\/li><li><a href=\"#install-webmin-repository-signing-key\">Install Webmin Repository Signing Key<\/a><\/li><li><a href=\"#install-webmin-via-apt-repository\">Install Webmin via APT Repository<\/a><\/li><\/ul><\/li><li><a href=\"#method-2-install-webmin-using-webmin-deb-binary\">Method 2: Install Webmin using Webmin DEB binary<\/a><ul><li><a href=\"#run-system-update\">Run System Update<\/a><\/li><li><a href=\"#download-webmin-deb-binary-installer\">Download Webmin DEB Binary Installer<\/a><\/li><li><a href=\"#install-webmin-using-deb-binary\">Install Webmin using DEB Binary<\/a><\/li><\/ul><\/li><li><a href=\"#running-webmin-on-ubuntu-24-04\">Running Webmin on Ubuntu 24.04<\/a><\/li><li><a href=\"#accessing-webmin-web-interface\">Accessing Webmin Web Interface<\/a><\/li><\/ul><\/li><\/ul><\/nav><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"installing-webmin-on-ubuntu-24-04\">Installing Webmin on Ubuntu 24.04<\/h2>\n\n\n\n<p>There are two ways in which you can install Webmin on Ubuntu;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#webmin-apt-repo\">Install Webmin from Webmin APT repository<\/a><\/li>\n\n\n\n<li><a href=\"#method-2-install-webmin-using-webmin-deb-binary\">Install Webmin using Webmin DEB binary<\/a><\/li>\n<\/ul>\n\n\n\n<p>In this guide, we will show you how to use the two methods.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"prerequisites\">Prerequisites<\/h3>\n\n\n\n<p>In order to install Webmin, you need;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>SSH or physical console access to the server<\/li>\n\n\n\n<li>Have root access or a user account with sudo rights<\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"method-1-install-webmin-from-webmin-apt-repository\">Method 1: Install Webmin from Webmin APT repository<\/h3>\n\n\n\n<p>Installing Webmin from its APT repos ensures that you can always fetch and install updates seamlessly as well deal with any required dependency automatically.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-apt-repository\">Install Webmin APT repository<\/h4>\n\n\n\n<p>Run the command below to install Webmin APT repo on Ubuntu 24.04;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb https:\/\/download.webmin.com\/download\/newkey\/repository stable contrib\" | sudo tee \/etc\/apt\/sources.list.d\/webmin.list<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-repository-signing-key\">Install Webmin Repository Signing Key<\/h4>\n\n\n\n<p>Once the Webmin APT repo is installed, run the command below to install the repository GPG signing key;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install gnupg2 -y<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>wget -qO - https:\/\/download.webmin.com\/developers-key.asc | gpg --dearmor &gt; \/etc\/apt\/trusted.gpg.d\/webmin.gpg<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-via-apt-repository\">Install Webmin via APT Repository<\/h4>\n\n\n\n<p>Next, update your system package cache;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<p>You can now install Webmin by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install webmin -y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"method-2-install-webmin-using-webmin-deb-binary\">Method 2: Install Webmin using Webmin DEB binary<\/h3>\n\n\n\n<p>You can also choose to download and install Webmin manually. With this method, you will have to deal with Webmin updates\/upgrades manually.<\/p>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"run-system-update\">Run System Update<\/h4>\n\n\n\n<p>Update system package cache;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"download-webmin-deb-binary-installer\">Download Webmin DEB Binary Installer<\/h4>\n\n\n\n<p>Navigate to Webmin <a rel=\"noreferrer noopener\" href=\"http:\/\/www.webmin.com\/download.html\" target=\"_blank\">download&#8217;s page<\/a>&nbsp;download the Webmin DEB binary installer.<\/p>\n\n\n\n<p>You can simply grab the download link and pull it using wget command. The version number varies. Be sure to check the downloads page.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>curl -Ls https:\/\/www.webmin.com\/download\/deb\/webmin-current.deb -o webmin.deb<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-using-deb-binary\">Install Webmin using DEB Binary<\/h4>\n\n\n\n<p>To automatically deal with package dependencies when installing via the DEB binary, use the APT package manager;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo apt install .\/webmin.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"running-webmin-on-ubuntu-24-04\">Running Webmin on Ubuntu 24.04<\/h3>\n\n\n\n<p>Once the installation is done, Webmin is started automatically.<\/p>\n\n\n\n<p>Check the status<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>systemctl status webmin<\/code><\/pre>\n\n\n\n<p>To confirm it is running, check to ensure port 10000\/tcp is opened.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>ss -altnp | grep 10000<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>LISTEN 0      4096         0.0.0.0:10000      0.0.0.0:*    users:((\"miniserv.pl\",pid=3453,fd=5))<\/code><\/pre>\n\n\n\n<p>You can restart, reload and stop using the commands below, respectively.<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/webmin\/restart<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/webmin\/reload<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/webmin\/stop<\/code><\/pre>\n\n\n\n<p>Similarly, you can use systemctl counterpart commands.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"accessing-webmin-web-interface\">Accessing Webmin Web Interface<\/h3>\n\n\n\n<p>Webmin is now installed and ready for your system administration tasks.<\/p>\n\n\n\n<p>Webmin listens on port 10000\/tcp by default.<\/p>\n\n\n\n<p>To allow external access, simply open this port on firewall if is running;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo ufw allow 10000\/tcp<\/code><\/pre>\n\n\n\n<p>If you are using iptables;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>sudo iptables -A INPUT -p tcp --dport 10000 -j ACCEPT<\/code><\/pre>\n\n\n\n<p>You can then access Webmin from your browser, <code><strong>https:\/\/server-IP:10000<\/strong><\/code>.<\/p>\n\n\n\n<p>You can also use resolvable domain name instead of IP address.<\/p>\n\n\n\n<p>Accept the self signed SSL warning and proceed to Webmin login interface. As stated above; <\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><strong>you can login as root with your root password, or as any user who can use sudo to run commands as root<\/strong><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/webmin-login-page.png&quot;,&quot;figureClassNames&quot;:&quot;aligncenter size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-20269&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1216,&quot;targetHeight&quot;:764,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image: How to Install Webmin on Ubuntu 24.04&quot;,&quot;alt&quot;:&quot;How to Install Webmin on Ubuntu 24.04&quot;}\" data-wp-interactive=\"core\/image\" class=\"aligncenter size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1216\" height=\"764\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-login-page.png?v=1709011986\" alt=\"How to Install Webmin on Ubuntu 24.04\" class=\"wp-image-20269\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-login-page.png?v=1709011986 1216w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-login-page-768x483.png?v=1709011986 768w\" sizes=\"(max-width: 1216px) 100vw, 1216px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image: How to Install Webmin on Ubuntu 24.04\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure><\/div>\n\n\n<p>The default Webmin dashboard showing system information.<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/webmin-dashboard.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-20270&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1619,&quot;targetHeight&quot;:844,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1619\" height=\"844\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-dashboard.png?v=1709012010\" alt=\"\" class=\"wp-image-20270\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-dashboard.png?v=1709012010 1619w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-dashboard-768x400.png?v=1709012010 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-dashboard-1536x801.png?v=1709012010 1536w\" sizes=\"(max-width: 1619px) 100vw, 1619px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>On the left panel of the Webmin interface, you can access several other system administration settings.<\/p>\n\n\n\n<p>For example, open a terminal by clicking on the icon as shown in the screenshot below;<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1608\" height=\"691\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/launch-terminal-on-webmin.png?v=1709012031\" alt=\"\" class=\"wp-image-20271\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/launch-terminal-on-webmin.png?v=1709012031 1608w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/launch-terminal-on-webmin-768x330.png?v=1709012031 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/launch-terminal-on-webmin-1536x660.png?v=1709012031 1536w\" sizes=\"(max-width: 1608px) 100vw, 1608px\" \/><\/figure>\n\n\n\n<p>Use terminal as you would when logged in to the system via SSH or console!<\/p>\n\n\n\n<figure data-wp-context=\"{&quot;uploadedSrc&quot;:&quot;https:\\\/\\\/kifarunix.com\\\/wp-content\\\/uploads\\\/2024\\\/02\\\/webmin-terminal.png&quot;,&quot;figureClassNames&quot;:&quot;wp-block-image size-full&quot;,&quot;figureStyles&quot;:null,&quot;imgClassNames&quot;:&quot;wp-image-20272&quot;,&quot;imgStyles&quot;:null,&quot;targetWidth&quot;:1625,&quot;targetHeight&quot;:518,&quot;scaleAttr&quot;:false,&quot;ariaLabel&quot;:&quot;Enlarge image&quot;,&quot;alt&quot;:&quot;&quot;}\" data-wp-interactive=\"core\/image\" class=\"wp-block-image size-full wp-lightbox-container\"><img loading=\"lazy\" decoding=\"async\" width=\"1625\" height=\"518\" data-wp-init=\"callbacks.setButtonStyles\" data-wp-on-async--click=\"actions.showLightbox\" data-wp-on-async--load=\"callbacks.setButtonStyles\" data-wp-on-async-window--resize=\"callbacks.setButtonStyles\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-terminal.png?v=1709012068\" alt=\"\" class=\"wp-image-20272\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-terminal.png?v=1709012068 1625w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-terminal-768x245.png?v=1709012068 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2024\/02\/webmin-terminal-1536x490.png?v=1709012068 1536w\" sizes=\"(max-width: 1625px) 100vw, 1625px\" \/><button\n\t\t\tclass=\"lightbox-trigger\"\n\t\t\ttype=\"button\"\n\t\t\taria-haspopup=\"dialog\"\n\t\t\taria-label=\"Enlarge image\"\n\t\t\tdata-wp-init=\"callbacks.initTriggerButton\"\n\t\t\tdata-wp-on-async--click=\"actions.showLightbox\"\n\t\t\tdata-wp-style--right=\"context.imageButtonRight\"\n\t\t\tdata-wp-style--top=\"context.imageButtonTop\"\n\t\t>\n\t\t\t<svg xmlns=\"http:\/\/www.w3.org\/2000\/svg\" width=\"12\" height=\"12\" fill=\"none\" viewBox=\"0 0 12 12\">\n\t\t\t\t<path fill=\"#fff\" d=\"M2 0a2 2 0 0 0-2 2v2h1.5V2a.5.5 0 0 1 .5-.5h2V0H2Zm2 10.5H2a.5.5 0 0 1-.5-.5V8H0v2a2 2 0 0 0 2 2h2v-1.5ZM8 12v-1.5h2a.5.5 0 0 0 .5-.5V8H12v2a2 2 0 0 1-2 2H8Zm2-12a2 2 0 0 1 2 2v2h-1.5V2a.5.5 0 0 0-.5-.5H8V0h2Z\" \/>\n\t\t\t<\/svg>\n\t\t<\/button><\/figure>\n\n\n\n<p>And that how easy it is to install Webmin on Ubuntu. You can now explore further.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to install Webmin on Ubuntu 24.04. Webmin&nbsp;is a web based control panel that allows system administrators to manage<\/p>\n","protected":false},"author":10,"featured_media":20261,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[7420,7422,7421],"class_list":["post-20259","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-install-webmin-on-ubuntu-24-04","tag-install-webmin-ubuntu","tag-ubuntu-24-04-webmin","generate-columns","tablet-grid-50","mobile-grid-100","grid-parent","grid-50","resize-featured-image"],"_links":{"self":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20259"}],"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\/10"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=20259"}],"version-history":[{"count":5,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20259\/revisions"}],"predecessor-version":[{"id":20915,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/20259\/revisions\/20915"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/20261"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=20259"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=20259"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=20259"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}