How to install webmin on ubuntu 12.04 server

Webmin is a web-based interface for system administration for Unix. Using any modern web browser, you can setup user accounts, Apache, DNS, file sharing and much more. Webmin removes the need to manually edit Unix configuration files like /etc/passwd, and lets you manage a system from the console or remotely.

Install webmin on ubuntu 12.04 server for easy administartion

Edit /etc/apt/sources.list file

sudo nano /etc/apt/sources.list

Add the following lines

deb http://download.webmin.com/download/repository sarge contrib

deb http://webmin.mirror.somersettechsolutions.co.uk/repository sarge contrib

Save and exit the file

Now you need to import GPG key

wget http://www.webmin.com/jcameron-key.asc

sudo apt-key add jcameron-key.asc

Update the source list

sudo apt-get update

Install webmin

sudo apt-get install webmin

access webmin using https://serverip:10000/

——————–

OR manual

——————–

sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python

Download the latest webmin archive (this might change in time) and choose debian package

wget http://www.webmin.com/download/deb/webmin-current.deb

Install webmin with following command:

sudo dpkg –install webmin-current.deb

to access webmin open your browser and enter: https://localhost:10000/

access webmin using https://serverip:10000/

IF After upgrade to Ubuntu 12.04 webmin not login

In terminal run:

sudo /usr/share/webmin/changepass.pl /etc/webmin root password

where password write the password for the first ubuntu user (who has root privileges), refresh the http://serverip:10000/ and the webmin will login!