[Servidor_de_comunicacions_Institut_les_Planes]
nano /etc/apt/sources.list
deb http://oss.gonicus.de/pub/gosa/debian-squeeze/ ./
apt-get update
$ apt-get install gosa $ apt-get install gosa-plugin-* $ sudo apt-get install gosa-help-en gosa-dev gosa-schema
$ sudo /etc/init.d/apache2 restart
http://localhost/gosa
http://@ip_servidor/gosa
echo -n d2l84233umdfr6gnmtbomrdvm0 > /tmp/gosa.auth
wget http://acacha.org/~sergi/gosa/gosa-2.7-ldifs.tar.gz
cn={0}core.ldif cn={18}pureftpd.ldif cn={2}nis.ldif cn={10}gofax.ldif cn={19}dnszone.ldif cn={3}misc.ldif cn={11}goserver.ldif cn={1}cosine.ldif cn={4}inetorgperson.ldif cn={12}goto-mime.ldif cn={20}hdb.ldif cn={5}samba3.ldif cn={13}gosa-samba3.ldif cn={21}openssh-lpk.ldif cn={6}trust.ldif cn={13}iris.ldif cn={22}phpscheduleit.ldif cn={7}gofon.ldif cn={14}fai.ldif cn={23}sudo.ldif cn={8}gosystem.ldif cn={15}dhcp.ldif cn={24}rfc2739.ldif cn={9}goto.ldif cn={16}nagios.ldif cn={25}kolab2.ldif cn={17}phpgwaccount.ldif cn={26}pptp.ldif
cp /esquemes/* /etc/ldap/slapd.d/cn\=config/cn\=schema
# cat cn\=\{10\}gofax.ldif | head dn: cn={10}gofax objectClass: olcSchemaConfig cn: {10}gofax
# cat cn\=\{10\}gofax.ldif |head dn: cn={10}gofax,cn=admin,cn=schema
# ls -l total 260 -rw-r----- 1 openldap openldap 15428 2011-01-26 15:01 cn={0}core.ldif -rw------- 1 openldap openldap 3540 2011-01-26 15:01 cn={10}gofax.ldif -rw------- 1 openldap openldap 20041 2011-01-26 15:01 cn={11}goserver.ldif -rw------- 1 openldap openldap 1972 2011-01-26 15:01 cn={12}goto-mime.ldif -rw------- 1 openldap openldap 16543 2011-01-26 15:01 cn={13}gosa-samba3.ldif -rw-r----- 1 openldap openldap 5367 2011-01-26 15:25 cn={13}iris.ldif -rw------- 1 openldap openldap 11068 2011-01-26 15:01 cn={14}fai.ldif -rw------- 1 openldap openldap 22401 2011-01-26 15:01 cn={15}dhcp.ldif
#chown openldap:openldap *.ldif
# /etc/init.d/slapd restart Stopping OpenLDAP: slapd. Starting OpenLDAP: slapd - failed. The operation failed but no output was produced. For hints on what went wrong please refer to the system's logfiles (e.g. /var/log/syslog) or try running the daemon in Debug mode like via "slapd -d 16383" (warning: this will create copious output). Below, you can find the command line options used by this script to run slapd. Do not forget to specify those options if you want to look to debugging output: slapd -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/
slapd -d 16383 -h 'ldap:/// ldapi:///' -g openldap -u openldap -F /etc/ldap/slapd.d/
# scp /root/Baixades/gosa.conf [email protected]:/root/gosa.conf [email protected]'s password: gosa.conf 100% 14KB 13.6KB/s 00:00
$ sudo cp gosa.conf /etc/gosa/gosa.conf
$ sudo chown root:www-data /etc/gosa/gosa.conf $ sudo chmod 640 /etc/gosa/gosa.conf