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
Forum Moderator
Posts: 26878
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.
CentOS 5 died in March 2017 - migrate NOW!
CentOS 6 goes EOL sooner rather than later, get upgrading!
Full time Geek, part time moderator. 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

Return to “CentOS 5 - Server Support”