As we have decided to go down the Fedora Path, instead of the RHEL path, we now have to contend with Fedora's rediculously short release cycle.
To comprehend this, we will be writing how-to's for those interested to continually migrate their Systems to the newest Fedora Core releases.
Fedora Core 1 EOL's very soon, and to that end, we have prepared a painless upgrader to upgrade Fedora Core 1 systems to Fedora Core 2.
If any mods/admins view this thread, could they please sticky it.
The main advantages of this upgrade include
- 2.6.7 Kernel, bringing more security and speed to Systems (Especially P4's/Xeon's with Hyperthreading)
- Python 2.3
- RPM 4.3
- GLibc 2.3.3
and countless package upgrades providing new features and security enhancements.
Since Fedora Core 1 uses an older version of Python & RPM, if you try to use Yum to update your system (i.e. upgrade the fedora-release package, and try to
yum upgrade) things will break.
To that end, we have provided 2 base package upgrades that will update your system's base components (RPM, Python, GLibc etc) to make the remainder of the
Note: Before you start bashing away at your keyboard, there is a FULL command listing below to make the upgrade process fully automated, so just read below,
but dont skip anything as it is important.
Firstly, you need to download base package update, which can be found here http://files.oktagone.net/fedora/fc1...e/base.tar.bz2
If anyone has any queries as to exactly what this package contains, here is the list of files.
The second package is a Xfree to xorg-x11 transition pack. Since Xfree has screwed up their Distribution licensing now, Fedora and most other respectable
*nix distro's have moved from Xfree to xorg.
The package can be grabbed from http://files.oktagone.net/fedora/fc1.../xfree.tar.bz2
The next step is to clean up the dependancies that yum will have problems with. Dont worry about removing these rpm's below because yum will simply reinstall
rpm -e exim --force
Next, you want to get a new yum.conf so you have a "reliable" and stable update source.
Grab our tested yum.conf - http://files.oktagone.net/fedora/fc1...grade/yum.conf
Now, we are ready to use yum. It's sexy and easy. Just type yum update, and Yum will download all the headers, and RPM's as needed. Remember to press Y once
the deps testing is done. If you have any errors and yum cannot complete due to package conflicts, please paste them so i can debug why this happens, and
give you a solution.
When yum is complete, you will need to perform a reboot to boot into the new kernel you have aquired. Before doing this, it's important to check
/boot/grub/grub.conf to see that the new kernel (2.6.7-1.494.2.2) is there.
Your grub.conf should look something like this
title Fedora Core (2.6.7-1.494.2.2)
kernel /vmlinuz-2.6.7-1.494.2.2 ro root=LABEL=/1
title Fedora Core (2.4.22-1.2197.nptl)
kernel /vmlinuz-2.4.22-1.2197.nptl ro root=LABEL=/1
(Note: The failsafe line isnt necessary if you dont have it).
If it looks good, exit your text editor, and reboot.
If all went to plan, your box should be back up in a few minutes.
Once its live again, there's a few things you need to do to fix up services.
First, you want to tell cPanel to use Yum now instead of APT, so we run
Then, we want to fix exim, since YUM installs a standard Fedora version of it, which wont work with cPanel.
Simply grab the cPanel Exim RPM from here - and install it.
rpm -Uhv exim* --force is the command you'll need to use, since exim is allready installed, and may conflict with a package called "setup"
Then, rebuild Apache using /scripts/easyapache. Option 4 is reccomended.
Now, your all done!
Go into WHM, and check your services stats. Everything should be running, and your system is now running the latest, fully updated Fedora Core 2.
If anyone needs help with this upgrade feel free to PM me, however any problems should be posted below so that others can benefit from your feedback.
Step 1: Setup Directory and get required files.
Step 2: verify the MD5's by typing
Step 3: Extract RPM's and upgrade them
tar -xvjpf base.tar.bz2
tar -xvjpf xfree.tar.bz2
rpm -Uhv base/*.rpm
rpm -Uhv xfree/*.rpm
Step 4: Fix Deps and run yum
rpm -e exim --force
Step 5: Check boot stuff
Step 6: Reboot
Step 7: Fix Exim / Apache
rpm -Uhv http://updates.cpanel.net/exim-cpane...iscan.i386.rpm