Diferencia entre revisiones de «GOsa on CentOS / RedHat»
De gacq wiki
(→Subversion installation (trunk)) |
|||
(No se muestran 11 ediciones intermedias del mismo usuario) | |||
Línea 7: | Línea 7: | ||
== Nuevo repositorio con dependencias necesarias == | == Nuevo repositorio con dependencias necesarias == | ||
+ | for CentOS 5 i386 | ||
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm | wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm | ||
rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm | rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm | ||
− | + | or for RHEL5 x86_64 | |
− | + | wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm | |
− | wget http:// | + | rpm -i rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm |
− | |||
− | |||
− | |||
− | |||
− | |||
== PHP Upgrade == | == PHP Upgrade == | ||
− | + | You have to upgrade PHP from version 5.1 to 5.2 in order to run GOsa | |
− | |||
Install the testing repository’s GPG key: | Install the testing repository’s GPG key: | ||
Línea 31: | Línea 26: | ||
cd /etc/yum.repos.d | cd /etc/yum.repos.d | ||
wget http://dev.centos.org/centos/5/CentOS-Testing.repo | wget http://dev.centos.org/centos/5/CentOS-Testing.repo | ||
+ | |||
+ | ;For RHEL run: | ||
+ | sed -i s/\$releasever/5/ CentOS-Testing.repo | ||
Now you can install/update to PHP 5.2.6 by running | Now you can install/update to PHP 5.2.6 by running | ||
Línea 52: | Línea 50: | ||
smbldap-populate | smbldap-populate | ||
− | = | + | = Linux auth = |
+ | == Using authconfig-tui == | ||
+ | Run | ||
+ | authconfig-tui | ||
+ | |||
+ | Select: | ||
+ | *Use LDAP | ||
+ | *Use MD5 Passwords | ||
+ | *Use Shadow Passwords | ||
+ | *Use LDAP Authentication | ||
+ | |||
+ | == By hands (incomplete) == | ||
+ | |||
+ | |||
Editar el archivo de configuración /etc/nsswitch.conf. | Editar el archivo de configuración /etc/nsswitch.conf. | ||
Línea 66: | Línea 77: | ||
passwd: compat ldap | passwd: compat ldap | ||
group: compat ldap | group: compat ldap | ||
− | shadow: compat ldap | + | shadow: compat ldap |
+ | |||
+ | = GOsa = | ||
+ | == Subversion installation (trunk) == | ||
+ | mkdir /etc/gosa | ||
+ | mkdir /var/spool/gosa | ||
+ | chown apache:apache /var/spool/gosa | ||
+ | |||
+ | yum install subversion | ||
+ | yum install libc-client mod_perl | ||
+ | yum --disablerepo=* --enablerepo=c5-testing install php-imap php-mbstring php-snmp | ||
+ | |||
+ | cd /tmp | ||
+ | svn co https://oss.gonicus.de/repositories/gosa/trunk gosa-trunk | ||
+ | mv /tmp/gosa-trunk/gosa-all /usr/share/gosa | ||
+ | cd /usr/share/gosa | ||
+ | ./update-gosa | ||
+ | |||
+ | == Package installation == | ||
+ | === Add Gosa repositories === | ||
+ | cd /etc/yum.repos.d | ||
+ | wget http://oss.gonicus.de/pub/gosa/redhat/GOsa.repo | ||
+ | |||
+ | ;Edit GOsa.repo and add "[gosa]" tab on the top | ||
+ | vi GOsa.repo | ||
+ | |||
+ | yum install gosa gosa-schema gosa-help-es | ||
= References = | = References = | ||
* http://www.alcancelibre.org/staticpages/index.php/SAMBALDAP-CENTOS5 | * http://www.alcancelibre.org/staticpages/index.php/SAMBALDAP-CENTOS5 | ||
* http://demonccc.wordpress.com/2008/04/15/howto-configurar-centos-5-como-pdc-controlador-de-dominio-windows/ | * http://demonccc.wordpress.com/2008/04/15/howto-configurar-centos-5-como-pdc-controlador-de-dominio-windows/ |
Revisión actual del 15:56 21 ago 2009
Contenido
OpenLDAP
yum install openldap openldap-clients openldap-servers cp /etc/openldap/DB_CONFIG.example /var/lib/ldap/DB_CONFIG
Samba
yum install samba
Nuevo repositorio con dependencias necesarias
for CentOS 5 i386
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.i386.rpm rpm -i rpmforge-release-0.3.6-1.el5.rf.i386.rpm
or for RHEL5 x86_64
wget http://dag.wieers.com/rpm/packages/rpmforge-release/rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm rpm -i rpmforge-release-0.3.6-1.el5.rf.x86_64.rpm
PHP Upgrade
You have to upgrade PHP from version 5.1 to 5.2 in order to run GOsa
Install the testing repository’s GPG key:
rpm --import http://dev.centos.org/centos/RPM-GPG-KEY-CentOS-testing
And download the CentOS-Testing repo file:
cd /etc/yum.repos.d wget http://dev.centos.org/centos/5/CentOS-Testing.repo
- For RHEL run
sed -i s/\$releasever/5/ CentOS-Testing.repo
Now you can install/update to PHP 5.2.6 by running
yum --disablerepo=* --enablerepo=c5-testing update php
Referencia http://www.webtatic.com/blog/2009/05/installing-php-526-on-centos-5/
Samba
mkdir -p /home/samba/netlogon mkdir -p /home/samba/profiles chmod 777 -R /home/samba/profiles smbpasswd -w secret
Paquetes adicionales
yum install smbldap-tools
- Configurar /etc/smbldap-tools/smbldap.conf
net getlocalsid
smbldap-populate
Linux auth
Using authconfig-tui
Run
authconfig-tui
Select:
- Use LDAP
- Use MD5 Passwords
- Use Shadow Passwords
- Use LDAP Authentication
By hands (incomplete)
Editar el archivo de configuración /etc/nsswitch.conf.
- /etc/nsswitch.conf
Buscamos las siguientes 3 líneas:
passwd: compat group: compat shadow: compat
y las reemplazamos para que queden así:
passwd: compat ldap group: compat ldap shadow: compat ldap
GOsa
Subversion installation (trunk)
mkdir /etc/gosa mkdir /var/spool/gosa chown apache:apache /var/spool/gosa
yum install subversion yum install libc-client mod_perl yum --disablerepo=* --enablerepo=c5-testing install php-imap php-mbstring php-snmp
cd /tmp svn co https://oss.gonicus.de/repositories/gosa/trunk gosa-trunk mv /tmp/gosa-trunk/gosa-all /usr/share/gosa cd /usr/share/gosa ./update-gosa
Package installation
Add Gosa repositories
cd /etc/yum.repos.d wget http://oss.gonicus.de/pub/gosa/redhat/GOsa.repo
- Edit GOsa.repo and add "[gosa]" tab on the top
vi GOsa.repo
yum install gosa gosa-schema gosa-help-es