Knowledge Base

Webmin is a light-weight, web-based control panel for managing a Linux server. Compared to other panels, I like it because:

  • It does not have many dependencies. For example, if you want Webmin to control an FTP server, install a supported server. If you dont want FTP, don't install it.
  • Its not designed for the shared hosting reseller market, which means it doesnt have the functionality resellers require hence making it easier to learn for use on a VPS.

This guide will walk you through setting up Webmin on either Debian or Ubuntu.


After purchasing your Mammoth VPS server, connect to your VPS using SSH and you are ready to install Webmin. To get started, change to a root prompt with sudo:

sudo -i

The Webmin Installing on Debian page provides the necessary info to add Webmin to the repository list, which I have simplified below:

echo deb http://download.webmin.com/download/repository sarge contrib >> /etc/apt/sources.list
wget http://www.webmin.com/jcameron-key.asc -O - | apt-key add -
apt-get update
apt-get install webmin apache2

You should now also install any other packages that Webmin supports (see their list) that you want to use. Here's some examples:

apt-get install libapache2-mod-php5 # Use PHP5 with Apache
apt-get install proftpd # FTP server
apt-get install mysql-server # MySQL server

You are now ready to use Webmin. In your web browser, open a https connection to your VPS using its IP address and port 10000. For example, https://110.232.114.2:10000/ . You might see an error that the security certificate is invalid - if so, tell your browser to accept the certificate.

You will then be asked to enter a username and password - this is the same details you used to login with ssh. After logging in, click the 'Refresh Modules' link on the right hand side - this will ensure Webmin is aware of any additional supported software you have installed.

The section you will initially want to use is probably 'Servers': click it to see the list of supported servers. At a minimum you should see 'Apache Webserver', 'Read User Mail', and 'SSH Server'. If you have installed MySQL or ProFTPd you should see those too (if you are looking for PHP, it appears as a section within 'Apache webserver').

For information on using Webmin, check out their wiki.

 

Preload Preload Preload