Where can I download precompiled CentOS 5 kernel including realtime patch? Or I need to compile it myself (if yes, how to do that)?
Linux – CentOS 5 – realtime patch
centoslinuxrealtimeredhatrhel5
Related Solutions
Is this patch mantained/supported by the developer anymore?
It appears that a equivalent feature (xt_time) is now part of the kernel. It appears to be compiled in and functional on the current Debian Lenny kernel.
2 * xt_time
3 * Copyright © CC Computer Consultants GmbH, 2007
4 * Contact: <jengelh@computergmbh.de>
5 *
6 * based on ipt_time by Fabrice MARIE <fabrice@netfilter.org>
7 * This is a module which is used for time matching
Is it used at all by anyone?
Probably, but like many of the obscure features, it probably isn't being used by many people. I am not using it, so I can't tell you much.
Has anyone managed to apply and use it?
The precense of xt_time in the kernel, and being available in the distributed Debian kernel does seem to indicate that it can be applied and is functional. It appears to have been in there since October 2007.
On which kernel/iptables versions does it work?
I believe if you are looking at using xt_time without a lot of work, then you need to be looking at 2.6.24+. If you are willing to roll up your sleeves and do some back-porting, you may be able to get it to work for whatever kernel you are currently running.
HOW IN THE F**CKING WORLD IS IT POSSIBLE THAT THE MAIN FIREWALL SUBSYSTEM IN THE LINUX KERNEL IS SO LOUSILY..
The main functionality of netfilter is fine, and the most of the docs from years ago are just as useful today. Linux is a volunteer effort. If someone doesn't want to write or update documentation, then nobody will. If you want to donate some of your time to the cause, I bet they would accept some help in getting things up to date.
THE PROJECT SITE HOSTS LOTS OF INCOMPATIBLE THINGS WITHOUT ANY WARNING
I suspect the fact that is no in the stable kernel is a big enough warning to deter most people. Building/patching a kernel is not a trivial task to be undertaken lightly.
THE OFFICIAL EXTENSIONS HOWTO JUST DOESN'T BEAR ANY RESEMBLANCE TO REALITY?!?
Welcome to the Internet. You could send them a nice email and ask them to at least put something on the page about the old system being obsolete.
su -
yum install gcc-c++ openssl-devel
cd /usr/local/src
wget http://nodejs.org/dist/node-latest.tar.gz
tar zxvf node-latest.tar.gz
(cd into extracted folder: ex "cd node-v0.10.3")
./configure
make
make install
Note that this requires Python 2.6+ to use ./configure
above. You can modify the "configure" file to point to python2.7
in line 1 if necessary.
To create an RPM package, you can use FPM:
# wget http://nodejs.org/dist/node-latest.tar.gz
# tar zxvf node-latest.tar.gz
(cd into extracted folder: ex "cd node-v0.10.3")
# ./configure --prefix=/usr/
# make
# mkdir /tmp/nodejs
# make install DESTDIR=/tmp/nodejs/
# tree -L 3 /tmp/nodejs/
/tmp/nodejs/
└── usr
├── bin
│ ├── node
│ ├── node-waf
│ └── npm -> ../lib/node_modules/npm/bin/npm-cli.js
├── include
│ └── node
├── lib
│ ├── dtrace
│ ├── node
│ └── node_modules
└── share
└── man
Now make the nodejs
package:
# fpm -s dir -t rpm -n nodejs -v 0.8.18 -C /tmp/nodejs/ usr/bin usr/lib
Then install and check the version:
# rpm -ivh nodejs-0.8.18-1.x86_64.rpm
Preparing... ########################################### [100%]
1:nodejs ########################################### [100%]
# /usr/bin/node --version
v0.8.18
Source: https://github.com/jordansissel/fpm/wiki/PackageMakeInstall
Best Answer
While I own a few RHEL MRG licenses, I've started using the FREE realtime recompile of http://www.redhat.com/mrg/">Red Hat MRG from Scientific Linux to convert my CentOS 5 servers to realtime. You can view the Scientific Linux MRG distribution at: http://glitesoft.cern.ch/cern/mrg/slc5X/x86_64/RPMS/
In order to install, I create a small repo file named
slc5x-mrg-realtime.repo
and drop it in/etc/yum.repos.d
. The file contains:From there, I can simply run
yum grouplist
and see the MRG component groups:A
yum groupinstall "MRG Realtime" && yum install kernel-rt-devel
gives me everything I need for realtime operation. You can also just pick and choose the files you want from the distro's rpm listing page at: http://glitesoft.cern.ch/cern/mrg/slc5X/x86_64/RPMS/Another option is to perform a recompile of Red Hat's SRPMS available at: http://ftp.redhat.com/pub/redhat/linux/enterprise/5Server/en/RHEMRG/SRPMS/
It's the standard
rpmbuild --rebuild package.srpm
process. This takes more time, but I've done this successfully as well.