Differences
This shows you the differences between two versions of the page.
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 |
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: | ||
</ | </ | ||
- | ==== 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 | ||
+ | </ | ||
+ | |||
+ | ==== Fix RPM System ==== | ||
+ | |||
+ | <code console> | ||
rm -f / | rm -f / | ||
rpm --rebuilddb | rpm --rebuilddb | ||
+ | rpm -Uvh --force http:// | ||
yum clean all | yum clean all | ||
</ | </ | ||
+ | |||
+ | ==== One Last Upgrade ==== | ||
+ | |||
+ | <code console> | ||
+ | yum upgrade | ||
+ | </ | ||
+ | |||
+ | ==== cPanel Servers Only ==== | ||
+ | |||
+ | You must remove the filesystem package from the excludes line in / | ||
+ | |||
+ | <code console> | ||
+ | rm -f / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | / | ||
+ | </ | ||
+ | |||
+ | |||
+ | |||
+ | |||
{{tag> | {{tag> |