Difference between revisions of "SME on CentOS 6"

From SME Server
Jump to navigationJump to search
(Notes on moving to CentOS 6)
 
 
(215 intermediate revisions by 9 users not shown)
Line 1: Line 1:
== SME on CentOS 6 ==
+
Back to [[SME_Server_9.0_Development|SME Server 9.0 Development]]
  
{{Note box|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.<br />}}
+
{{note box| This page is now obsolete, kept for reference only. see [[SME Server:9.0|SME Server 9 Release Notes]]}}
  
 +
----
  
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.
+
The [http://wiki.contribs.org/index.php?title=SME_on_CentOS_6&oldid=18561 previous] instructions on how to install SME packages on CentOS 6 minimal are now out of date, but are still available in the history [http://wiki.contribs.org/index.php?title=SME_on_CentOS_6&action=history archive].  Please see [[SME9Alpha | SME9Alpha]] for the latest development steps.
  
There are two paths that I can see to testing this
+
The [http://wiki.contribs.org/index.php?title=SME_on_CentOS_6&oldid=18561 previous] version can be usefull as a starting point for:
 +
* Creating an OpenVZ template for SME
 +
* Building SME on other future CentOS versions
 +
* Building SME on CentOS like distros
  
 
+
<noinclude>[[Category:Howto]][[Category:SME9-Development]]
1. Install CentOS 6 Minimal and try to add the equivalent 6 packages and see what is missing.<br />
 
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<br />
 
perl Y<br />
 
perl-Archive-Tar Y<br />
 
perl-Authen-PAM ******<br />
 
perl-Authen-SASL Y<br />
 
perl-BSD-Resource ******<br />
 
perl-CGI-FormMagick ******<br />
 
perl-CGI-Persistent ******<br />
 
perl-Class-ParamParser ******<br />
 
perl-Clone Y<br />
 
perl-Compress-Raw-Bzip2 Y<br />
 
perl-Compress-Raw-Zlib Y<br />
 
perl-Compress-Zlib Y<br />
 
perl-Convert-ASN1 Y<br />
 
perl-Convert-BinHex Y<br />
 
perl-Convert-TNEF ******<br />
 
perl-Crypt-Cracklib ******<br />
 
perl-Crypt-OpenSSL-Bignum Y<br />
 
perl-Crypt-OpenSSL-Random Y<br />
 
perl-Crypt-OpenSSL-RSA Y<br />
 
perl-DateManip Y<br />
 
perl-DBD-MySQL Y<br />
 
perl-DBI Y<br />
 
perl-Digest-HMAC Y<br />
 
perl-Digest-SHA1 Y<br />
 
perl-Email-Date-Format Y<br />
 
perl-Encode-Detect Y<br />
 
perl-Error Y<br />
 
perl-File-MMagic ******<br />
 
perl-Geography-Countries ******<br />
 
perl-HTML-Parser Y<br />
 
perl-HTML-Tabulate ******<br />
 
perl-HTML-Tagset Y<br />
 
perl-I18N-AcceptLanguage ******<br />
 
perl-IO-Compress-Base Y<br />
 
perl-IO-Compress-Bzip2 Y<br />
 
perl-IO-Compress-Zlib Y<br />
 
perl-IO-Socket-INET6 Y<br />
 
perl-IO-Socket-SSL Y<br />
 
perl-IO-stringy Y<br />
 
perl-IO-Zlib Y<br />
 
perl-IP-Country ******<br />
 
perl-LDAP Y<br />
 
perl-libwww-perl Y<br />
 
perl-Locale-gettext ******<br />
 
perl-Mail-DKIM Y<br />
 
perl-Mail-RFC822-Address ******<br />
 
perl-Mail-SPF ******<br />
 
perl-MailTools Y<br />
 
perl-MIME-Lite Y<br />
 
perl-MIME-tools Y<br />
 
perl-Net-DNS Y<br />
 
perl-Net-Ident ******<br />
 
perl-Net-IP Y<br />
 
perl-Net-IPv4Addr ******<br />
 
perl-Net-Server ******<br />
 
perl-Net-SMTP-SSL Y<br />
 
perl-Net-SSLeay Y<br />
 
perl-NetAddr-IP Y<br />
 
perl-Object-Persistence ******<br />
 
perl-Package-Constants Y<br />
 
perl-Quota ******<br />
 
perl-Razor-Agent ******<br />
 
perl-RPM2 ******<br />
 
perl-Socket6 Y<br />
 
perl-suidperl Y<br />
 
perl-Test-Inline ******<br />
 
perl-Text-Iconv Y<br />
 
perl-Text-Template ******<br />
 
perl-Time-TAI64 ******<br />
 
perl-TimeDate Y<br />
 
perl-Unix-ConfigFile ******<br />
 
perl-URI Y<br />
 
perl-version Y<br />
 
perl-WWW-Automate ******<br />
 
perl-XML-NamespaceSupport Y<br />
 
perl-XML-Parser Y<br />
 
perl-XML-SAX Y<br />
 
 
 
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
 

Latest revision as of 06:06, 12 April 2014

Back to SME Server 9.0 Development


Important.png Note:
This page is now obsolete, kept for reference only. see SME Server 9 Release Notes



The previous instructions on how to install SME packages on CentOS 6 minimal are now out of date, but are still available in the history archive. Please see SME9Alpha for the latest development steps.

The previous version can be usefull as a starting point for:

  • Creating an OpenVZ template for SME
  • Building SME on other future CentOS versions
  • Building SME on CentOS like distros