Différences
Ci-dessous, les différences entre deux révisions de la page.
Les deux révisions précédentes Révision précédente Prochaine révision | Révision précédente | ||
smedev:install_sme_el6 [21/01/2013 10:53] dani |
smedev:install_sme_el6 [25/01/2013 21:46] (Version actuelle) dani |
||
---|---|---|---|
Ligne 3: | Ligne 3: | ||
These are just my notes to get a EL6 system booting with all the e-smith and smeserver packages installed. As soon as I get it to boot, I'll put this info into contribs.org wiki. | These are just my notes to get a EL6 system booting with all the e-smith and smeserver packages installed. As soon as I get it to boot, I'll put this info into contribs.org wiki. | ||
- | * Start from a minimal el6 installation (I just installed a few utilities like htop, screen, rsync, vim, openssh-clients etc...) | + | ===== Minimal EL6 Install ===== |
- | | + | Just install |
+ | |||
+ | |||
+ | ===== Disable graphical boot ===== | ||
+ | |||
+ | It will be easier to see what's going on (and turn off selinux at kernel level, just to be sure) | ||
<code bash> | <code bash> | ||
sed -i -e ' | sed -i -e ' | ||
</ | </ | ||
- | * Disable SELinux: | + | |
+ | ===== Disable SELinux | ||
<code bash> | <code bash> | ||
sed -i -e ' | sed -i -e ' | ||
</ | </ | ||
- | * Remove selinux-policy-targeted and authconfig, they conflict with some e-smith/ | + | ===== Remove selinux-policy-targeted and authconfig |
+ | They conflict with some e-smith/ | ||
<code bash> | <code bash> | ||
yum remove selinux-policy-targeted authconfig | yum remove selinux-policy-targeted authconfig | ||
</ | </ | ||
+ | ===== Configure third party repo ===== | ||
+ | |||
* Enable the EPEL repo | * Enable the EPEL repo | ||
<code bash> | <code bash> | ||
Ligne 30: | Ligne 40: | ||
* Configure SME repository (EL5 version for now) | * Configure SME repository (EL5 version for now) | ||
<code bash> | <code bash> | ||
- | cat<<' | + | cat<<' |
[smeaddons] | [smeaddons] | ||
enabled=1 | enabled=1 | ||
Ligne 97: | Ligne 107: | ||
yum install yum-plugin-priorities | yum install yum-plugin-priorities | ||
</ | </ | ||
- | * Configure yum priorities | + | ===== Configure yum priorities |
* Set the base, updates and extras repo in / | * Set the base, updates and extras repo in / | ||
<code bash> | <code bash> | ||
Ligne 165: | Ligne 176: | ||
priority=70 | priority=70 | ||
</ | </ | ||
- | * Now, a few packages have to be installed manually without dependancy check: | + | ===== Install som epackage without dependancy check ===== |
+ | |||
+ | A few packages have to be installed manually without dependancy check: | ||
<code bash> | <code bash> | ||
rpm -Uvh --nodeps http:// | rpm -Uvh --nodeps http:// | ||
Ligne 175: | Ligne 188: | ||
yum install perl-Razor-Agent perl-Data-UUID --disablerepo=sme\* --disablerepo=epel | yum install perl-Razor-Agent perl-Data-UUID --disablerepo=sme\* --disablerepo=epel | ||
</ | </ | ||
- | * Now, you should be ready to install e-smith-base. For me, this pulls 222 packages (166MB). For some reason, the GPGKey is not recognized, so just run yum with --nogpgcheck | + | ===== Install e-smith-base ===== |
+ | |||
+ | Now, you should be ready to install e-smith-base. For me, this pulls 222 packages (166MB). For some reason, the GPGKey is not recognized, so just run yum with --nogpgcheck | ||
<code bash> | <code bash> | ||
yum --nogpgcheck install e-smith-base | yum --nogpgcheck install e-smith-base | ||
</ | </ | ||
- | * Now install all the remaining e-smith/ | + | ===== Install the remaining e-smith/ |
+ | |||
+ | Now install all the remaining e-smith/ | ||
<code bash> | <code bash> | ||
yum --nogpgcheck install e-smith\* smeserver\* | yum --nogpgcheck install e-smith\* smeserver\* | ||
Ligne 219: | Ligne 236: | ||
</ | </ | ||
- | * Now install samba-client (e-smith-samba has been installed manually without dep check, otherwise it would have pulled samba3x package instead of samba) | + | ===== Install samba ===== |
+ | Now install samba-client (e-smith-samba has been installed manually without dep check, otherwise it would have pulled samba3x package instead of samba) | ||
<code bash> | <code bash> | ||
yum install samba-client | yum install samba-client | ||
</ | </ | ||
- | * We've almost finished, we just have to replace upstart with the good old SysVinit, because upstart doesn' | + | ===== Replace upstart with SysVinit ===== |
+ | |||
+ | We've almost finished, we just have to replace upstart with the good old SysVinit, because upstart doesn' | ||
<code bash> | <code bash> | ||
rpm -e --nodeps upstart sysvinit-tools | rpm -e --nodeps upstart sysvinit-tools | ||
Ligne 230: | Ligne 250: | ||
</ | </ | ||
- | * We need to copy some perl modules to a new directory, because @INC has changed in EL6: | + | ===== Move some perl modules ===== |
+ | |||
+ | We need to copy some perl modules to a new directory, because @INC has changed in EL6: | ||
<code bash> | <code bash> | ||
cp -a / | cp -a / | ||
</ | </ | ||
- | * We also need to create a new service entry in the DB, because the standard syslog package is now rsyslog: | + | ===== Create a service entry for rsyslog ===== |
+ | |||
+ | We need to create a new service entry in the DB, because the standard syslog package is now rsyslog: | ||
<code bash> | <code bash> | ||
/ | / | ||
Ligne 241: | Ligne 265: | ||
</ | </ | ||
- | * We can now try to post-upgrade | + | ===== Run post-upgrade ===== |
+ | |||
+ | We can now try to post-upgrade | ||
<code bash> | <code bash> | ||
/ | / | ||
</ | </ | ||
- | * And reboot. Unfortunatly, | + | And reboot. Unfortunatly, |
+ | |||
+ | ===== The system boots but completly broken :-) ===== | ||
Ok, so the system should now boot, but is really not usable, after a quick look, at least the following doesn' | Ok, so the system should now boot, but is really not usable, after a quick look, at least the following doesn' | ||
Ligne 259: | Ligne 287: | ||
* qpsmtpd won't start (can't locate Qpsmtpd/ | * qpsmtpd won't start (can't locate Qpsmtpd/ | ||
* There' | * There' | ||
+ | |||
+ | * [[what_is_not_working_on_el6|A more complete list of broken things]] |