Friday 28 March 2014

Installing Webmin on Ubuntu 12.04 server

Preparing your system
1. Open the terminal and run the following command
     sudo apt-get install perl libnet-ssleay-perl openssl libauthen-pam-perl libpam-runtime libio-pty-perl apt-show versions python
Downloading the Webmin
2. Now you need to dpwnload webmin deb package using the following command
                   wget http://prdownloads.sourceforge.net/webadmin/webmin_1.580_all.deb
      Installing Webmin
3. Install downloaded package using the following command
                 sudo dpkg -i webmin_1.580_all.deb
4. This will install webmin now you need to access https://ubuntu-serverip:10000
 

How to Remove The GUI from Ubuntu

1. You should be able to simply remove lightdm
sudo apt-get remove lightdm
This will remove the ubuntu-desktop meta package.
2. You can also edit /etc/default/grub
and change
GRUB_CMDLINE_LINUX_DEFAULT=”quiet splash”
to
GRUB_CMDLINE_LINUX_DEFAULT=”text”
3. then run
sudo update-grub