{"id":5830,"date":"2020-05-07T20:28:39","date_gmt":"2020-05-07T17:28:39","guid":{"rendered":"https:\/\/kifarunix.com\/?p=5830"},"modified":"2024-03-14T20:38:00","modified_gmt":"2024-03-14T17:38:00","slug":"install-webmin-on-ubuntu-20-04","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-webmin-on-ubuntu-20-04\/","title":{"rendered":"Install Webmin on Ubuntu 20.04"},"content":{"rendered":"\n<p>In this tutorial, you will learn how to install Webmin on Ubuntu 20.04. &nbsp;<a rel=\"noreferrer noopener\" href=\"http:\/\/www.webmin.com\/\" target=\"_blank\">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<h2 class=\"wp-block-heading\">Installing Webmin on Ubuntu 20.04<\/h2>\n\n\n\n<p>The default Ubuntu 20.04 repos do not provide Webmin packages. As such, there are two ways in which you can install Webmin;<\/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=\"#webmin-deb-binary\">Install Webmin using Webmin DEB binary<\/a><\/li>\n<\/ul>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"webmin-apt-repo\">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\">Create Webmin APT repository<\/h4>\n\n\n\n<p>Run the command below to install Webmin APT repo on Ubuntu 20.04;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>echo \"deb https:\/\/download.webmin.com\/download\/repository sarge contrib\" | sudo tee \/etc\/apt\/sources.list.d\/webmin.list<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Install Webmin Repo 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-preformatted\"><code>wget -qO - http:\/\/www.webmin.com\/jcameron-key.asc | apt-key add -<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Update System Package Cache<\/h4>\n\n\n\n<p>Next, update your system package cache;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">Install Webmin from Webmin APT Repo<\/h4>\n\n\n\n<p>You can now install Webmin by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt install webmin<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"webmin-deb-binary\">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 updates manually.<\/p>\n\n\n\n<p>Update system package cache;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>apt update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">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. You can simply grab the download link and pull it using wget command;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>wget https:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.941_all.deb<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\">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-preformatted\"><code>apt install .\/webmin_1.941_all.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Running Webmin<\/h3>\n\n\n\n<p>Upon installation, Webmin service is started and enabled to run on system boot;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl status webmin<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-code\"><code>\u25cf webmin.service - LSB: web-based administration interface for Unix systems\n     Loaded: loaded (\/etc\/init.d\/webmin; generated)\n     Active: active (running) since Thu 2020-05-07 15:06:49 UTC; 1h 42min ago\n       Docs: man:systemd-sysv-generator(8)\n      Tasks: 1 (limit: 2283)\n     Memory: 27.0M\n     CGroup: \/system.slice\/webmin.service\n             \u2514\u25003060 \/usr\/bin\/perl \/usr\/share\/webmin\/miniserv.pl \/etc\/webmin\/miniserv.conf\n\nMay 07 15:06:47 ubuntu20 systemd&#91;1]: Starting LSB: web-based administration interface for Unix systems...\nMay 07 15:06:47 ubuntu20 perl&#91;3045]: pam_unix(webmin:auth): authentication failure; logname= uid=0 euid=0 tty= ruser= rhost=  user=root\nMay 07 15:06:49 ubuntu20 webmin&#91;3045]: Webmin starting\nMay 07 15:06:49 ubuntu20 systemd&#91;1]: Started LSB: web-based administration interface for Unix systems.<\/code><\/pre>\n\n\n\n<p>Check if enabled to run on system boot;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>systemctl is-enabled webmin<\/code><\/pre>\n\n\n\n<pre class=\"wp-block-preformatted\"><code><strong>enabled<\/strong><\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\">Accessing Webmin Web Interface<\/h3>\n\n\n\n<p>Webmin is now installed and ready for your system administration tasks. During the installation, you will see a message like;<\/p>\n\n\n\n<pre class=\"wp-block-preformatted\"><code>...\nSetting up webmin (1.941) ...\nWebmin install complete. You can now login to <strong>https:\/\/ubuntu20:10000\/<\/strong>\n<strong>as root with your root password, or as any user who can use sudo\nto run commands as root.<\/strong>\n...<\/code><\/pre>\n\n\n\n<p>The above highlighted line shows how you can access Webmin from browser. 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-preformatted\"><code>ufw allow 10000\/tcp<\/code><\/pre>\n\n\n\n<p>You can then access Webmin from your browser. 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\"><code><strong>you can login as root with your root password, or as any user who can use sudo\nto run commands as root<\/strong><\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"688\" height=\"488\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/05\/webmin-login.png\" alt=\"Install Webmin on Ubuntu 20.04\" class=\"wp-image-5834\" title=\"\"><\/figure><\/div>\n\n\n<p>The default Webmin dashboard showing system information.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1342\" height=\"655\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/05\/default-interface.png\" alt=\"\" class=\"wp-image-5835\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/05\/default-interface.png?v=1588872092 1342w, https:\/\/kifarunix.com\/wp-content\/uploads\/2020\/05\/default-interface-768x375.png?v=1588872092 768w\" sizes=\"(max-width: 1342px) 100vw, 1342px\" \/><\/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>Webmin is an awesome tool. Explore it further.<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Related Tutorials<\/h3>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/install-ajenti-on-debian-9-8\/\" target=\"_blank\">Install Ajenti on Debian 9.8<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/install-and-use-webmin-on-fedora-30\/\" target=\"_blank\" rel=\"noreferrer noopener\">Install and Use Webmin on Fedora 30<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/how-to-install-and-use-webmin-on-fedora-29-fedora-28-centos-7\/\" target=\"_blank\">Installing Webmin Web-based Linux System Administration Tool Fedora 29\/28\/CentOS 7<\/a><\/p>\n\n\n\n<p><a rel=\"noreferrer noopener\" href=\"https:\/\/kifarunix.com\/install-anydesk-on-ubuntu-18-04\/\" target=\"_blank\">Install AnyDesk on Ubuntu 18.04<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>In this tutorial, you will learn how to install Webmin on Ubuntu 20.04. &nbsp;Webmin&nbsp;is a web based control panel that allows system administrators to manage<\/p>\n","protected":false},"author":3,"featured_media":9998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121,376,941],"tags":[1580,1200,1582,268,1581],"class_list":["post-5830","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","category-system-manager","category-webmin","tag-install-webmin-on-ubuntu-20-04","tag-ubuntu-20-04","tag-ubuntu-20-04-webmin","tag-webmin","tag-webmin-ubuntu-20-04","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\/5830"}],"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\/3"}],"replies":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/comments?post=5830"}],"version-history":[{"count":7,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5830\/revisions"}],"predecessor-version":[{"id":21394,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/5830\/revisions\/21394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media\/9998"}],"wp:attachment":[{"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/media?parent=5830"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=5830"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=5830"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}