Downgrade from Desktop to Server Core

Installing, Configuring, Troubleshooting server daemons such as Web and Mail
Post Reply
bislinkscom
Posts: 8
Joined: 2014/02/24 14:05:14

Downgrade from Desktop to Server Core

Post by bislinkscom » 2014/02/27 03:55:46

How do I downgrade from Desktop to Server Core without losing any data?

Appreciate any help....

I am running 6.5...

gerald_clark
Posts: 10642
Joined: 2005/08/05 15:19:54
Location: Northern Illinois, USA

Re: Downgrade from Desktop to Server Core

Post by gerald_clark » 2014/02/27 05:28:07

Just edit /etc/inittab and change the runlevel from 5 to 3.

bislinkscom
Posts: 8
Joined: 2014/02/24 14:05:14

Re: Downgrade from Desktop to Server Core

Post by bislinkscom » 2014/02/27 17:56:49

Does that uninstall the Desktop or just stop loading the Desktop?

My purpose here is to save memory by uninstalling Desktop or whatever means...

If it does save memory and if I can avoid loading all those Desktop libraries....that is what I want.

User avatar
TrevorH
Site Admin
Posts: 33202
Joined: 2009/09/24 10:40:56
Location: Brighton, UK

Re: Downgrade from Desktop to Server Core

Post by TrevorH » 2014/02/27 18:18:43

It just stops it from loading but that saves memory. The GUI will still be installed and using hard disk space but that's usually cheap and plentiful. If you really want to uninstall the packages then perhaps run the following but do not reply Y to the prompt until you have fully read the list of packages that will be uninstalled and verified that none of them are critical to your work!

Code: Select all

yum remove xorg\* gnome\* kde\* 
That may not be complete but it should be a good start.
The future appears to be RHEL or Debian. I think I'm going Debian.
Info for USB installs on http://wiki.centos.org/HowTos/InstallFromUSBkey
CentOS 5 and 6 are deadest, do not use them.
Use the FAQ Luke

bislinkscom
Posts: 8
Joined: 2014/02/24 14:05:14

Re: Downgrade from Desktop to Server Core

Post by bislinkscom » 2014/02/27 18:48:21

For now, I will stick with just changing the run level to 3.

Post Reply