Horde3: Difference between revisions
| m (Horde3) | |||
| Line 19: | Line 19: | ||
| == Database == | == Database == | ||
| To make the database there are several scripts. We use MYsql: | To make the database there are several scripts in /usr/share/doc/horde3/examples/scripts/. We use MYsql: | ||
|   gunzip /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql.gz |   gunzip /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql.gz | ||
| Line 26: | Line 26: | ||
|   mysql -u root -p |   mysql -u root -p | ||
|   source  /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql |   source  /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql | ||
| == Configure == | |||
| To use the web configuration wizard we need to change the following | |||
|  chgrp -R www-data /etc/horde/horde3/ | |||
|  chmod -R 750 /etc/horde/horde3 | |||
|  chmod 777 /etc/horde/horde3/conf.php | |||
|  cp /etc/horde/horde3/conf.php /etc/horde/horde3/conf.php.bak | |||
|  chmod 777 /etc/horde/horde3/conf.php.bak | |||
|  Prepare log file: | |||
|  touch /var/log/horde/horde3.log | |||
|  chown root.www-data /var/log/horde/horde3.log | |||
|  chmod 770 /var/log/horde/horde3.log | |||
| Now we can browse to the site | Now we can browse to the site | ||
| Line 31: | Line 46: | ||
| This will give us the following | This will give us the following | ||
|   Horde3 configuration disabled by default because the administration/install wizard gives the whole world too much access to the system. Read /usr/share  |   Horde3 configuration disabled by default because the administration/install wizard gives the whole world too much access to the system. Read /usr/share /doc/horde3/README.Debian.gz on how to allow access. | ||
| Change /var/log/horde/horde3/conf.php and comment line 2 and 3 leave the first line as is. | |||
| Klik op setup en klik 'horde setup' | |||
| - edit database			-> username en WW - connect to database = tcp/ip - localhost - naam database | |||
| - edit preference system	-> SQL database | |||
| - edit authentication           -> Administrator,user@sample.com - SQL authentication | |||
| klik generate Horde Configurtion | |||
|  Could not save the backup configuration file /usr/share/horde3/config/conf.bak.php  | |||
| Not solved yet | |||
| - edit users			-> root | |||
Revision as of 21:23, 29 August 2009
apt-get install horde3
Now make the site available In etc/apache2-sites-available there is already a file horde3
Alias /horde3 /usr/share/horde3
       <Directory /usr/share/horde3>
           Options FollowSymLinks
           AllowOverride Limit
           deny from all
           allow from all 192.168 127.0.0
       </Directory>
<Location /horde3>
       SSLCipherSuite HIGH:MEDIUM
</Location>
And make the site enabled
ln -s /etc/apache2/sites-available/horde3 00X-horde3
Database
To make the database there are several scripts in /usr/share/doc/horde3/examples/scripts/. We use MYsql:
gunzip /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql.gz
and change the password in the script for the user horde Run the script
mysql -u root -p source /usr/share/doc/horde3/examples/scripts/sql/create.mysql.sql
Configure
To use the web configuration wizard we need to change the following
chgrp -R www-data /etc/horde/horde3/ chmod -R 750 /etc/horde/horde3 chmod 777 /etc/horde/horde3/conf.php cp /etc/horde/horde3/conf.php /etc/horde/horde3/conf.php.bak chmod 777 /etc/horde/horde3/conf.php.bak Prepare log file: touch /var/log/horde/horde3.log chown root.www-data /var/log/horde/horde3.log chmod 770 /var/log/horde/horde3.log
Now we can browse to the site
http://192.168.70.9/horde3/
This will give us the following
Horde3 configuration disabled by default because the administration/install wizard gives the whole world too much access to the system. Read /usr/share /doc/horde3/README.Debian.gz on how to allow access.
Change /var/log/horde/horde3/conf.php and comment line 2 and 3 leave the first line as is.
Klik op setup en klik 'horde setup' - edit database -> username en WW - connect to database = tcp/ip - localhost - naam database - edit preference system -> SQL database - edit authentication -> Administrator,user@sample.com - SQL authentication
klik generate Horde Configurtion
Could not save the backup configuration file /usr/share/horde3/config/conf.bak.php
Not solved yet
- edit users -> root