While the future of Fedora for security updates to RedHat 7.3, 8, and 9 is uncertain, at present you can use Yum along side Fedora Legacy to keep your RedHat servers up to date.
IMPORTANT: H-Sphere users, please read http://www.psoft.net/HSdocumentation/sysad...in/up2date.html and http://www.psoft.net/HSdocumentation/sysad...in/apt-get.html
The software not to update still applies for H-Sphere users!!!
Here's how:
1. Check if you have an older version of yum installed.
rpm -qa | grep yum
If you do have it installed (make sure your server is backed up), then do
rpm -ev yum
2. Install Fedora's RedHat 7.3 version for yum.
mkdir -p /usr/local/src/rpm
cd /usr/local/src/rpm
wget http://download.fedoralegacy.org/redhat/7....gacy.noarch.rpm
rpm -ivh yum-1.0.3-6.0.7.x.legacy.noarch.rpm
3. Now edit /etc/yum.conf
NOTE: If your installation talked about using /etc/yum.conf.rpmnew then copy taht file over top of /etc/yum.conf
Change every instance of "gpgcheck=1" to "gpgcheck=0"
Save the file.
4. Now run
/usr/bin/yum check-update
NOTE: This will not update anything. It just checks to see what updates are needed to bring the machine up to date.
5. Now you may see something like the following:
getting /var/cache/yum/base/headers/mtr-1-0.49-1.i386.hdr
getting /var/cache/yum/base/headers/gimp-devel-1-1.2.3-4.i386.hdr
getting /var/cache/yum/updates/headers/arts-devel-7-1.0.5a-0.73.0.i386.hdr
getting /var/cache/yum/updates/headers/kon2-0-0.3.9b-14.7.3.1.i386.hdr
getting /var/cache/yum/base/headers/xosview-0-1.7.3-10.i386.hdr
getting /var/cache/yum/base/headers/pango-0-1.0.1-1.i386.hdr
Name Arch Version
--------------------------------------------------------------------------------
aspell i386 0.33.7.1-9
To actuall upgrade aspell, type in the following command
/usr/bin/yum update aspell
NOTE: While, I’ve not yet used Yum to upgrade a kernel, a friend of mine has successfully updated their RedHat Linux Kernel with yum through Fedora Legacy and rebooted without a hitch.
Useful yum commands:
yum check-update
See if there are updated packages available.
yum update
Update all installed packages that have a newer version available.
yum install
Install specific package(s) (and its dependencies, if missing any).
yum search
Search all known packages entries (descriptions etc) for
yum info
Show basic information about a package.
Useful Links:
http://www.phy.duke.edu/~rgb/General/yum_H...OWTO/index.html
http://www.hut.fi/~tkarvine/yum-package-manager.html
http://www.yellowdoglinux.com/support/solu...neral/yum.shtml
