How to Setup Ubuntu with Webmin on Azure/AWS/GCP

To install Webmin on Ubuntu and run in Azure/AWS/GCP, the best way is to deploy the template from the marketplace. It setups Ubuntu and automatically installs and fully configures Webmin for you. Click on the links below to deploy to your preferred cloud environment.

Setup Webmin on Ubuntu in Azure

 

Deploy Ubuntu with Webmin installed on Azure

 

setup webmin on azure

Setup Webmin on Ubuntu in AWS

 

Coming soon…

Setup Webmin on Ubuntu in GCP

 

Coming soon…

Getting Started

 

Once your Ubuntu server has been deployed, the following links explain how to connect to a Linux VM:

 

Login In

 

 

Once connected and logged in, the following section explains how to access the Webmin portal.

Once the VM has booted up, you can access the Webmin portal via the following URLs using the public or private IPs of your VM:

 

http://PublicIP:10000

Or

http://PrivateIP:10000

 

Login using the root user and password.

 

Create a new root user account

 

To create a root user and password. Open up your terminal and run the following commands:

 

Use the adduser command to add a new user to your system.

 

Be sure to replace username with the user that you want to create.

 

sudo adduser username

 

Set and confirm the new user’s password at the prompt. A strong password is highly recommended!

 

Set password prompts

 

Enter new UNIX password:

Retype new UNIX password:
password updated successfully

 

Follow the prompts to set the new user’s information. It is fine to accept the defaults to leave all of this information blank.

 

User information prompts:

 

Changing the user information for username
Enter the new value, or press ENTER for the default
Full Name []:
Room Number []:
Work Phone []:
Home Phone []:
Other []:
Is the information correct? [Y/n]

 

Use the usermod command to add the user to the sudo group.

 

sudo usermod -aG sudo username

 

By default, on Ubuntu, members of the sudo group have sudo privileges.

 

You can now login to Webmin URL using the new account.

 

Support / Documentation

 

Refer to Webmin documentation on using Webmin on Ubuntu: https://doxfer.webmin.com/Webmin/Main_Page

Webmin Firewall Ports

 

If you have a firewall on your network/cloud infrastructure or Network Security Group in Azure/AWS/GCP you will need to make sure the following ports are open:

 

TCP 10000

 

To setup AWS firewall rules refer to – AWS Security Groups

To setup Azure firewall rules refer to – Azure Network Security Groups

To setup Google GCP firewall rules refer to – Creating GCP Firewalls

Andrew Fitzgerald

Cloud Solution Architect. Helping customers transform their business to the cloud. 20 years experience working in complex infrastructure environments and a Microsoft Certified Solutions Expert on everything Cloud

No Comments

Post a Comment

Comment
Name
Email
Website