SME7 on Centos 4

Beginning with SME 7 Alpha 21 SME is already based on CentOS 4, so this information from Greg is outdated now.
Stefan Braunstein, sme@braunstein.de


My experience upgrading a clean install of SME 7.0a3 (based on Centos-3.4) to Centos-4.

I set up a yum repository here:

Notes/Warnings

I just did this to see what would happen. I'll leave this page the way it is, but if you are interested in helping with development of the SME server, it would be best to focus your efforts on the 7.0a3 (Centos-3.4) release, not try to use Centos-4. The plan is to move to Centos 4 after the Centos 3.4 port is fully developed, and there is much left to do.
Greg Swallow
gregswallow_at_skynetonline.ca

Upgrade Steps

mkdir yum
cd yum
wget http://mirror.centos.org/centos-3/3.4/os/i386/RedHat/RPMS/elfutils-0.94-1.i386.rpm
wget http://mirror.centos.org/centos-3/3.4/os/i386/RedHat/RPMS/libxml2-python-2.5.10-7.i386.rpm
wget http://mirror.centos.org/centos-3/3.4/os/i386/RedHat/RPMS/rpm-python-4.2.3-10.i386.rpm
wget http://mirror.centos.org/centos-3/3.4/os/i386/RedHat/RPMS/yum-2.0.8-1.centos.7.noarch.rpm
wget http://www.contribs.org/contribs/gswallow/SME7-Centos4/yum.conf
rpm -Uvh *.rpm
cp yum.conf /etc/yum.conf

yum upgrade rpm rpm-build rpm-python glibc glibc-common libxml2 libxml2-python yum

yum upgrade kernel

rpm -e kernel-smp
rpm -e kernel-2.4* ppp-modules
rpm -e --nodeps LPRng
yum upgrade

yum install LPRng
yum install kernel_ppp_mppe-modules

service syslog restart

/sbin/e-smith/signal-event bootstrap-console-save
/sbin/e-smith/signal-event post-upgrade

chkconfig --levels 2345 mysqld on
touch /etc/e-smith/templates/etc/my.cnf/010oldpasswords
echo "old-passwords" > /etc/e-smith/templates/etc/my.cnf/010oldpasswords
/sbin/e-smith/expand-template /etc/my.cnf

/sbin/e-smith/signal-event reboot