Egroupware: Unterschied zwischen den Versionen
Aus Vosp.info
F (Diskussion | Beiträge) (→Server) |
F (Diskussion | Beiträge) (→Server) |
||
(8 dazwischenliegende Versionen desselben Benutzers werden nicht angezeigt) | |||
Zeile 9: | Zeile 9: | ||
lxc exec ancubuntu2024 -- su --login root | lxc exec ancubuntu2024 -- su --login root | ||
</source> | </source> | ||
− | |||
− | |||
− | |||
* apt Quellen integrieren | * apt Quellen integrieren | ||
Zeile 25: | Zeile 22: | ||
apt install egroupware-docker apache2 | apt install egroupware-docker apache2 | ||
</source> | </source> | ||
− | + | ||
+ | * Konfiguration | ||
<source lang=bash> | <source lang=bash> | ||
+ | # Listet die Container mit ein paar Informationen auf. Zur schnellen Kontrolle, ob Container laufen (oder nicht) | ||
+ | docker ps | ||
+ | # docker container ls -a | ||
+ | |||
+ | CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES | ||
+ | 3df4b954c9e3 quay.io/egroupware/collabora-key:stable "/start-collabora-on…" 3 minutes ago Up 3 minutes 127.0.0.1:9980->9980/tcp collabora-key | ||
+ | aae23e674084 nginx:stable-alpine "/docker-entrypoint.…" 4 minutes ago Up 4 minutes 127.0.0.1:8080->80/tcp egroupware-nginx | ||
+ | 2e66cb54792a phpswoole/swoole:5.0-php8.1-alpine "docker-php-entrypoi…" 4 minutes ago Up 4 minutes egroupware-push | ||
+ | 1abcc60a1e1e containrrr/watchtower:latest "/watchtower --sched…" 4 minutes ago Up 4 minutes (healthy) 8080/tcp egroupware-watchtower | ||
+ | 62a912339c92 egroupware/egroupware:23.1 "/entrypoint.sh php-…" 5 minutes ago Up 4 minutes 9000/tcp egroupware | ||
+ | 1088794bc674 mariadb:10.6 "docker-entrypoint.s…" 5 minutes ago Up 4 minutes 3306/tcp egroupware-db | ||
+ | |||
+ | # Listet neben den laufenden auch die gestoppten Container. | ||
+ | docker ps -a | ||
+ | </source> | ||
+ | |||
+ | * wenn alle Container laufen, kann jetzt einfach die ip im browser eingegeben werden und ein login erscheint | ||
+ | |||
+ | * Apache Konfiguration | ||
+ | <source lang=bash> | ||
+ | vim /etc/apache2/sites-available/esync.domain.tld.conf | ||
+ | </source> | ||
+ | <source lang=xml> | ||
+ | <VirtualHost *:80> | ||
+ | ServerName esync.domain.tld | ||
+ | Redirect permanent / https://esync.domain.tld/ | ||
+ | </VirtualHost> | ||
+ | |||
+ | <VirtualHost *:443> | ||
+ | SSLEngine On | ||
+ | ServerName esync.domain.tld | ||
+ | ServerAdmin webmaster@localhost | ||
+ | |||
+ | LogLevel info | ||
+ | ErrorLog ${APACHE_LOG_DIR}/error.esync.domain.tld.log | ||
+ | CustomLog ${APACHE_LOG_DIR}/access.esync.domain.tld.log combined | ||
+ | |||
+ | SSLCertificateKeyFile /etc/ssl/private/live/domain.tld/privkey.pem | ||
+ | SSLCertificateFile /etc/ssl/private/live/domain.tld/cert.pem | ||
+ | SSLCertificateChainFile /etc/ssl/private/live/domain.tld/chain.pem | ||
+ | SetEnv nokeepalive ssl-unclean-shutdown | ||
+ | |||
+ | |||
+ | # EGroupware proxy needs to be included inside vhost | ||
+ | include /etc/egroupware-docker/apache.conf | ||
+ | |||
+ | # Collabora proxy needs to be included inside vhost | ||
+ | include /etc/egroupware-collabora-key/apache.conf | ||
+ | |||
+ | </VirtualHost> | ||
+ | |||
+ | </source> | ||
+ | |||
+ | <source lang=bash> | ||
+ | a2enmod ssl | ||
+ | a2ensite esync.domain.tld.conf | ||
+ | systemctl restart apache2.service | ||
+ | </source> | ||
+ | |||
+ | * erster login | ||
+ | ** zeige login daten | ||
+ | <source lang=bash> | ||
+ | cat /var/lib/egroupware/egroupware-docker-install.log | ||
+ | |||
+ | EGroupware successful installed | ||
+ | =============================== | ||
+ | |||
+ | Please note the following user names and passwords: | ||
+ | |||
+ | Setup username: admin | ||
+ | password: | ||
+ | EGroupware username: sysop | ||
+ | password: | ||
</source> | </source> | ||
Aktuelle Version vom 28. Dezember 2024, 23:26 Uhr
Inhaltsverzeichnis
2024
Server
- optional neuer Container https://vosp.info/index.php/Lxd#Container_Installation
lxc launch ubuntu:24.04 ubuntu2024
lxc config set ubuntu2024 security.nesting true
lxc exec ancubuntu2024 -- su --login root
- apt Quellen integrieren
echo 'deb http://download.opensuse.org/repositories/server:/eGroupWare/xUbuntu_24.04/ /' | tee /etc/apt/sources.list.d/server:eGroupWare.list
wget -nv https://download.opensuse.org/repositories/server:eGroupWare/xUbuntu_24.04/Release.key -O - | tee /etc/apt/trusted.gpg.d/server:eGroupWare.asc
apt update
- Installation
apt install egroupware-docker apache2
- Konfiguration
# Listet die Container mit ein paar Informationen auf. Zur schnellen Kontrolle, ob Container laufen (oder nicht)
docker ps
# docker container ls -a
CONTAINER ID IMAGE COMMAND CREATED STATUS PORTS NAMES
3df4b954c9e3 quay.io/egroupware/collabora-key:stable "/start-collabora-on…" 3 minutes ago Up 3 minutes 127.0.0.1:9980->9980/tcp collabora-key
aae23e674084 nginx:stable-alpine "/docker-entrypoint.…" 4 minutes ago Up 4 minutes 127.0.0.1:8080->80/tcp egroupware-nginx
2e66cb54792a phpswoole/swoole:5.0-php8.1-alpine "docker-php-entrypoi…" 4 minutes ago Up 4 minutes egroupware-push
1abcc60a1e1e containrrr/watchtower:latest "/watchtower --sched…" 4 minutes ago Up 4 minutes (healthy) 8080/tcp egroupware-watchtower
62a912339c92 egroupware/egroupware:23.1 "/entrypoint.sh php-…" 5 minutes ago Up 4 minutes 9000/tcp egroupware
1088794bc674 mariadb:10.6 "docker-entrypoint.s…" 5 minutes ago Up 4 minutes 3306/tcp egroupware-db
# Listet neben den laufenden auch die gestoppten Container.
docker ps -a
- wenn alle Container laufen, kann jetzt einfach die ip im browser eingegeben werden und ein login erscheint
- Apache Konfiguration
vim /etc/apache2/sites-available/esync.domain.tld.conf
<VirtualHost *:80>
ServerName esync.domain.tld
Redirect permanent / https://esync.domain.tld/
</VirtualHost>
<VirtualHost *:443>
SSLEngine On
ServerName esync.domain.tld
ServerAdmin webmaster@localhost
LogLevel info
ErrorLog ${APACHE_LOG_DIR}/error.esync.domain.tld.log
CustomLog ${APACHE_LOG_DIR}/access.esync.domain.tld.log combined
SSLCertificateKeyFile /etc/ssl/private/live/domain.tld/privkey.pem
SSLCertificateFile /etc/ssl/private/live/domain.tld/cert.pem
SSLCertificateChainFile /etc/ssl/private/live/domain.tld/chain.pem
SetEnv nokeepalive ssl-unclean-shutdown
# EGroupware proxy needs to be included inside vhost
include /etc/egroupware-docker/apache.conf
# Collabora proxy needs to be included inside vhost
include /etc/egroupware-collabora-key/apache.conf
</VirtualHost>
a2enmod ssl
a2ensite esync.domain.tld.conf
systemctl restart apache2.service
- erster login
- zeige login daten
cat /var/lib/egroupware/egroupware-docker-install.log
EGroupware successful installed
===============================
Please note the following user names and passwords:
Setup username: admin
password:
EGroupware username: sysop
password:
alt
Server
Download / Installation
- über dpkg / apt-get
echo "deb http://download.opensuse.org/repositories/server:/eGroupWare/Debian_6.0/ ./" > /etc/apt/sources.list.d/egroupware.list wget -O - http://download.opensuse.org/repositories/server:/eGroupWare/Debian_6.0/Release.key | apt-key add - apt-get update apt-get install egroupware
egroupware über subdomain erreichen
Default ist DOMAIN/egroupware
Erreicht werden soll egroupware.DOMAIN
Die folgende Änderung führt dazu, dass
egroupware.DOMAIN
automatisch umgeleitet wird zu
egroupware.DOMAIN/egroupware
rm /etc/apache2/conf.d/egroupware ln -s /etc/egroupware/apache.conf /etc/apache2/sites-available/egroupware.DOMAIN In die Datei /etc/egroupware folgendes einfügen An den Anfang der Datei <VirtualHost *.80> => oder *:443, wennn ssl ServerName egroupware.DOMAIN DocumentRoot /usr/share/egroupware Ganz ans Ende der Datei </VirtualHost>
Sicherheit
- wegen den Daten vllt auch openssl installieren
Clients
evolutiono
mozilla
thunderbird/icedove addressbook
sync: synchronisieren in beide Richtungen!
- Addon SOGo Connector Thunderbird downloaden und nach Anleitung installieren
- im Adressbuch unter Datei>>Neu>>Remote-Adressbuch neues Adressbuch erstellen und als server https://localhost/egroupware/groupdav.php/addressbook/ angeben
Lightning/iceowl kalender
- neuer Kalender
- im Netzwerk
- Format: Caldav
- Adresse: https://ibase/egroupware/groupdav.php/calendar/
android
acal
- am besten über fdroid sich acal installieren
- Server: https://domail.tld/egroupware/groupdav.php