Line 29: |
Line 29: |
| | | |
| =====Setting up your SME Server 8 repository===== | | =====Setting up your SME Server 8 repository===== |
− | Setup with the following yum repositories...
| + | Check to make sure your server has the prerequisites: |
| | | |
− | /sbin/e-smith/db yum_repositories set sme8os repository \ | + | rpm -q smeserver-yum |
− | Name 'SME Server 8 - smeos' \
| |
− | BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeos/i386/' \
| |
− | EnableGroups yes \
| |
− | GPGCheck no \
| |
− | Visible yes \
| |
− | status enabled
| |
| | | |
− | /sbin/e-smith/db yum_repositories set sme8updates repository \
| + | If your version isn't at least 1.2.0-21, then upgrade as below: |
− | Name 'SME Server 8 - smeupdates' \
| |
− | BaseURL 'http://distro.ibiblio.org/pub/linux/distributions/smeserver/releases/testing/8/smeupdates/i386/' \
| |
− | EnableGroups yes \
| |
− | GPGCheck no \
| |
− | Visible yes \
| |
− | status enabled
| |
| | | |
− | Expand your yum.conf...
| + | rpm -Uvh http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/smeserver-yum-1.2.0-25.el4.sme.noarch.rpm \ |
| + | http://mirror.contribs.org/smeserver/releases/obsolete/7.1/smeos/i386/CentOS/RPMS/yum-plugin-fastestmirror-0.2.4-3.c4.noarch.rpm |
| + | |
| + | Setting up the repos/yum for upgrade to take place: |
| + | |
| + | db yum_repositories print | grep '^sme' | cut -d= -f1 | while read repo |
| + | do |
| + | db yum_repositories setprop $repo MirrorList http://distro.ibiblio.org/pub/linux/distributions/smeserver/mirrorlist/$repo-8 |
| + | done |
| signal-event yum-modify | | signal-event yum-modify |
| + | rm -rf /var/cache/yum/* |
| + | |
| + | Now perform the upgrade (--enable smeupdates-testing may be needed) |
| + | |
| + | yum --disablerepo smeextras upgrade |
| | | |
− | Clean up, after you have upgraded with the following instructions these repositories will appear in your yum repository listing twice, ie. sme8os/smeos sme8updates/smeupdates remove them with
| + | Complete the final post upgrade steps: |
− | /sbin/e-smith/db yum_repositories delete sme8os | + | |
− | /sbin/e-smith/db yum_repositories delete sme8updates | + | rm -f /var/lib/rpm/__db.00* |
− | signal-event yum-modify | + | rpm --rebuilddb |
| + | signal-event post-upgrade |
| + | signal-event reboot |
| | | |
| =====SME Server 7.4===== | | =====SME Server 7.4===== |