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.
I have a linux 7.1 kernel 2.4.2-2 machine and i must change the values of certain kernel variables. I have modified the values of some variables that are in the following files:
but i don't know what to do in order to have these changes taken into account by the system? Is it absolutely necessary to recompile the kernel (I'd rather not to...)?
Well, /proc directory contains some file that can dynamically modify kernel behaviour (and other files that show system info). For example:
echo 1 > /proc/sys/net/ipv4/icmp_echo_ignore_all
will disable ICMP_ECHO_REPLY, so you'll not respond to ping anymore...
So have a look in /proc/sys/kernel/ ... You may find interesting file. The only problem is to know/find what to put in which file.
Thank you, it seems more clear now but I still have questions.
The variables I am looking for are:
I found files (that contain values) for msgmax, msgmnb, msgmni, shmmni, shmmax in the /proc/sys/kernel directory but I can't find any file for the other variables. Does that mean that the kernel uses default values for them? If yes, is there a way to know these values and if necessary to modify them?
Does that mean that the kernel uses default values for them?
I think yes... but be careful, for example /proc/sys/kernel/sem file contains 4 values. For other values, if you really need to change them, I think that you have to modify kernel source code and so recompile kernel. But don't worry, kernel recompilation is quite simple