|
-
September 28th, 2001, 07:45 PM
#6
Junior Member
switch the runtime
Kapper, you are obviously in runtime 5 (X), you would be better off in runtime 3 (console).
edit the file /etc/inittab
the first uncommented line should be
id:5:initdefault:
change the 5 to a 3, save and reboot.
now by default you should boot into console only.
of course you can go into X with the command
startx
and leave it with Ctrl+Alt+Backspace
when starting with linux I highly recommend not using X untill you have explored the OS thoroughly in console, and learned its inner workings. If you only use X, then that is all you will ever learn.
Also RH by default runs a lot of services. You can turn off any unnecissary services using the chkconfig command
chkconfig --list
will show you what services there are (at least that chkconfig recognizes), and a yes or no as to whether they are set to start in a particular runtime.
chkconfig --level 0123456 <service name> yes/no
is the command syntax for changing the yes or no setting. the numbers after level correspond to the runtimes, as you will see with chkconfig --level.
Note: you don't have to specify all of the runlevels.
of course RH has a nifty tool called 'setup', which is a visual ncurses style script to do this. type
setup
at prompt, select the services section, and remove the * from services that are unnecisary.
Although I recommend learning the command line way to do this. after you have mastered that then feel free to be lazy and use the setup script (I'm usualy lazy and will end up doing that on RH systems ;] )
stopping unnecisary programs will also minimize the amount of ports open on your system.
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
|