{"id":1274,"date":"2021-12-16T12:01:49","date_gmt":"2021-12-16T09:01:49","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/20\/how-to-set-up-webmin-on-ubuntu-server\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/20\/how-to-set-up-webmin-on-ubuntu-server\/"},"modified":"2021-12-16T12:01:49","modified_gmt":"2021-12-16T09:01:49","slug":"how-to-set-up-webmin-on-ubuntu-server","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1274-how-to-set-up-webmin-on-ubuntu-server\/","title":{"rendered":"How to set up Webmin on Ubuntu Server"},"content":{"rendered":"<section id=\"related_posts\">\n<div class=\"block-head\">\n<h3>Related Articles<\/h3>\n<\/div>\n<\/section>\n<p>Ubuntu Server is an excellent Linux server operating system. It comes with Snaps, which makes setting up apps easier. In addition, it has live patching, so you never miss a security update and many more excellent features.<\/p>\n<p>Still, for as great as Ubuntu Server is, setting up certain things can be a pain. If you\u2019d like to avoid the annoyances of Ubuntu Server, check out Webmin. It\u2019s a management tool for UNIX-like operating systems. With it, users can manage their Linux systems with an elegant web UI rather than the terminal. Here\u2019s how to set it up.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408941 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server.jpg\" alt=\"\" width=\"1200\" height=\"628\"\/><\/p>\n<h2>Setting up Webmin to Ubuntu Server<\/h2>\n<p>To install Webmin on Ubuntu Server, you\u2019ll have to download it. There are many ways to install Webmin on Ubuntu. One way to get it working is to download the standalone DEB package and install it. However, there is also a PPA that can be set up.<\/p>\n<h3>Stand-alone DEB installation<\/h3>\n<p>To set up Webmin via the standalone DEB package, do the following. First, log into your Ubuntu Server via your Linux desktop over SSH. Or, sit at the Ubuntu Server and log in via the TTY console.<\/p>\n<p>Once you\u2019ve got access to the Ubuntu Server\u2019s command-line, use the\u00a0<strong>wget<\/strong> downloader command to grab the latest Webmin DEB package directly to your server.<\/p>\n<p>Note: if you do not want to download the DEB package directly to your Ubuntu Server, feel free to download it to your computer and transfer it over the network.<\/p>\n<pre>\nwget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.981_all.deb\n<\/pre>\n<p>With the DEB package file downloaded to your Ubuntu Server, installation can begin. Using the <strong>apt install<\/strong> command, set up Webmin.<\/p>\n<pre>\nsudo apt install .\/webmin_1.981_all.deb\n<\/pre>\n<p>When you enter the command above, Ubuntu will ask you for your password. Using the keyboard, enter your password into the terminal. Then, press the <strong>Y<\/strong> key to confirm that you wish to install Webmin.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408917 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server-1.jpg\" alt=\"\" width=\"1200\" height=\"324\"\/><\/p>\n<p>When the installation of Webmin is complete, open up a web browser on a computer, tablet, or smartphone. Then, type in the following URL into a web browser.<\/p>\n<p><code>http:\/\/YOUR_UBUNTU_SERVER_IP_OR_HOSTNAME:10000<\/code><\/p>\n<h3>Webmin PPA installation<\/h3>\n<p>If you\u2019d prefer to update Webmin with Ubuntu\u2019s software updater, you can install Webmin via a PPA. To configure the PPA, do the following. First, log into your Ubuntu Server via SSH in a terminal, or use the TTY console.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408911 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server-2.jpg\" alt=\"\" width=\"1200\" height=\"563\"\/><\/p>\n<p>Once logged in, use the <strong>sudo -s<\/strong> command to swap the terminal window to the root account. Then, use <strong>apt install<\/strong> to set up Curl, GPG, and Apt-transport-https.<\/p>\n<pre>\nsudo -s apt install curl gpg apt-transport-https\n<\/pre>\n<p>After installing the three packages, download the Webmin PPA key to your computer and install it to the system.<\/p>\n<pre>\ncurl https:\/\/download.webmin.com\/jcameron-key.asc | sudo apt-key add -\n<\/pre>\n<p>With the key configured, add the Webmin PPA to your Ubuntu system using the <strong>echo<\/strong> command.<\/p>\n<pre>\necho \"deb https:\/\/download.webmin.com\/download\/repository sarge contrib\" | tee &gt; \/etc\/apt\/sources.list.d\/webmin.list\n<\/pre>\n<p>Once the Webmin PPA is set up on your Ubuntu Server, you will need to refresh your software sources using the <strong>apt update<\/strong> command.<\/p>\n<pre>\napt update\n<\/pre>\n<p>Finally, install the latest release of Webmin on Ubuntu Server using the <strong>apt install<\/strong> command.<\/p>\n<pre>\napt install webmin\n<\/pre>\n<h2>Configuring the root password for Webmin<\/h2>\n<p>To use Webmin on Ubuntu, you\u2019ll need to have access to the root account. Sadly, Ubuntu Server locks up the root account and scrambles the password. So, you will not be able to log into Webmin without the root password.<\/p>\n<p>To re-enable the root account on your Ubuntu Server system, do the following. First, log into the server with your user credentials over SSH. Or physically sit at the Ubuntu system and use the TTY console.<\/p>\n<p>Once you\u2019ve got access to the Ubuntu command-line, use the <strong>sudo -s<\/strong> command in the terminal. This command will escalate your terminal from a standard user to the root account without the need for a password.<\/p>\n<pre>\nsudo -s\n<\/pre>\n<p>With the terminal logged in as root, use the <strong>passwd<\/strong> command. Using this command will re-enable the root account and allow you to log in with the \u201croot\u201d user in Webmin.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408932 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server-3.jpg\" alt=\"\" width=\"1200\" height=\"539\"\/><\/p>\n<p>Note: be sure to use a memorable and secure password for the root account. If you\u2019re having trouble finding a secure password, check out the strong password generator.<\/p>\n<pre>\npasswd\n<\/pre>\n<h3>Logging in to Webmin in Ubuntu<\/h3>\n<p>To log into the Webmin web UI in Ubuntu, do the following. First, open up a web browser tab. Then, enter the following URL into the address bar and press the <strong>Enter<\/strong> key.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408920 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server-4.jpg\" alt=\"\" width=\"1200\" height=\"542\"\/><\/p>\n<p><code>http:\/\/YOUR_UBUNTU_SERVER_IP_OR_HOSTNAME:10000<\/code><\/p>\n<p>When the URL loads up, a login window will appear. In the login box, type in \u201croot.\u201d Then, in the password box, type in the root password you set earlier. Then, click on the \u201clogin\u201d button to access the Webmin web UI.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-408941 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-webmin-on-ubuntu-server.jpg\" alt=\"\" width=\"1200\" height=\"628\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Ubuntu Server is an excellent Linux server operating system. It comes with Snaps, which makes setting up apps easier. In addition, it has live patching, so you never miss a security update and many more excellent features. Still, for as great as Ubuntu Server is, setting up certain things can be a pain. &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1275,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":[],"categories":[21],"tags":[33],"_links":{"self":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1274"}],"collection":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/comments?post=1274"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1274\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1275"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1274"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1274"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1274"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}