Changes

Jump to navigation Jump to search
109 bytes removed ,  12:23, 21 January 2013
no edit summary
Line 1: Line 1:  
{{Level|Developer}}
 
{{Level|Developer}}
   −
== SME 9, based on CentOS 6 ==
     −
{{Note box|[from John Crisp]
+
{{Note box|Do NOT try this on anything other than a Virtual Machine, or a test machine.}}
   −
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 />}}
+
== SME 9, based on CentOS 6 ==
   −
{{Note box| 20/01/2013 Daniel at Firewall Services has managed to get a booting CentOS 6 with the SME packages installed. He should be adding his notes here soon.
+
=== Prerequisites ===
 +
* VIrtual machine (Vmware, Parallels or Virtualbox)
 +
* Centos Minimal 64-bit architecture. 32-bit may follow later
 +
* Access to EPEL, RPMForge and ATrpms repositories
   −
Some Gotchas :
+
=== Current status ===
 +
* Identify all SME Server specific packages (John C.) See notes below.
 +
* Setting up a RPM building environment (Ian W.)
 +
* booting CentOS 6 with the SME packages installed. (Daniel)
 +
* Notes:
 +
** Some RPMs need to be got from EPEL, RPMForge and ATrpms
 +
** Needs a hack in yum-priority.conf
 +
** selinux-policy-targeted and authconfig need to be removed
 +
** You have to completely disable SELinux in /etc/sysconfig/selinux
 +
** LOTS of things are broken, but then that's no great surprise.
 +
** If we have a booting system we can start to look at fixing it.
 +
** nke has been playing on 32 bit as well - I guess it will probably be worth replicating from 64 to 32 to see what happens.
   −
Some RPMs need to be got from EPEL, RPMForge and ATrpms
     −
Needs a hack in yum-priority.conf
+
There are two paths that I can see to testing this:
 
  −
selinux-policy-targeted and authconfig need to be removed
  −
 
  −
(I found I had to disable selinux myself)
  −
 
  −
You have to completely disable it in /etc/sysconfig/selinux
  −
 
  −
LOTS of things are broken, but then that's no great surprise.
  −
 
  −
If we have a booting system we can start to look at fixing it.
  −
 
  −
nke has been playing on 32 bit as well - I guess it will probably be worth replicating from 64 to 32 to see what happens.
  −
 
  −
}}
     −
These are some notes on my attempts at installing SME on CentOS 6.  
+
1. Install CentOS 6 Minimal and try to add the equivalent 6 packages and see what is missing.
   −
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.<br />
   
2. Install CentOS 6 Minimal and then try to add existing SME v8 (el5) packages
 
2. Install CentOS 6 Minimal and then try to add existing SME v8 (el5) packages
   −
I decided to try Route 1 first.
+
This how-to takes on route 1.
 
  −
I did the following using a Virtualbox VM for expediency allowing me to revert changes easily if I needed too.
      
== Installing CentOS 6 minimal ==
 
== Installing CentOS 6 minimal ==
   
First a few notes on CentOS 6 minimal, which is a bare bones install with very little on board. You can download a copy from one of the CentOS mirrors [http://www.centos.org/modules/tinycontent/index.php?id=30 here]
 
First a few notes on CentOS 6 minimal, which is a bare bones install with very little on board. You can download a copy from one of the CentOS mirrors [http://www.centos.org/modules/tinycontent/index.php?id=30 here]
   Line 51: Line 43:  
* Make regular snapshots of your Virtual Machine and describe them specifically. At least when you've reached an important milestone for yourself
 
* Make regular snapshots of your Virtual Machine and describe them specifically. At least when you've reached an important milestone for yourself
   −
{{Note box|We need to decide on 32 or 64 arch - in this instance I decided to go with 64 bit as that seems to the future}}
      
=== Enable networking ===
 
=== Enable networking ===
Line 212: Line 203:     
* [http://wiki.contribs.org/Package_Modification Simple Package Modification from our wiki]
 
* [http://wiki.contribs.org/Package_Modification Simple Package Modification from our wiki]
 +
* http://wiki.contribs.org/Setting_up_RPM_Building_for_SME_Server Building using Mock]
 
* [http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment On the CentOS wiki]
 
* [http://wiki.centos.org/HowTos/SetupRpmBuildEnvironment On the CentOS wiki]
 
* [http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html From the Fedora project]
 
* [http://docs.fedoraproject.org/en-US/Fedora_Draft_Documentation/0.1/html/RPM_Guide/index.html From the Fedora project]

Navigation menu