InfCloud (Linux): Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 9: | Zeile 9: | ||
== Konfiguration == | == Konfiguration == | ||
=== Apache === | |||
==== Intranet ==== | |||
<pre> | <pre> | ||
Zeile 35: | Zeile 39: | ||
</pre> | </pre> | ||
==== HTTPs ==== | |||
<pre> | |||
sudo vi /etc/apache2/sites-available/infcloud.conf | |||
</pre> | |||
<pre> | |||
<VirtualHost *:80> | |||
ServerName infcloud.kirner.or.at | |||
ServerAlias infcloud.kirner.or.at | |||
Redirect / https://infcloud.kirner.or.at | |||
</VirtualHost> | |||
</pre> | |||
<pre> | |||
sudo vi /etc/apache2/sites-available/infcloud-ssl.conf | |||
</pre> | |||
<pre> | |||
<VirtualHost *:443> | |||
ServerName infcloud.kirner.or.at | |||
SSLEngine on | |||
SSLCertificateFile /etc/ssl/certs/infcloud.crt | |||
SSLCertificateKeyFile /etc/ssl/private/apache.key | |||
# Pfad zu den Webinhalten | |||
DocumentRoot /var/www/infcloud_0_13_1 | |||
ErrorLog ${APACHE_LOG_DIR}/infcloud.kirner.or.at-error.log | |||
CustomLog ${APACHE_LOG_DIR}/infcloud.kirner.or.at-access.log combined | |||
</VirtualHost> | |||
</pre> | |||
<pre> | |||
cd /etc/apache2/sites-available/ | |||
sudo openssl req -new -x509 -key /etc/ssl/private/apache.key -days <days> -sha256 -out /etc/ssl/certs/infcloud.crt | |||
sudo a2ensite infcloud.conf | |||
sudo a2ensite infcloud-ssl.conf | |||
sudo service apache2 reload | |||
</pre> | |||
Version vom 2. Januar 2020, 18:48 Uhr
Installation
wget https://www.inf-it.com/InfCloud_0.13.1.zip unzip InfCloud_0.13.1.zip sudo mv infcloud/ /var/www/infcloud_0_13_1 sudo chown -R www-data.www-data /var/www/infcloud_0_13_1/
Konfiguration
Apache
Intranet
cd /etc/apache2/conf-available/ sudo vi infcloud.conf
Alias /infcloud "/var/www/infcloud_0_13_1/" <Directory "/var/www/infcloud_0_13_1"> Options +FollowSymLinks AllowOverride All <IfModule mod_dav.c> Dav off </IfModule> SetEnv HOME /var/www/infcloud_0_13_1 SetEnv HTTP_HOME /var/www/infcloud_0_13_1 </Directory>
sudo a2enconf infcloud sudo service apache2 reload
HTTPs
sudo vi /etc/apache2/sites-available/infcloud.conf
<VirtualHost *:80> ServerName infcloud.kirner.or.at ServerAlias infcloud.kirner.or.at Redirect / https://infcloud.kirner.or.at </VirtualHost>
sudo vi /etc/apache2/sites-available/infcloud-ssl.conf
<VirtualHost *:443> ServerName infcloud.kirner.or.at SSLEngine on SSLCertificateFile /etc/ssl/certs/infcloud.crt SSLCertificateKeyFile /etc/ssl/private/apache.key # Pfad zu den Webinhalten DocumentRoot /var/www/infcloud_0_13_1 ErrorLog ${APACHE_LOG_DIR}/infcloud.kirner.or.at-error.log CustomLog ${APACHE_LOG_DIR}/infcloud.kirner.or.at-access.log combined </VirtualHost>
cd /etc/apache2/sites-available/ sudo openssl req -new -x509 -key /etc/ssl/private/apache.key -days <days> -sha256 -out /etc/ssl/certs/infcloud.crt sudo a2ensite infcloud.conf sudo a2ensite infcloud-ssl.conf sudo service apache2 reload
copy the source code into your web server directory (if you use Apache it is strongly recommended to enable the following modules: mod_expires, mod_mime and mod_deflate ... see .htaccess for more details)
Links
https://www.inf-it.com/caldavzap/readme.txt
Links
https://www.inf-it.com/open-source/clients/infcloud/
Zurück zu CalDav/CardDav Webclients