Setting up Ubuntu in the cloud is great if you are not afraid of using the command line but for those that need it, there are web based server management GUI’s you can install.
Once Ubuntu is installed (I have many guides at www.fearby.com) you can install http://www.webmin.com/ (web based management GUI for Ubuntu). It is similar to https://runcloud.io but it’s free. Read the Webadmin install guide here.
Ubuntu Install Steps
Run this in your root terminal to install Webmin on Ubuntu after you install and configure a web server, MySQL and SSL.
sudo sh -c 'echo "deb http://download.webmin.com/download/repository sarge contrib" > /etc/apt/sources.list.d/webmin.list'
wget -qO - http://www.webmin.com/jcameron-key.asc | sudo apt-key add -
sudo apt-get update
sudo apt-get install webmin
Allow port 1000 on your firewall (in my case I am limiting this to my public IP).
sudo ufw allow from 555.55.555.555/24 to any port 10000
I opened port 10,000 on my Digital Ocean firewall screen too.
I installed an SSL certificate on my server (my guide here). I am having issues with Google Chrome and my SSL certificate so I switched ot safari.
I navigated to https://mydomain.com:10000 to log in to the Webmin dashboard
I could now log in to Webmin so I reset the password???
/usr/share/webmin/changepass.pl /etc/webmin username password
Now I can login to Webmin
Webmin has a load of options available, I zeroed in on viewing log files.
I think I need to ban a few IP’s in my firewall based on the login attempts above. View my guide on securing Ubuntu in the cloud.
sudo ufw deny from 184.108.40.206
sudo ufw deny from 220.127.116.11
sudo ufw deny from 18.104.22.168
sudo ufw deny from 22.214.171.124
Webmin has a great section on Ubuntu Users
View User Details
Securing Webmin Configuration then IP Access Control and whitelist your IP address to ensure no one else can view your server (I went to http://icanhazip.com to get my IP address).
I then used the Webmin backup screen to backup my system.
This is great, it is backing up my system 🙂
drwxr-xr-x 27 root root 4096 Aug 9 23:27 .
drwxr-xr-x 27 root root 4096 Aug 9 23:27 ..
-rw-r--r-- 1 root root 145670144 Aug 9 23:33 backup.tar
I used pydf to see how much storage space I have (I am only using 2.65GB but have 17GB available).
Filesystem Size Used Avail Use% Mounted on
/dev/vda1 19G 2658M 17G 13.5 [####..........................] /
/dev/vda15 104M 3425k 101M 3.2 [#.............................] /boot/efi
Gzip is taking a load of time to backup my system.
I did not need to use (htop) to monitor the CPU, Webmin has a CPU monitor built in.
Webmin also allows you to add users
Beware though you need to assign a user to modules or they won’t be able to do/see much when they login.
If you provide your MySQL root password you can create databases in Webmin under Servers then MySQL Database Server
Loads of database options that I would normally use Adminer for 🙂
There is a file browser but (I can’t seem to drag and drop).
Official documentation is found here. I’ll add more to this post as I discover it.
Check out my other posts at www.fearby.com.
Donate and make this blog better
Ask a question or recommend an article
v1.0 Initial Post