update a wbel4 to centos4

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]



Yup. I'm a recent convert from WBEL - Rita and Katrina seem to have put a full 
stop to WBEL. I appreciate the enormity of what John's dealing with, but 
since he won't let it scale beyond himself, I had to go somewhere else. 

Here's a bash script I wrote to convert my several dozen machines to CentOS4. 
It references RPMs from 4.1 tree, which can be obtained from 
vault.centos.org. (I had dependency problems using the 4.2 tree stuff; but 
the yum -y update at the bottom updates the newly converted 4.1 system to 4.2 
anyway. 

#! /bin/sh
################################################################################3
#
# ? ? ? wbel2centos4.sh - a script to change over a WBEL4 server to CentOS4.
#
# ? ? ? see http://www.centos.org/modules/smartfaq/faq.php?faqid=19
#
#
#
# Step 5 is done BEFORE step 4 to eliminate possibilities of removed yum
# "cruft"...
#
# License: This script is in the public domain. Use/abuse as you see fit;
# no warrantee of any kind is implied.
#
################################################################################3
arch="i386";

# 64 bit is not well tested.
#arch="x86_64";


# Step 1;
yum clean all;

# Step 2; RPM-GPG-KEY-centos4
rpm --import os/RPM-GPG-KEY-centos4

# Step 3;
rpm -e diskdumputils;
rpm -Uvh ./os/initscripts-7.93.13.EL-2.centos4.i386.rpm
rpm -Uvh ./os/centos-release-4-1.2.i386.rpm

# Step 5;
rpm -e yum;
if [ -f /etc/yum* ] ; then
?mkdir /etc/BLOAT;
?mv /etc/yum* BLOAT;
?fi;

# step 4;
rpm -Uvh ./os/centos-yumconf-4-4.2.noarch.rpm
rpm -Uvh ./os/yum-2.2.1-1.centos4.noarch.rpm

# set up the repos
rsync -vaz --delete yum.repos.d /etc

# Step 6;
yum -y update;

exit 0; 

On Friday 28 October 2005 11:10, Brad Olin wrote:
> Hi all,
> 
> Does anybody have experience with updating a wbel4 box to centos4?   I 
> assume I can follow the basic faq19 instructions, but that's an assumption.
> 
> 
> Thanks in advance
> 
> Brad
> _______________________________________________
> CentOS mailing list
> CentOS@xxxxxxxxxx
> http://lists.centos.org/mailman/listinfo/centos
> 

-- 
"The best way to predict the future is to invent it."
- XEROX PARC slogan, circa 1978

[Index of Archives]     [CentOS]     [CentOS Announce]     [CentOS Development]     [CentOS ARM Devel]     [CentOS Docs]     [CentOS Virtualization]     [Carrier Grade Linux]     [Linux Media]     [Asterisk]     [DCCP]     [Netdev]     [Xorg]     [Linux USB]
  Powered by Linux