Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations strongm on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

Looking for a Linux CD with no GUI. 1

Status
Not open for further replies.

manch72

Programmer
Jul 30, 2006
1
US
Hi.
I am new to Linux. I am looking for Linux with no
no GUI interface.Just using command line.
Thank you.
 
Any Linux'll do. During most installs it will ask if you want to run GUI. Just say no. Or load the GUI and edit the file /etc/inittab, There's a line early in the file which looks like this...

id:5:initdefault:

Change the 5 to a 3, save the file, then reboot. I use this for all my servers. Why waste RAM on GUI if you don't need it.

Another feature if you configure X, then edit the inittab is any other X-windows client can connect through ssh or telnet and run the GUIs remotely. Even when GUI is not running on the server.

BTW and explanation for the run levels is usually in the inittab before the id:... line, but in case your distro doesn't, here it is...

# 0 - halt (Do NOT set initdefault to this)
# 1 - Single user mode
# 2 - Multiuser, without NFS (The same as 3, if you do not have networking)
# 3 - Full multiuser mode
# 4 - unused
# 5 - X11
# 6 - reboot (Do NOT set initdefault to this)

Mark
 
You can also specify the runlevel at the boot loader. If it is LILO, then:
linux 3
will boot you into runlevel 3.

I don't recall how to do it with Grub, but you can edit the grub commands at boot time and change the command as well.


pansophic
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top