Where X = 8 and arch = i386.
I am not really a fan of RedHat like distros, but I had once this pretty old server running RedHat 9, which was unable to have any more updates when Fedora Legacy decided to stop it after a while of great job.
So this is my quick HOWTO based on notes from this website : http://www.brandonhutchinson.com/Upgrading_Red_Hat_Linux_with_yum.html with a few add-ons.
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/yum-2.0.4-2.noarch.rpm
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/1/i386/os/Fedora/RPMS/fedora-release-1-3.i386.rpm
[main] cachedir=/var/cache/yum debuglevel=2 logfile=/var/log/yum.log pkgpolicy=newest distroverpkg=fedora-release tolerant=1 exactarch=1 [base] name=Fedora Core $releasever - $basearch - Base baseurl=http://redhat.download.fedoraproject.org/pub/fedora/linux/core/$releasever/i386/os
yum -y upgrade
rpm -q kernel kernel-smp rpm -e ...
yum clean all
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/yum-2.0.7-1.1.noarch.rpm http://download.fedora.redhat.com/pub/fedora/linux/core/2/i386/os/Fedora/RPMS/fedora-release-2-4.i386.rpm
rpm -e apt
yum upgrade yum python rpm-python rpm glibc glibc-common redhat-config-\* XFree86\* libxml2\*
yum -y upgrade
rpm -e up2date
wget http://fedora.redhat.com/about/security/4F2A6FD2.txt rpm --import 4F2A6FD2.txt
wget http://fedora.glorb.com/core/3/i386/os/Fedora/RPMS/fedora-release-3-8.i386.rpm wget http://fedora.glorb.com/core/3/i386/os/Fedora/RPMS/yum-2.1.11-3.noarch.rpm rpm -Uvh fedora-release-3-8.i386.rpm yum-2.1.11-3.noarch.rpm rpm -Uvh --force fedora-release-3-8.i386.rpm yum-2.1.11-3.noarch.rpm
rpm -q kernel kernel-smp
rpm -e kernel-2.4...
yum -y upgrade
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/4/i386/os/Fedora/RPMS/fedora-release-4-2.noarch.rpm
yum -y upgrade mkinitrd
yum -y update kernel
SELINUX=disabled
rpm -q kernel kernel-smp
rpm -e kernel...
yum -y upgrade
rpm -Uvh http://download.fedora.redhat.com/pub/fedora/linux/core/5/i386/os/Fedora/RPMS/fedora-release-5-5.noarch.rpm
rpm -Uhv http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-6-4.noarch.rpm http://download.fedora.redhat.com/pub/fedora/linux/core/6/i386/os/Fedora/RPMS/fedora-release-notes-6-3.noarch.rpm
yum -y update
rpm -Uvh http://mirrors.ircam.fr/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-notes-7.0.0-1.noarch.rpm rpm -Uvh http://mirrors.ircam.fr/pub/fedora/linux/releases/7/Fedora/i386/os/Fedora/fedora-release-7-3.noarch.rpm
yum -y update
rpm -Uvh http://mirrors.ircam.fr/pub/fedora/linux/releases/8/Fedora/i386/os/Packages/fedora-release-8-3.noarch.rpm
yum -y update