{"id":1216,"date":"2021-12-16T12:27:55","date_gmt":"2021-12-16T09:27:55","guid":{"rendered":"https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/30\/how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server\/https:\/\/files2.tojikon.net\/files-cloud\/2021\/10\/30\/how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server\/"},"modified":"2021-12-16T12:27:55","modified_gmt":"2021-12-16T09:27:55","slug":"how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server","status":"publish","type":"post","link":"https:\/\/tojikon.net\/en\/1216-how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server\/","title":{"rendered":"How to set up an Apache web server with 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>Apache is an excellent web server tool that works on Ubuntu. However, it\u2019s not the easiest to set up. Thankfully, if you use Webmin on your Ubuntu Server system, you can set it up real easy right in the Webmin UI.<\/p>\n<p>This guide will show you how you can set up an Apache web server on Ubuntu Server with Webmin. We\u2019ll also show you how you can manage it with the Webmin web UI interface.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410669 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/10\/webmin-upload-html.jpg\" alt=\"\" width=\"1200\" height=\"555\"\/><\/p>\n<h2>Getting Webmin installed on Ubuntu Server<\/h2>\n<p>To use the built-in Apache server module in Webmin, you\u2019ll first need to configure the Webmin web UI interface. However, setting up Webmin isn\u2019t very difficult. To install it, launch a terminal window, SSH into the Ubuntu server (or sit at it physically) and access the command line.<\/p>\n<p>Once you\u2019ve got access to the Ubuntu Server command-line, do the following to get the Webmin web UI up and running.<\/p>\n<pre>\nwget http:\/\/prdownloads.sourceforge.net\/webadmin\/webmin_1.981_all.deb\n<\/pre>\n<pre>\nsudo apt install .\/webmin_1.981_all.deb\n<\/pre>\n<p>If you need more guidance in setting up Webmin on your Ubuntu Server, please check out our guide on how to set up Webmin on Ubuntu Server.<\/p>\n<h2>Setting your root password<\/h2>\n<p>If you wish to use the Webmin web UI on your Ubuntu Server, you will have to have access to the root password and the root account. Ubuntu locks off the root password by default for security purposes.<\/p>\n<p>To set the root password, first, log into root using the <strong>sudo -s<\/strong> command.<\/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-an-apache-web-server-with-webmin-on-ubuntu-server.jpg\" alt=\"\" width=\"1200\" height=\"539\"\/><\/p>\n<pre>\nsudo -s\n<\/pre>\n<p>Once you\u2019ve gained root access, the password can be set. Using the <strong>passwd<\/strong> command, tell Ubuntu you wish to set the root password. Be sure that the root password is memorable and secure.<\/p>\n<p>Note: if you need help generating a secure password, click here.<\/p>\n<pre>\npasswd\n<\/pre>\n<p>With the root account configured, you\u2019ll be able to log into the Webmin web UI. To access the Webmin web UI on your Ubuntu Server, open up a new browser tab. Then, go to the URL listed below.<\/p>\n<pre>\nhttp:\/\/YOUR_UBUNTU_SERVER_IP_ADDRESS_OR_HOSTNAME:10000\n<\/pre>\n<p>Note that you must put \u201croot\u201d in the username box for the Webmin login and the newly created password in the password box to log in.<\/p>\n<h2>Installing Apache web server packages on Ubuntu Server<\/h2>\n<p>To set up Apache on Ubuntu Server with Webmin, follow the step-by-step instructions below.<\/p>\n<p><strong>Step 1:<\/strong> Click on the menu on the left-hand side to reveal its options. Then, find the \u201cWebmin\u201d section next to \u201cDashboard,\u201d find the \u201cUn-used Modules\u201d button, and click on it.<\/p>\n<p><strong>Step 2:<\/strong> Inside of the \u201cUn-used Modules\u201d section, locate the \u201cApache Webserver\u201d button and select it to access the Apache Webserver module section.<\/p>\n<p><strong>Step 3:<\/strong> In the Webmin Apache Webserver module area, you\u2019ll see a message. This message states, \u201cThe Apache server executable \/usr\/sbin\/apache2 does not exist. If you have Apache installed, adjust the module configuration to use the correct path.\u201d<\/p>\n<p>Find the green \u201cInstall Now\u201d button to launch the installation process on your Ubuntu Server system.<\/p>\n<p><strong>Step 4:<\/strong> When the green \u201cInstall Now\u201d button is selected, it will become a blue \u201cInstall Now\u201d button. Select this button to install all packages required to use Apache on Ubuntu Server.<\/p>\n<h2>Configuring your Apache web server in Webmin<\/h2>\n<p>While the default settings for your Apache web server are adequate, you may wish to change some configuration settings. Here\u2019s how to do that.<\/p>\n<p><strong>Step 1:<\/strong> Find the Webmin sidebar and click on it with the mouse. Then, find the \u201cServers\u201d section and click on it with the mouse.<\/p>\n<p><strong>Step 2:<\/strong> Inside the \u201cServers\u201d area, click on the \u201cApache Webserver\u201d option. This option will take you to the Apache Webserver configuration area.<\/p>\n<p><strong>Step 3:<\/strong> Find the setting you wish to change in your Apache Webserver. Options include \u201cProcesses and Limits,\u201d \u201cNetworking and Addresses,\u201d \u201cMIME Types,\u201d Miscellaneous,\u201d \u201cPer-Directory Options Files,\u201d etc.<\/p>\n<h2>Adding files to your Apache web server<\/h2>\n<p>Now that you\u2019ve got your Apache server up and running, it is time to add some HTML files to it. Here\u2019s how to do it with Webmin.<\/p>\n<p><strong>Step 1:<\/strong> Click on the left-hand sidebar in Webmin. Then, choose the \u201cTools\u201d menu option with the mouse.<\/p>\n<p><strong>Step 2:<\/strong> Inside the \u201cTools\u201d area, find the \u201cFile Manager\u201d option and click on it to open up the Webmin file manager app.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410648 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server-1.jpg\" alt=\"\" width=\"1200\" height=\"1008\"\/><\/p>\n<p><strong>Step 3:<\/strong> Inside the file manager, find \u201cvar\u201d and double-click on it to access the \/var\/ directory. Then, select the \u201cwww\u201d folder and double-click on it to access the \/var\/www\/ folder.<\/p>\n<p><strong>Step 4:<\/strong> In the \/var\/www\/ folder, find the \u201chtml\u201d folder and double-click on it to access the web directory for your Apache web server.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410651 size-full\" src=\"https:\/\/files2.tojikon.net\/files-cloud\/wp-content\/uploads\/2021\/12\/how-to-set-up-an-apache-web-server-with-webmin-on-ubuntu-server-2.jpg\" alt=\"\" width=\"1200\" height=\"623\"\/><\/p>\n<p><strong>Step 5:<\/strong> Inside of the Webmin file manager, select the \u201cFile\u201d button with the mouse. Then, select the \u201cDrag and drop files here or click to select\u201d text to upload a new HTML document to your Apache server.<\/p>\n<p><img decoding=\"async\" loading=\"lazy\" class=\"alignnone wp-image-410669 size-full\" src=\"https:\/\/www.addictivetips.com\/app\/uploads\/2021\/10\/webmin-upload-html.jpg\" alt=\"\" width=\"1200\" height=\"555\"\/><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Related Articles Apache is an excellent web server tool that works on Ubuntu. However, it\u2019s not the easiest to set up. Thankfully, if you use Webmin on your Ubuntu Server system, you can set it up real easy right in the Webmin UI. This guide will show you how you can set up an Apache &hellip;<\/p>\n","protected":false},"author":1,"featured_media":1217,"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\/1216"}],"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=1216"}],"version-history":[{"count":0,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/posts\/1216\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media\/1217"}],"wp:attachment":[{"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/media?parent=1216"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/categories?post=1216"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/tojikon.net\/en\/wp-json\/wp\/v2\/tags?post=1216"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}