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:44] dani |
smedev:install_sme_el6 [25/01/2013 21:46] 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 woith --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' | ||
* The console on the first boot don't really work. It asks for the admin password (and BTW the password appears in cleartext) but it's all | * The console on the first boot don't really work. It asks for the admin password (and BTW the password appears in cleartext) but it's all | ||
- | * No network interfaces are detected by the console menu (because kudzu is not installed, only available in SME repo, and require an older python which clash the the one from EL6) | + | * No network interfaces are detected by the console menu (because kudzu is not installed, only available in SME repo, and require an older python which conflicts with the the one from EL6) |
* slapd won't start | * slapd won't start | ||
* httpd won't start | * httpd won't start | ||
* squid won't start | * squid won't start | ||
- | * manually running expand-template has no effect (aznd no error message is printed). But signal-event seems to work (files get expanded and services restarted) | + | * manually running expand-template has no effect (and no error message is printed). But signal-event seems to work (files get expanded and services restarted) |
- | * as the network interface are not configured, all the services which requires the internel IP in their config (at least sshd squid and dnscache) won't start | + | * as the network interface are not configured, all the services which requires the internel IP (or the external one) in their config (at least sshd squid and dnscache) won't start |
* even if we manually add 0.0.0.0 after the ListenAddress line in / | * even if we manually add 0.0.0.0 after the ListenAddress line in / | ||
* 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]] |