Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
Next revision Both sides next revision
server-administration:upgrade-centos-4-to-5 [2012-09-27 23:55:17]
shaun.reitan
server-administration:upgrade-centos-4-to-5 [2012-10-25 03:31:43]
shaun.reitan [cPanel Servers Only]
Line 1: Line 1:
-===== Upgrading CentOS 4.x to 5.x =====+===== Upgrading CentOS 32bit 4.x to 32bit 5.x =====
  
 We have found the following guide very useful in this process. This works for both dedicated servers as well as VPS nodes: We have found the following guide very useful in this process. This works for both dedicated servers as well as VPS nodes:
Line 29: Line 29:
 </code> </code>
  
-==== Ensure CentOS 4.x is the latest and greatest ====+==== Ensure CentOS 4.x is up-to-date ====
  
 <code console> <code console>
Line 65: Line 65:
 yum clean all yum clean all
 yum upgrade yum upgrade
 +</code>
 +
 +==== Fix RPM System ====
 +
 +<code console>
 rm -f /var/lib/rpm/__db.00* rm -f /var/lib/rpm/__db.00*
 rpm --rebuilddb rpm --rebuilddb
 +rpm -Uvh --force http://vault.centos.org/5.0/os/i386/CentOS/python-elementtree-1.2.6-5.i386.rpm http://vault.centos.org/5.0/os/i386/CentOS/python-sqlite-1.1.7-1.2.1.i386.rpm
 yum clean all yum clean all
 </code> </code>
 +
 +==== One Last Upgrade ====
 +
 +<code console>
 +yum upgrade
 +</code>
 +
 +==== cPanel Servers Only ====
 +
 +You must remove the filesystem package from the excludes line in /etc/yum.conf
 +
 +<code console>
 +rm -f /var/cpanel/sysinfo.config
 +/scripts/gensysinfo
 +/scripts/upcp --force
 +/scripts/mysqlup --force
 +/scripts/easyapache --build
 +</code>
 +
 +
 +
 +
  
 {{tag>centos guide cpanel}} {{tag>centos guide cpanel}}