Take the 2-minute tour ×
Server Fault is a question and answer site for professional system and network administrators. It's 100% free, no registration required.

I am transitioning from Ubuntu to CentOS. Whereas Ubuntu has separate desktop and server versions, I see only one version of CentOS. It seems to have a GUI. Is there any stripped down version version of CentOS for CLI-only applications?

share|improve this question

4 Answers 4

up vote 5 down vote accepted

Look closer. There is a "minimal" version available: ftp://ftp.hosteurope.de/mirror/centos.org/6.0/isos/x86_64/

share|improve this answer
    
+1 this is what I use on my production systems. Note that minimal really is minimal (which is good IMO). I had to install wget, for example. –  MDMarra Oct 26 '11 at 23:45

There are a couple ways to do this.

I think the best way is to download the default ISO image and deselect all packages to get get a minimal install, or install just the packages that you need. Instructions for this are in the CentOS FAQ at 3. Can I install CentOS 5 with just the first CD?. If you want a lightweight OS with just X window or just an Apache webserver, this method is for you.

As an alternative, CentOS provides a "Minimal" ISO. They are also supposed to provide a "LightWeightServer " ISO, but I haven't heard anything else about this LWS version.

The CentOS 6 Release Announcement says:

+++++++++++++++++++++++

Minimal Install CD

We have also created a minimal install CD, that would bring up a base machine with just enough content to have a usable platform. This CD image will be released in the next few days.

+++++++++++++++++++++++

The LightWeightServer (LWS) CD

In order to bring back the CentOS-4 Server CD style single iso image, we are creating a LWS varient of the main distro. Details for this will be posted in the next few days with release happening after the live media and the minimal cd editions.

The Minimal ISO is available on CentOS mirrors. Look for CentOS-6.0-x86_64-minimal.iso on the following mirror, for example:

http://linux.mirrors.es.net/centos/6.0/isos/x86_64/

share|improve this answer

No

But you can select to install GUI or not during installation...

share|improve this answer

Actually, after you install the system all you have to do is to set the initdefault line in /etc/inittab to 3 from 5. For example:

 id:3:initdefault:
share|improve this answer
    
This still has the packages on the system which takes up disk space and provides the potential for exploitation. –  MDMarra Oct 26 '11 at 23:31
    
I guess it depends on your selection of packages at installation wouldn't it? –  mdpc Oct 26 '11 at 23:52
1  
Not really. Runlevel 5, by definition, launches a display manager. The OP wanted to avoid installing a GUI. docs.redhat.com/docs/en-US/Red_Hat_Enterprise_Linux/6-Beta/html/… –  MDMarra Oct 27 '11 at 0:59

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.