Webmin install for Apache administration on Raspberry Pi


Webmin is an awesome and powerful monitoring/maintenance utility that does much more than just monitoring your Apache web server.
You can view system information, start/stop running processes, etc. You can even edit your chron jobs.
For a Raspberry Pi this is an awesome tool.. and it is open source!
I came across a great article on installing webmin from start to finish by Theo B.
It also contains some tips on updating package manager and keys for the install worth noting.
I followed the simple steps and had webmin up and running in no time.

Article Source:

Creating a user to use to log into webmin:
sudo adduser (yourusername)
You can enter fields or leave them blank. It will create a user dir.

Next give it non root rights using sudo visudo
sudo visudo
Use the cursor keys to navigate to the line below the entry for pi and copy it exactly, but use your new username instead of pi.
(yourusername) ALL=(ALL) ALL
you will use (yourusername) to log into the webmin console.

Add the Webmin repository so that we can easily install and update Webmin using our package manager. We do this by adding the repository to the /etc/apt/sources.list file.
Open the file in your editor:
sudo nano /etc/apt/sources.list
Then add this line to the bottom of the file to add the new repository:
. . .
deb http://download.webmin.com/download/repository sarge contrib
Save the file and exit the editor.

Next, add the Webmin PGP key so that your system will trust the new repository:

wget http://www.webmin.com/jcameron-key.asc
sudo apt-key add jcameron-key.asc
Next, update the list of packages to include the Webmin repository:

sudo apt-get update Then install Webmin:

sudo apt-get install webmin
Once the installation finishes, you be presented with the following output:
Webmin install complete. You can now login to
https://your_server_ip:10000 as root with your
root password, or as any user who can use `sudo`.

You are now able to log into webmin directly.
If you are using it as an external host, there is more information on setting up ssl/https using Let's Encrypt which
is a free to use CA (certificate authority) and creating certs for ssl connections.
For me, I will just bypass the SSL warning for now since it is an internal server for playing around with.