SME on CentOS 6

From SME Server
Revision as of 22:50, 19 January 2013 by ReetP (talk | contribs) (Notes on moving to CentOS 6)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

SME on CentOS 6

Important.png Note:
NOTE !!!!!!

These are my own attempts. I am not qualified to do this. Do NOT try it on anything other than a Virtual Machine, or a test machine.



These are some notes on my attempts at installing SME on CentOS 6. Pardon the bad formatting - I was in a rush and haven't got to grasps with Wiki formatting yet.

There are two paths that I can see to testing this


1. Install CentOS 6 Minimal and try to add the equivalent 6 packages and see what is missing.
2. Install CentOS 6 Minimal and then try to add existing SME v8 (el5) packages

I decided to try Route 1 first.

I did the following using a Virtualbox VM for expediency allowing me to revert changes easily if I needed too.

First a few notes on CentOS 6 minimal.

This is a bare bones install with very little on board.

Each boot you have to start the network etc etc. I decided it was better with the minimal install and touch as little as possible - if I could then get SME packages installed I could then use that to configure networking later.

To start the networking ./etc/sysconfig/network-scripts/ifup-eth eth0

On first run make sure we have ssh installed so we can use a terminal to login - much easier for copy and pasting stuff : yum install open-ssh*

To get to the sshd service you will need this on each boot : service iptables stop service sshd start

I decided to attack perl first as the SME stuff is written in it.

Here is a list of perl files from v8 and their equivalent in CentOS 6 if available....

To get a list of the file names in v8 do :

rpm -qa --qf '%{NAME}\n' name=perl\*

(Thanks Shad !)

perl-Digest-SHA Y
perl Y
perl-Archive-Tar Y
perl-Authen-PAM ******
perl-Authen-SASL Y
perl-BSD-Resource ******
perl-CGI-FormMagick ******
perl-CGI-Persistent ******
perl-Class-ParamParser ******
perl-Clone Y
perl-Compress-Raw-Bzip2 Y
perl-Compress-Raw-Zlib Y
perl-Compress-Zlib Y
perl-Convert-ASN1 Y
perl-Convert-BinHex Y
perl-Convert-TNEF ******
perl-Crypt-Cracklib ******
perl-Crypt-OpenSSL-Bignum Y
perl-Crypt-OpenSSL-Random Y
perl-Crypt-OpenSSL-RSA Y
perl-DateManip Y
perl-DBD-MySQL Y
perl-DBI Y
perl-Digest-HMAC Y
perl-Digest-SHA1 Y
perl-Email-Date-Format Y
perl-Encode-Detect Y
perl-Error Y
perl-File-MMagic ******
perl-Geography-Countries ******
perl-HTML-Parser Y
perl-HTML-Tabulate ******
perl-HTML-Tagset Y
perl-I18N-AcceptLanguage ******
perl-IO-Compress-Base Y
perl-IO-Compress-Bzip2 Y
perl-IO-Compress-Zlib Y
perl-IO-Socket-INET6 Y
perl-IO-Socket-SSL Y
perl-IO-stringy Y
perl-IO-Zlib Y
perl-IP-Country ******
perl-LDAP Y
perl-libwww-perl Y
perl-Locale-gettext ******
perl-Mail-DKIM Y
perl-Mail-RFC822-Address ******
perl-Mail-SPF ******
perl-MailTools Y
perl-MIME-Lite Y
perl-MIME-tools Y
perl-Net-DNS Y
perl-Net-Ident ******
perl-Net-IP Y
perl-Net-IPv4Addr ******
perl-Net-Server ******
perl-Net-SMTP-SSL Y
perl-Net-SSLeay Y
perl-NetAddr-IP Y
perl-Object-Persistence ******
perl-Package-Constants Y
perl-Quota ******
perl-Razor-Agent ******
perl-RPM2 ******
perl-Socket6 Y
perl-suidperl Y
perl-Test-Inline ******
perl-Text-Iconv Y
perl-Text-Template ******
perl-Time-TAI64 ******
perl-TimeDate Y
perl-Unix-ConfigFile ******
perl-URI Y
perl-version Y
perl-WWW-Automate ******
perl-XML-NamespaceSupport Y
perl-XML-Parser Y
perl-XML-SAX Y

I am now going to try and lob in the existing/missing el5 versions to see what happens. My guess is we will need to rebuild the required modules.

Next will be an attack on FormMagick - there is no package in the default install so need to figure that out. In may indeed be horrible, but we can live with it for now.

Hopefully with perl and FormMagick installed, most of the SME stuff *should* basically install.

Please consult/subscribe to the devs list here for more infromation :

http://lists.contribs.org/mailman/listinfo/devinfo