Converting Ubuntu 12.04 LTS desktop to server
I’ve been wondering how to convert this Ubuntu desktop to server. Also how Bitnami cramps an image of Ghost and ubuntu Server.
Well enough wondering.
sudo apt-get install tasksel
# Note: this may take a few minutes to complete
sudo tasksel remove ubuntu-desktop
# This will convert Desktop to Server
sudo tasksel install server
sudo apt-get install linux-server linux-image-server
sudo apt-get purge lightdm
Edit /etc/default/grub
and update to this configuration
GRUB_TIMEOUT=5
# Comment out ‘GRUB_HIDDEN_TIMEOUT’
GRUB_HIDDEN_TIMEOUT=0
GRUB_HIDDEN_TIMEOUT_QUIET=true
GRUB_CMDLINE_LINUX_DEFAULT=""
# only for PC
GRUB_TERMINAL=console
Then run: sudo update-grub
When you’re done, reboot
sudo reboot