Changes

From SME Server
Jump to navigationJump to search
19 bytes removed ,  09:00, 30 January 2013
m
page formatting
Line 7: Line 7:  
* Access to EPEL, RPMForge and ATrpms repositories
 
* Access to EPEL, RPMForge and ATrpms repositories
 
* Setting up a RPM Building environment
 
* Setting up a RPM Building environment
 +
    
=== Current status ===
 
=== Current status ===
Line 22: Line 23:     
This how-to takes on route 1.
 
This how-to takes on route 1.
 +
    
=== Other tasks ===
 
=== Other tasks ===
    
* Update fields in Bugzilla, currently all bugs are clean-up
 
* Update fields in Bugzilla, currently all bugs are clean-up
* Update [http://wiki.contribs.org/Simple_Package_Modification Simplest way to develop patches to submit] to show how to do this for SME 9 which requires COS6 as a base.
+
* Update [[Simple_Package_Modification]] to show how to do this for SME 9 which requires COS6 as a base.
 
* Identify which packages are pulled from ATRPMS/EPEL/RPMFORGE below, we need to move them into the base and stop pulling from those repos.
 
* Identify which packages are pulled from ATRPMS/EPEL/RPMFORGE below, we need to move them into the base and stop pulling from those repos.
 
* Create a SME 9 version of each package in CVS, does it build? Enter all problems in Bugzilla.
 
* Create a SME 9 version of each package in CVS, does it build? Enter all problems in Bugzilla.
 +
    
=== User Feedback ===
 
=== User Feedback ===
 
Unstructured user feedback can be noted here [[SME9DEV_user_feedback]]. Issues that required developer attention should be logged in our Bug Tracker. (See below)
 
Unstructured user feedback can be noted here [[SME9DEV_user_feedback]]. Issues that required developer attention should be logged in our Bug Tracker. (See below)
 +
    
=== Bugs ===
 
=== Bugs ===
Line 45: Line 49:  
* [[bugzilla:7227|Bug 7227 - Move code from /etc/inittab templates to elsewhere ]]
 
* [[bugzilla:7227|Bug 7227 - Move code from /etc/inittab templates to elsewhere ]]
 
* [[bugzilla:3596|Bug 3596 - Stop using kudzu for NIC detection]]
 
* [[bugzilla:3596|Bug 3596 - Stop using kudzu for NIC detection]]
 +
    
=== Considerations ===
 
=== Considerations ===
Line 50: Line 55:  
* perl has a new location of the filesystem. New: /usr/share/perl5/vendor_perl instead Old: /usr/lib/perl5/site_perl/
 
* perl has a new location of the filesystem. New: /usr/share/perl5/vendor_perl instead Old: /usr/lib/perl5/site_perl/
 
* perl version 5.8.8 is the new default version on RHEL6. This requires a review of all the perl module rpms which are specific for perl 5.8.5
 
* perl version 5.8.8 is the new default version on RHEL6. This requires a review of all the perl module rpms which are specific for perl 5.8.5
 +
    
== Installing CentOS 6 minimal ==
 
== Installing CentOS 6 minimal ==
Line 59: Line 65:  
* you might want to note down all packages listed by yum to be installed/upgraded AND their dependencies
 
* you might want to note down all packages listed by yum to be installed/upgraded AND their dependencies
 
* 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
 +
    
==== Installing the ISO ====
 
==== Installing the ISO ====
Line 64: Line 71:  
* Just install a minimal el6 installation (I just installed a few utilities like htop, screen, rsync, vim, openssh-clients mc etc…). You can use either the DVD, the minimal CD install, a net install with PXE, it's up to you
 
* Just install a minimal el6 installation (I just installed a few utilities like htop, screen, rsync, vim, openssh-clients mc etc…). You can use either the DVD, the minimal CD install, a net install with PXE, it's up to you
 
* wellsi: I have used CentOS-6.3-x86_64-minimal.iso
 
* wellsi: I have used CentOS-6.3-x86_64-minimal.iso
 +
    
==== Enable networking ====
 
==== Enable networking ====
Line 97: Line 105:     
<noinclude>[[Category:SME9-Development]]</noinclude>
 
<noinclude>[[Category:SME9-Development]]</noinclude>
 +
    
==== Enable SSH ====
 
==== Enable SSH ====
Line 103: Line 112:  
service sshd start
 
service sshd start
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Disable SELinux ====
 
==== Disable SELinux ====
Line 110: Line 120:  
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
sed -i -e 's/SELINUX=.*/SELINUX=disabled/g' /etc/selinux/config
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Remove selinux-policy-targeted and authconfig ====
 
==== Remove selinux-policy-targeted and authconfig ====
Line 116: Line 127:  
yum remove selinux-policy-targeted authconfig
 
yum remove selinux-policy-targeted authconfig
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
== Configure basic requirements ==
 
== Configure basic requirements ==
   
The yum configurations could be put as attachments to this bug.
 
The yum configurations could be put as attachments to this bug.
 
* [[bugzilla:7240|Bug 7240 - SME 9 yum repos ]]
 
* [[bugzilla:7240|Bug 7240 - SME 9 yum repos ]]
        Line 194: Line 204:     
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== import SME's GPG key ====
 
==== import SME's GPG key ====
 
This is a temporary key. The final key will be generated by and available through contribs.org
 
This is a temporary key. The final key will be generated by and available through contribs.org
 
  rpm --import http://sme-mirror.firewall-services.com/releases/8/smeos/x86_64/RPM-GPG-KEY-SMEServer
 
  rpm --import http://sme-mirror.firewall-services.com/releases/8/smeos/x86_64/RPM-GPG-KEY-SMEServer
 +
    
==== install yum-plugin-priorities ====
 
==== install yum-plugin-priorities ====
 
  yum install yum-plugin-priorities
 
  yum install yum-plugin-priorities
 +
    
==== Configure yum priorities ====
 
==== Configure yum priorities ====
Line 234: Line 247:  
[...]
 
[...]
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Set Epel to a priority of 60 in /etc/yum.repos.d/epel.repo ====
 
==== Set Epel to a priority of 60 in /etc/yum.repos.d/epel.repo ====
Line 247: Line 261:  
priority=60
 
priority=60
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Set RPMForge to a priority of 65 in /etc/yum.repos.d/rpmforge.repo ====
 
==== Set RPMForge to a priority of 65 in /etc/yum.repos.d/rpmforge.repo ====
Line 261: Line 276:  
priority=65
 
priority=65
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Set atrpms to priority of 70 in /etc/yum.repos.d/atrpms.repo ====
 
==== Set atrpms to priority of 70 in /etc/yum.repos.d/atrpms.repo ====
Line 275: Line 291:     
==== Install some package without dependancy check ====
 
==== Install some package without dependancy check ====
   
A few packages have to be installed manually without dependancy check:
 
A few packages have to be installed manually without dependancy check:
 
<syntaxhighlight lang="Bash">
 
<syntaxhighlight lang="Bash">
Line 287: Line 302:  
yum install perl-Razor-Agent perl-Data-UUID --disablerepo=sme\* --disablerepo=epel
 
yum install perl-Razor-Agent perl-Data-UUID --disablerepo=sme\* --disablerepo=epel
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
== Install e-smith-base ==
 
== Install e-smith-base ==
Line 308: Line 324:  
   Verifying  : smeserver-locale-sv-2.2.0-41.el5.sme.noarch                                                                                1/229
 
   Verifying  : smeserver-locale-sv-2.2.0-41.el5.sme.noarch                                                                                1/229
 
</pre>
 
</pre>
 +
    
==== Install the remaining e-smith/smeserver packages ====
 
==== Install the remaining e-smith/smeserver packages ====
Line 346: Line 363:  
  e-smith-viewlogfiles           
 
  e-smith-viewlogfiles           
 
  smeserver-release
 
  smeserver-release
 +
    
==== Install samba ====
 
==== Install samba ====
Line 352: Line 370:  
yum install samba-client
 
yum install samba-client
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Tweak the system so it can start with upstart (and runlevel4) ====
 
==== Tweak the system so it can start with upstart (and runlevel4) ====
Line 381: Line 400:  
cp -a /etc/rc7.d/* /etc/rc4.d/
 
cp -a /etc/rc7.d/* /etc/rc4.d/
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Move some perl modules ====
 
==== Move some perl modules ====
Line 387: Line 407:  
cp -a /usr/lib/perl5/site_perl/esmith/ /usr/share/perl5/vendor_perl/
 
cp -a /usr/lib/perl5/site_perl/esmith/ /usr/share/perl5/vendor_perl/
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Create a service entry for rsyslog ====
 
==== Create a service entry for rsyslog ====
Line 394: Line 415:  
cp -a /etc/rc7.d/S05syslog /etc/rc7.d/S05rsyslog
 
cp -a /etc/rc7.d/S05syslog /etc/rc7.d/S05rsyslog
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== Run post-upgrade ====
 
==== Run post-upgrade ====
Line 401: Line 423:  
/sbin/e-smith/signal-event reboot
 
/sbin/e-smith/signal-event reboot
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
==== The system boots but completly broken :-) ====
 
==== The system boots but completly broken :-) ====
Line 414: Line 437:  
* qpsmtpd won't start (can't locate Qpsmtpd/TcpServer.pm in @INC)
 
* qpsmtpd won't start (can't locate Qpsmtpd/TcpServer.pm in @INC)
 
* There's probably a lot more which is not working
 
* There's probably a lot more which is not working
 +
    
== SME Server specific/required packages ==
 
== SME Server specific/required packages ==
Line 420: Line 444:  
rpm -qa | grep 'smeserver\|e-smith'| sed -e 's/-[0-9].*//' | sort > smeserver-packages.txt
 
rpm -qa | grep 'smeserver\|e-smith'| sed -e 's/-[0-9].*//' | sort > smeserver-packages.txt
 
</syntaxhighlight>
 
</syntaxhighlight>
 +
    
== SME Server specific/required perl packages ==
 
== SME Server specific/required perl packages ==
Line 518: Line 543:     
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.
 
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.
 +
    
== FormMagick ==
 
== FormMagick ==
Line 532: Line 558:     
== Resources and references ==
 
== Resources and references ==
 +
    
==== Kickstart file ====
 
==== Kickstart file ====
 
* A starting point can be found [http://wiki.contribs.org/SME9_Kickstart here]
 
* A starting point can be found [http://wiki.contribs.org/SME9_Kickstart here]
 +
    
==== Setting up a RPM Building environment under CentOS ====
 
==== Setting up a RPM Building environment under CentOS ====
Line 542: Line 570:  
* [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]
 
* [http://wiki.contribs.org/Package_Modification Simple Package Modification from our wiki]
 
* [http://wiki.contribs.org/Package_Modification Simple Package Modification from our wiki]
 +
    
==== Suggestions and notes from SME Developers ====
 
==== Suggestions and notes from SME Developers ====
Line 560: Line 589:       −
<noinclude>[[Category:Howto]]</noinclude>
+
<noinclude>[[Category:Howto]][[Category:SME9-Development]]

Navigation menu