If your New to Runner or just registered please check your junk mail or spam folder to activate registration . Welcome to Runner ... Use a ad blocker to enjoy the movies

Go Back   Runner > Servers > Linux Servers

Linux Servers A Linux server is a variant of the Linux operating system that is designed to handle more intense storage and operational needs of larger organizations and their software. ... Additionally, Linux Servers are generally lighter to run on both physical and cloud servers because they don't require a graphics interface

Reply
 
Thread Tools Search this Thread Display Modes
  #1  
Old 04-11-2021, 03:10 PM
Runner's Avatar
Runner Runner is online now
Administrator
 
Join Date: Nov 2020
Location: Moose Jaw
Posts: 382
Send a message via Skype™ to Runner
Default How To Install the Webmin Control Panel on an Ubuntu 18.04 VPS or Dedicated Server

How To Install the Webmin Control Panel on an Ubuntu 18.04 VPS or Dedicated Server





Written by Maria



Webmin is a server control panel that lets you manage your server using a sleek modern interface. With it, you’ll be able to adjust to a myriad of settings as well as manage users/groups and software packages. In this tutorial, we’re going to install Webmin, do some basic configuration, and then secure access to the control panel.
Before going through the steps in this article, there are a couple of things to make sure of. First, make sure your LAMP stack has been installed and is running correctly. You should at least be able to get to the default Ubuntu index page on Apache and phpinfo() should be returning valid output.
Additionally, make sure to have a fully qualified domain name as we’re going to be securing our Webmin Panel using a certificate from Let’s Encrypt.
Installing Webmin

  1. Add the Webmin Repository to the sources.list File
    1. sudo nano /etc/apt/sources.list

    Add the following to the bottom and save the file then exit:
    1. deb http://download.webmin.com/download/repository sarge contrib
  2. Add Webmin’s PGP Key
    1. wget http://www.webmin.com/jcameron-key.asc
    2. sudo apt-key add jcameron-key.asc
  3. Update the List of Packages Now That Webmin is Included
    1. sudo apt update
  4. Install Webmin
    1. sudo apt install webmin

Securing Webmin

At this point, Webmin is running but you have to reference port 10000 on the IP/domain. We’re going to install a TSL/SSL certificate from Let’s Encrypt and use Apache to proxy requests to Webmin on port 10000.
  1. Create a New Apache Virtual Host File
    1. sudo nano /etc/apache2/sites-available/yourdomainname.conf
  2. Add the Following Text to the New File Then Save and Close the File
    1. <VirtualHost *:80>
    2. ServerAdmin YourEmailAddress
    3. ServerName YourDomainName
    4. ProxyPass / http://localhost:10000/
    5. ProxyPassReverse / http://localhost:10000/
    6. </VirtualHost>
  3. Open Webmin’s miniserv.conf File
    1. sudo nano /etc/webmin/miniserv.conf
  4. Locate the Line
    1. ssl=1

    and Change It to
    1. ssl=0

    then Save and Close the File.
  5. Open the Webmin Config File
    1. sudo nano /etc/webmin/config
  6. Add the Following Line to the Bottom of the File:
    1. referers=YourDomainName
  7. Restart Webmin
    1. sudo systemctl restart webmin
  8. Enable Apache’s proxy_http Module
    1. sudo a2enmod proxy_http
  9. Enable the Virtual Host
    1. sudo a2ensite YourDomainName
  10. Restart Apache
    1. sudo systemctl restart apache2
  11. Create Your Security Certificate
    1. sudo certbot --apache --email YourEmailAddress -d YourDomainName --agree-tos --redirect --noninteractive

    You should see some output indicating that you have successfully enabled https://YourDomainName.
Conclusion

Webmin is now installed, running, and you’ve secured the control panel.
As soon as you log in you will be on the Dashboard where you can get a quick overview of system health and see critical information such as update notifications. Use the left-hand menu to explore all the different tasks Webmin makes easier.
Reply With Quote
Reply

Thread Tools Search this Thread
Search this Thread:

Advanced Search
Display Modes

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT -6. The time now is 07:35 PM.


Copyright ©2000 - 2021, Jelsoft Enterprises Ltd.
Copyright ©2020 - 2021, Runner