{"id":10859,"date":"2021-11-06T10:51:46","date_gmt":"2021-11-06T07:51:46","guid":{"rendered":"https:\/\/kifarunix.com\/?p=10859"},"modified":"2024-03-18T08:15:18","modified_gmt":"2024-03-18T05:15:18","slug":"install-webmin-on-debian-11","status":"publish","type":"post","link":"https:\/\/kifarunix.com\/install-webmin-on-debian-11\/","title":{"rendered":"Install Webmin on Debian 11"},"content":{"rendered":"\n<p>Follow through this tutorial to learn how to install Webmin on Debian 11. <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-debian-11\">Installing Webmin on Debian 11<\/a><ul><li><a href=\"#install-webmin-from-webmin-apt-repository\">Install Webmin from Webmin APT repository<\/a><ul><li><a href=\"#create-webmin-apt-repository\">Create Webmin APT repository<\/a><\/li><li><a href=\"#install-webmin-repo-signing-key\">Install Webmin Repo Signing Key<\/a><\/li><li><a href=\"#update-system-package-cache\">Update System Package Cache<\/a><\/li><li><a href=\"#install-webmin-from-webmin-apt-repo\">Install Webmin from Webmin APT Repo<\/a><\/li><\/ul><\/li><li><a href=\"#install-webmin-using-webmin-deb-binary\">Install Webmin using Webmin DEB binary<\/a><ul><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\">Running Webmin<\/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-debian-11\">Installing Webmin on Debian 11<\/h2>\n\n\n\n<p>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=\"install-webmin-from-webmin-apt-repository\">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=\"create-webmin-apt-repository\">Create Webmin APT repository<\/h4>\n\n\n\n<p>Run the command below to install Webmin APT repo on Debian 11;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>echo \"deb https:\/\/download.webmin.com\/download\/newkey\/repository stable contrib\" | tee \/etc\/apt\/sources.list.d\/webmin.list<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-repo-signing-key\">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-code\"><code>apt install sudo 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=\"update-system-package-cache\">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-code\"><code>apt update<\/code><\/pre>\n\n\n\n<h4 class=\"wp-block-heading\" id=\"install-webmin-from-webmin-apt-repo\">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-code\"><code>apt install webmin -y<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"install-webmin-using-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-code\"><code>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 -o webmin.deb https:\/\/www.webmin.com\/download\/deb\/webmin-current.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>apt install .\/webmin.deb<\/code><\/pre>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"running-webmin\">Running Webmin<\/h3>\n\n\n\n<p>Once the installation is done, you can start Webmin by running the command below;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>\/etc\/webmin\/start<\/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 100<\/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<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. During the installation, you will see a message like;<\/p>\n\n\n\n<pre class=\"wp-block-code\"><code>...\nSetting up webmin (1.981) ...\nWebmin install complete. You can now login to https:\/\/debian11:10000\/\nas root with your root password, or as any user who can use sudo\nto run commands as root.\n...<\/code><\/pre>\n\n\n\n<p>The above highlighted line shows how you can access Webmin from browser.<\/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>ufw allow 10000\/tcp<\/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>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 to run commands as root<\/strong><\/code><\/pre>\n\n\n<div class=\"wp-block-image\">\n<figure class=\"aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1486\" height=\"658\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-login-ui.png\" alt=\"Install Webmin on Debian 11\" class=\"wp-image-10862\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-login-ui.png?v=1636184467 1486w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-login-ui-768x340.png?v=1636184467 768w\" sizes=\"(max-width: 1486px) 100vw, 1486px\" \/><\/figure><\/div>\n\n\n<p>The default Webmin dashboard showing system information.<\/p>\n\n\n\n<figure class=\"wp-block-image size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"1893\" height=\"951\" src=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-web-interface.png\" alt=\"\" class=\"wp-image-10863\" title=\"\" srcset=\"https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-web-interface.png?v=1636184495 1893w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-web-interface-768x386.png?v=1636184495 768w, https:\/\/kifarunix.com\/wp-content\/uploads\/2021\/11\/webmin-web-interface-1536x772.png?v=1636184495 1536w\" sizes=\"(max-width: 1893px) 100vw, 1893px\" \/><\/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<p>Other tutorials<\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/setup-bind-dns-using-webmin-on-debian-10\/\" target=\"_blank\" rel=\"noreferrer noopener\">Setup Bind DNS Using Webmin on Debian 10<\/a><\/p>\n\n\n\n<p><a href=\"https:\/\/kifarunix.com\/configure-bind-dns-server-using-webmin-on-centos-8\/\" target=\"_blank\" rel=\"noreferrer noopener\">Configure BIND DNS Server using Webmin on CentOS 8<\/a><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Follow through this tutorial to learn how to install Webmin on Debian 11. Webmin&nbsp;is a web based control panel that allows system administrators to manage<\/p>\n","protected":false},"author":1,"featured_media":9998,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"rank_math_lock_modified_date":false,"footnotes":""},"categories":[121],"tags":[3958,4249,268,4250],"class_list":["post-10859","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-howtos","tag-debian-11","tag-install-webmin-on-debian-11","tag-webmin","tag-webmin-debian-11","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\/10859"}],"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=10859"}],"version-history":[{"count":8,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10859\/revisions"}],"predecessor-version":[{"id":21618,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/posts\/10859\/revisions\/21618"}],"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=10859"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/categories?post=10859"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/kifarunix.com\/wp-json\/wp\/v2\/tags?post=10859"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}