Diferencia entre revisiones de «GOsa on CentOS / RedHat»
De gacq wiki
(→PHP Upgrade) |
|||
Línea 33: | Línea 33: | ||
yum --disablerepo=* --enablerepo=c5-testing update php | yum --disablerepo=* --enablerepo=c5-testing update php | ||
− | |||
− | |||
− | |||
− | |||
Referencia http://www.webtatic.com/blog/2009/05/installing-php-526-on-centos-5/ | Referencia http://www.webtatic.com/blog/2009/05/installing-php-526-on-centos-5/ | ||
Línea 88: | Línea 84: | ||
mkdir /var/spool/gosa | mkdir /var/spool/gosa | ||
chown apache:apache /var/spool/gosa | chown apache:apache /var/spool/gosa | ||
+ | |||
yum install subversion | yum install subversion | ||
+ | yum install libc-client | ||
+ | yum --disablerepo=* --enablerepo=c5-testing install php-imap php-mbstring php-snmp | ||
+ | |||
cd /tmp | cd /tmp | ||
svn co https://oss.gonicus.de/repositories/gosa/trunk gosa-trunk | svn co https://oss.gonicus.de/repositories/gosa/trunk gosa-trunk |
Revisión del 15:54 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 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