Linux - NewbieThis Linux forum is for members that are new to Linux.
Just starting out and have a question?
If it is not in the man pages or the how-to's this is the place!
Welcome to LinuxQuestions.org, a friendly and active Linux Community.
You are currently viewing LQ as a guest. By joining our community you will have the ability to post topics, receive our newsletter, use the advanced search, subscribe to threads and access many other special features. Registration is quick, simple and absolutely free. Join our community today!
Note that registered members see fewer ads, and ContentLink is completely disabled once you log in.
If you have any problems with the registration process or your account login, please contact us. If you need to reset your password, click here.
Having a problem logging in? Please visit this page to clear all LQ-related cookies.
Introduction to Linux - A Hands on Guide
This guide was created as an overview of the Linux Operating System, geared toward new users as an exploration tour and getting started guide, with exercises at the end of each chapter.
For more advanced trainees it can be a desktop reference, and a collection of the base knowledge needed to proceed with system and network administration. This book contains many real life examples derived from the author's experience as a Linux system and network administrator, trainer and consultant. They hope these examples will help you to get a better understanding of the Linux system and that you feel encouraged to try out things on your own.
Click Here to receive this Complete Guide absolutely free.
hi guys, i have a very simple question, how to speed up my Red Hat 9.0
It has great graphics and stability but the only problem i am facing when using my internet is that it gets slow after sometime, or if i open 3-4 windows, is there any way to kill useless processes, i know i can do that using kill but which ones, also can i configure my startup items like we can do in windows, using msconfig... please help to make my speed up, because the net in the linux system is very very fast, even faster than winXP,
Maybe you would like to do some kernel tuning, for example i activate the "Overcommit Memory" option, but be carefull and read the comments about it.
Look at your kde or gnome menu i am sure you have an icon that says "kernel tuning".
I forgot to tell you, that you can do this too:
Login as root:
at the command prompt type: system-config-services # there you select which services will run at start up, read the comments so you will know whatv the services are for and you will learn something in the process,
Probably you may want to disable telnet if it is not disable already, because telnet is insecure. OpenSSH too if you dont use it. Those two i mentioned are for remote login.
There are a lot of process there to disable, the crond (Cron Daemon) is usefull to manage automated tasks, so you may want to use it, search at google/linux for information on how to use cron.
To list the process you can use the top command, it will list the process that consume more resources, you can tipe "k" and then the PID (Process ID number) to kill the process, type "u" and enter the name of an user to see all the process started by the user.
This command: ps -aux |more # list all process. then use the kill command to kill any process you want, type man kill for more information.
Hope this helps,
If you have any more doubts let me know.
Thankyou friends, well i use mozilla the default browser which comes with the RED HAT 9.0 Packaged software. The only problem is that it is not the browser which is slow. but it is that after doing some tasks (like opening any application or windows) Even after i close them , the system seems to be sluggish
I have a 1.7 Celeron Processor
128 MB ram..
I have a swap of 300 MB
This may help; I've got RH9 (w 128MB) as well, but it's a little old, so there are a good many updates worth getting if you haven't already.
1st, goto http://linux.duke.edu/projects/yum/ , and as root, install the yum tool.
This will enable you to do installs, updates etc and have dependencies automatically taken care of.
Here's my yum.conf:
# $Id: yum-rh.conf,v 1.2 2003/09/18 16:29:06 dude Exp $
name = Red Hat Linux 9 stock @ dulug
name = Red Hat Linux 9 updates/errata @ dulug
name=Red Hat Linux $releasever - $basearch - os
name=Red Hat Linux $releasever - $basearch - updates
name=Red Hat Linux $releasever - $basearch - freshrpms
name=Fedora Legacy Utilities for Red Hat Linux $releasever
name=Dag RPM Repository for older Red Hat Linux
then from the cmd line run
which will update everything it can find. This will take while. To be honest, I'd use a larger swap if you can spare the disk space.
If you are only going to use Mozilla as a browser, I'd suggest installing Firefox as it has the same basic engine, but not all the extras ie mail client, webpage composer etc.
Get it from http://www.mozilla.org/products/firefox/
As suggested above, go through the menus and turn off any un-necessary services.
recompile newer kernel with optimizations for your processor and to only support exactly the harware you have and nothing else can speed up throughput alot
then start trimming out the services you don't need for your runlevel
look in /etc/inittab to find default run level
id:3:initdefault: (mine is 3)
then go to that folder number in
i think in red hat there are some links right there in /etc
rc3.d -> rc.d/rc3.d
and like that
the services that start all have an "S" at the begining (Start)
research what they are and the ones you dont need remane with a beginning "_"
and they wont start (you need very few of them)
a) Do you need to write log-files? No -> disable syslogd and klogd!
b) Do you need to execute tasks in certain time-intervalls? No ->
c) You definitely do not need "atd" or have you ever used it before?
d) You do not need the NFS daemon for you do not have any harddisk
with partitions to share!
e) Do you really need any MTA? Yes -> do not use sendmail!! Use
program that just forwards everything to the server
So deactivate sendmail
f) You definitely do not need "gpm" for you run xwindows with its own
g) You may need "lpd" if you locally run programs and want to use the
remote-printer attached to your server. If you run programs remotely
with just a local visualization then you do not need "lpd" for
printing, printing is done on the remote machine then.
h) You do not need "routed".
i) Depending on your network-configuration you may need some service
like "identd" for authentication. These services are rarely needed so
use "inetd" to run them. But comment out everything you do not
really need. No service listed in "inetd" standard-configuration is
needed to run xwindows!
if you decide to use inetd or xinetd edit their configuration and take out the stuff you don't use
you don't need sgi_fam swat or any of that stock stuff like echo, time, daytime, chargen
j) startx from the console don't start "xdm" or "gdm" "kdm" an boot-time
k) Do not start a x-font server!
in redhat there is always that stupid font server
go to your x config file and comment out that line
(i forget what it is ) research
x has it's own font server anyway !
you might have to add font paths to the x config file i can't remember
l) One HTTP server is enough, so do not start one on the client.
if you like to experiment with it just start and stop it by hand some times
m) don't need all the other servers ssh, ftp, etc... unless you use them
your client programs will still work fine without the server deamons running
also turn down the colordepth on you x server
under section "Screen" use
also to save a little ram go to /etc/inittab
and cut down on the number of ttys
1:2345:respawn:/sbin/agetty tty1 9600
2:2345:respawn:/sbin/agetty tty2 9600
3:2345:respawn:/sbin/agetty tty3 9600
4:2345:respawn:/sbin/agetty tty4 9600
5:2345:respawn:/sbin/agetty tty5 9600
6:2345:respawn:/sbin/agetty tty6 9600
comment out with a # the last four of these unless you use them for something
now zoom zoom
Last edited by foo_bar_foo; 09-23-2004 at 12:39 AM.
Thnkyou very much guys, foo_bar_foo and chris, being a new bie i am really very thankful that you have given me such neat instructions, i shall surely try and make the changes you have suggested.. and i shall notify you weather it worked or not...