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 two machines - both has Fedora Core 4. Recently, I am trying to setup IPSec in both machines to verify this. Part of the steps required me to install ipsec-tools 0.6.5 version which required me to specify the location of kernel headers (/lib/modules/2.6.11-1.1369_FC4/build/include).
I have two machines as I said before, machine A, and machine B. machine A - I was able to make ipsec-tools 0.6.5 (was able to include kernel headers). When I attemped to do this at machine B, I dont see anything in the include directory, but a link to ../../../usr/src/kernels/2.6.11-1.1369_FC4-i686. And I tried to go back to /usr/src/ and found is nothing in there. However, I see my machine A has everything, /usr/src/kernels/2.6.11-1.1369_FC4-i686.
That means something happend to my kernels in machine B ? In case I have to re-install the kernel of same version, can anyone give some clue - where to find this kernel, and how to install it ? If installation is not required, can anybody show me the way how to overcome this problem ?
I never installed any kernel on B. I did not do yum upgrade either. How yum help us on this ? I have just downloaded 2.6.15.tar.gz from kernel.org, can you please write me some steps what to do to install this ? I am farely new on kernel installation.
Thanks spooon. I did both "yum upgrade", and after that "yum update kernel" . My /lib/modules/ currently contains both the old kernel (2.6.11-1.1369_FC4), and new kernel (2.6.15-1.1830_FC4). But when I do "uname -r", it shows old kernel (2.6.11-1.1369_FC4). Does that mean I still have old kernel activated ? How to check the currently working kernel version then ?
Another important observation, I dont see anything under dir /usr/src on machine B (where I just did yum upgrade, and yum update kernel), but I see on machine A.
.my machine A has /usr/src/kernels/2.6.11-1.1369_FC4-i686, so I was expecting this machine (B) should have /usr/src/kernels/2.6.15-1.1830_FC4, but nothing in /usr/src ? That means I will not be able to include kernel headers. Can you please suggest what should I do ?
One more question, can we use yum (same as above) in RedHat ?
Thanks ethics for your advise, however I need 0.6 ipsec-tools, and therefore I have to install it manually. I am wondering how to check the ipsec-tools version after I install it. Recently I used yum to install ipsec-tools, but i never knew what version it installed.
My /lib/modules/ currently contains both the old kernel (2.6.11-1.1369_FC4), and new kernel (2.6.15-1.1830_FC4). But when I do "uname -r", it shows old kernel (2.6.11-1.1369_FC4). Does that mean I still have old kernel activated ?
The kernel you're using is selected when you boot your system. Unless your GRUB config file (/boot/grub/grub.conf has hidemenu uncommented, you should see a kernel selection choice screen when you boot.
Thanks for the reply. I have rebooted, and now I see the kernel is 2.6.15-1.1830_FC4. But question remains the directory /usr/src/ is empty, and also /lib/modules/2.6.15-1.1830_FC4/build has a link to /usr/src/kernels/2.6.15-1.1830_FC4_i686/, whereas /usr/src/ directory is empty ?
My first concern is this (please see my very first post), I am facing this problem in machine B where I had older kernel, and thats why I upgraded to this newer kernel. My machine A is simply working okay.
Please advise how to over come this problem...I need to specify kernel headers /lib/modules/2.6.X/build/include in order to install 0.6X version ipsec-tools in Machine B.
Previously I installed ipsec-tools using yum in machine B, and probably the version was 0.5.4 (I still dont know how to check the version, I only came to know from previous above post by "ethics".) Anyway, even though yum looks like installed it, but I am missing /usr/sbin/ipsec. That means there is something wrong in installation ? Yum did not give me any error though.
I better install 0.6x (instead of what yum supports -0.5.4) version ipsec-tools in machine B (as I succesfully did in my machine A), but I need to see /lib/modules/2.6X/build/include to make install the ipsec-tool.
Alternatively (assuming you're running a desktop manager), do a yum install yumex and then just run yumex. You'll get a nice GUI on top of yum and, in the "install" tab, search for "openssl." It will list all the ones available for download -- with their versions -- and you can pick the one you want.
N.B. for users of other distributions: yumex is only supported (by the author) for Fedora 4 and 5. An older version is available for FC3.