Visit Our UNIX and Linux User Community

Full Discussion: Kernel Update
Operating Systems Linux Red Hat Kernel Update Post 302367719 by fpmurphy on Tuesday 3rd of November 2009 09:30:52 AM
Old 11-03-2009
Quote:
Where do i obtain new kernels in ".rpm" format to update my RHEL5?
Is it only available to RHN subscribers?
Yes. However a kernel rpm from Centos should work. (Note - I have never tried this myself)

Quote:
i downloaded latest kernel (linux-2.6.31.5.tar.bz2) from kernel.org.
#tar -xjvf linux-2.6.31.5.tar.bz2
after this i have a directory with lots of stuff in there. how do i use this directory?
You can then build a kernel RPM using the appropriate tools. A good starting place for details about how to do that is FedoraProject: Building a custom kernel. Note - unless you have a fast system, kernel builds can take a relatively long time to execute.

Quote:
for example..made by openVz, centos, fedora, debian
can any of these be used to update any flavor of linux?
Yes, no and maybe. It depends on your level of knowledge and experience, your system and your OS enviroment above the kernel.
 
Test Your Knowledge in Computers #194
Difficulty: Easy
Perl was ranked in the top 10 according to the TIOBE Index for October 2019.
True or False?

6 More Discussions You Might Find Interesting

1. Linux

kernel patch update how to

Hi All, I need to update my redhatas4 kernel with kernel-2.6.9-67.0.20.EL.src.rpm. When I run this # rpm -ivh kernel-2.6.9-67.0.20.EL.src.rpm warning: user brewbuilder does not exist - using root warning: group brewbuilder does not exist - using root warning: user brewbuilder does... (2 Replies)
Discussion started by: itik
2 Replies

2. Solaris

Solaris kernel Update

Hi All, I am installing kernel Update 3.0 in my Solaris servers. It actually installs most of the patches in this update , but for some packages it is not installing. It is saying ... Version of package SUNWcakr from directory SUNWcakr.us in patch 137137-09 differs from the package... (7 Replies)
Discussion started by: jegaraman
7 Replies

3. Solaris

kernel update

Hi I am installeing Solaris Kernel update in my solaris Server. The Solaris Kernel update skipps the patch 120011-14. saying that it had already been installed. But it is not found in /var/sadm/patch directory where all the patches will be there. And also i could not install other... (11 Replies)
Discussion started by: jegaraman
11 Replies

4. Emergency UNIX and Linux Support

Different OS Kernel Update Frequency

Hi guys I'm trying to configure a collaboration suit (PHP, PostgreSQL, Apache) plus a mail server(Sendmail and Dovecot) on a single box. It will be used heavily 24*7. So having a long up time is really needed. I'm looking for 3 to 6 month up time. I want to know about kernel update... (6 Replies)
Discussion started by: majid.merkava
6 Replies

5. Red Hat

Linux kernel update

Dear all, I have some linux servers in my prod environment. For two years i have not done any kernel updates or required patches ...should i have to this activity. My kernel version is 2.6.18-164.el5xen and linux release is release 5.4 (Tikanga). And reboot also not done for 2 years is... (2 Replies)
Discussion started by: jegaraman
2 Replies

6. Red Hat

Update kernel Linux without reboot?!

Hi Is it a way ? When Linux kernel updated that don't want reboot it means without reboot the new kernel performances Thanks (7 Replies)
Discussion started by: mnnn
7 Replies
SHELL-QUOTE(1)						User Contributed Perl Documentation					    SHELL-QUOTE(1)

NAME
shell-quote - quote arguments for safe use, unmodified in a shell command SYNOPSIS
shell-quote [switch]... arg... DESCRIPTION
shell-quote lets you pass arbitrary strings through the shell so that they won't be changed by the shell. This lets you process commands or files with embedded white space or shell globbing characters safely. Here are a few examples. EXAMPLES
ssh preserving args When running a remote command with ssh, ssh doesn't preserve the separate arguments it receives. It just joins them with spaces and passes them to "$SHELL -c". This doesn't work as intended: ssh host touch 'hi there' # fails It creates 2 files, hi and there. Instead, do this: cmd=`shell-quote touch 'hi there'` ssh host "$cmd" This gives you just 1 file, hi there. process find output It's not ordinarily possible to process an arbitrary list of files output by find with a shell script. Anything you put in $IFS to split up the output could legitimately be in a file's name. Here's how you can do it using shell-quote: eval set -- `find -type f -print0 | xargs -0 shell-quote --` debug shell scripts shell-quote is better than echo for debugging shell scripts. debug() { [ -z "$debug" ] || shell-quote "debug:" "$@" } With echo you can't tell the difference between "debug 'foo bar'" and "debug foo bar", but with shell-quote you can. save a command for later shell-quote can be used to build up a shell command to run later. Say you want the user to be able to give you switches for a command you're going to run. If you don't want the switches to be re-evaluated by the shell (which is usually a good idea, else there are things the user can't pass through), you can do something like this: user_switches= while [ $# != 0 ] do case x$1 in x--pass-through) [ $# -gt 1 ] || die "need an argument for $1" user_switches="$user_switches "`shell-quote -- "$2"` shift;; # process other switches esac shift done # later eval "shell-quote some-command $user_switches my args" OPTIONS
--debug Turn debugging on. --help Show the usage message and die. --version Show the version number and exit. AVAILABILITY
The code is licensed under the GNU GPL. Check http://www.argon.org/~roderick/ or CPAN for updated versions. AUTHOR
Roderick Schertler <roderick@argon.org> perl v5.16.3 2010-06-11 SHELL-QUOTE(1)

Featured Tech Videos

All times are GMT -4. The time now is 08:51 PM.
Unix & Linux Forums Content Copyright 1993-2020. All Rights Reserved.
Privacy Policy