Installing WebMin on your server.
In our previous article we explained how to install a LAMP stack on your own server. Now we will take this further by installing Webmin. For best results, it should only be installed on a fresh, clean Operating System. There are two methods:
1. Log in to your server and access terminal as root. Once you are logged in, run the following command to install all dependencies:
apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
2. Run the following commands to download Webmin:
then install by running this command:
dpkg --install webmin_1.680_all.deb
The install will automatically be done to /usr/share/webmin with the administration username set to root and the password your current root password.
You should now be able to login to Webmin at the URL http://localhost:10000/. Or if accessing it remotely, replace localhostwith your system’s IP address.
Webmin APT repository
If you want to install / update Webmin via APT, edit the /etc/apt/sources.list file on your server and add these lines:
deb http://download.webmin.com/download/repository sarge contrib deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib
Fetch and install the GPG key with which the repository is signed:
cd /root wget http://www.webmin.com/jcameron-key.asc apt-key add jcameron-key.asc
You can now install using the following commands:
apt-get update apt-get install webmin