Installing Webmin on Ubuntu Server

Just to be aware what version you are on:

  • lsb_release -a
  • uname -a
  • uname -r

If it appears to be 12.04 consider the upgrade

  • sudo apt-get update
  • sudo apt-get install update-manager-core
  • do do-release-upgrade -d (d stands for development version), do do-release-upgrade (use this one instead)
  • lsb_release -a
  • uname -a
  • uname -r
  • If you get information “No LSB modules are available ” after execute the command “lsb_release -a” . Fix this problem by installing “lsb_core” package: sudo apt-get update, sudo apt-get install lsb-core

There are two methods of installation of webmin on Ubuntu Server that you might want to consider. Here is the first one:

  • sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show-versions python
  • wget http://prdownloads.sourceforge.net/webadmin/webmin_1.700_all.deb (visit the website before and consider to change it to the last version, if you download something old webmin is smart enough to get the update later)
  • sudo dpkg -i webmin_1.700_all.deb
  • then go to https://yourserver:10000, use the root credentials

The second method that requires editing (nano) /etc/apt/sources.list file. Usually on Ubuntu apt-get reports that webmin packages cannot be found, edit the sources.list then and make sure the lines ending with universe are not commented out. Voila!