Webmin is a web-based interface for system administration for Unix. With any modern web browser you will be able to setup user accounts, Apache, DNS, file sharing, and more.
Webmin will remove the requirement to manually modify Unix configuration files such as ‘/etc/passwd’ and it will let you manage a system from the console or remotely.
1. Logging in as Root.
After you find out your IP address and root password, login as the main user root.
2. Adding Webmin to APT repository
Modify your ‘/etc/apt/sources.list’ file on the system and add the next lines. Open your file with nano.
Use the ‘[Page Down]’ button on your keyboard to get to the end of the file. You could also press ‘Left Alt+/‘.
Afterwards, paste the following lines.
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib Press CTRL + O to save your changes, and exit with CTRL + X.
3. Installing Webmin’s GPG key
You will have to also fetch and install Webmin’s GPG key where the repository is signed, do so with the commands in the following.
cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc
4. Installing Webmin
You should now be able to install using the commands:
apt-get update apt-get install webmin
5. Logging in to Webmin
Enter your browser and go to ‘http://your-VPS-ip:10000/’
You will now be able to login as root with your root password or as any user who could use sudo to run commands as root.
Your webmin should now be setup, hopefully this tutorial was helpful.