Aktuell: draft
→ kolab-server-2.0.3
→ 0-run-obmtool-kolab.txt
→ +:wissen:gpl:kolab:1-run-bootstrap-kolab.txt
http://www.kolab.org/webclient.html#config http://wiki.kolab.org/index.php/Kolab2_Installation_-_Horde
~/.bashrc
alias kpm="/kolab/bin/openpkg rpm"
alias rckolab="/kolab/bin/openpkg rc"
export LANG=C
opa () {
root="${1:-/kolab}"
if [ ! -d $root ]; then
echo "opa:ERROR: OpenPKG root directory $root not found"
exit 1
fi
if [ ! -f "$root/etc/rc" ]; then
echo "opa:ERROR: root directory does not contain OpenPKG hierarchy"
exit 1
fi
eval `$root/etc/rc --eval all env`
}
Damit Infos über den apache abgerufen werden können (z.B. durch munin)
/kolab/etc/kolab/templates/httpd.conf.template
<Location /server-status>
SetHandler server-status
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
<Location /server-info>
SetHandler server-info
Order deny,allow
Deny from all
Allow from 127.0.0.1
</Location>
mysql rebuild
/kolab/bin/openpkg rpm --rebuild ftp://ftp.openpkg.org/release/2.5/SRC/mysql-4.1.14-2.5.0.src.rpm /kolab/bin/openpkg rpm -Uvh /kolab/RPM/PKG/mysql-*rpm
Webcalender für DAV-Zugriff erstellen
mkdir -p /kolab/var/kolab/www/webcalendar cat >> /kolab/var/kolab/www/webcalendar/thomasbaumann.ics BEGIN:VCALENDAR END:VCALENDAR EOF chown -R kolab-n.kolab-n /kolab/var/kolab/www/webcalendar
Um pear als root aktualisieren zu können, muss der safe-mode ausgeschaltet werden.
pear list
#$ /kolab/bin/pear list WARNING: running in safe mode requires that all files created be the same uid as the current script. PHP reports this script is uid: 19414, and current user is: kolab INSTALLED PACKAGES: =================== PACKAGE VERSION STATE Archive_Tar 1.1 stable Console_Getopt 1.2 stable HTML_Template_IT 1.1 stable Net_UserAgent_Detect 2.0.1 stable PEAR 1.3.5 stable XML_RPC 1.2.2 stable
/kolab/etc/php/php.ini
safe_mode = off ; Enable Safe Mode (file UID comparisons)
Anschließend sind folgende Befehle auszuführen:
pear aktualisierung
#$ /kolab/bin/pear upgrade-all Will upgrade archive_tar Will upgrade html_template_it Will upgrade net_useragent_detect Will upgrade pear Will upgrade xml_rpc downloading Archive_Tar-1.3.1.tgz ... Starting to download Archive_Tar-1.3.1.tgz (15,102 bytes) .....done: 15,102 bytes downloading HTML_Template_IT-1.1.3.tgz ... Starting to download HTML_Template_IT-1.1.3.tgz (19,314 bytes) ...done: 19,314 bytes downloading Net_UserAgent_Detect-2.1.0.tgz ... Starting to download Net_UserAgent_Detect-2.1.0.tgz (9,595 bytes) ...done: 9,595 bytes downloading PEAR-1.4.6.tgz ... Starting to download PEAR-1.4.6.tgz (277,103 bytes) ...done: 277,103 bytes downloading XML_RPC-1.4.5.tgz ... Starting to download XML_RPC-1.4.5.tgz (29,172 bytes) ...done: 29,172 bytes upgrade-all ok: XML_RPC 1.4.5 upgrade-all ok: Archive_Tar 1.3.1 upgrade-all ok: Net_UserAgent_Detect 2.1.0 upgrade-all ok: HTML_Template_IT 1.1.3 Optional dependencies: package `PEAR_Frontend_Web' version >= 0.5.0 is recommended to utilize some features. package `PEAR_Frontend_Gtk' version >= 0.4.0 is recommended to utilize some features. upgrade-all ok: PEAR 1.4.6 You have new mail in /var/mail/root #$ /kolab/bin/pear install db WARNING: channel "pear.php.net" has updated its protocols, use "channel-update pear.php.net" to update downloading DB-1.7.6.tgz ... Starting to download DB-1.7.6.tgz (124,807 bytes) ..........................done: 124,807 bytes install ok: channel://pear.php.net/DB-1.7.6 #$ pear channel-update pear.php.net Retrieving channel.xml from remote server Update of Channel "pear.php.net" succeeded #$ pear channel-discover pear.horde.org
/kolab/etc/kolab/kolab_bootstrap -b/kolab/bin/openpkg rc all startServices → Create Distribution list