Tine20: Unterschied zwischen den Versionen
Aus Vosp.info
F (Diskussion | Beiträge) (→Installation) |
F (Diskussion | Beiträge) (→Installation) |
||
Zeile 5: | Zeile 5: | ||
apt-get update | apt-get update | ||
apt-get install tine20 | apt-get install tine20 | ||
+ | |||
+ | echo " | ||
+ | <VirtualHost *:80> | ||
+ | ServerName tine.domain.tld | ||
+ | ServerAlias www.tine.domain.tld | ||
+ | ServerAdmin kontakt@tine.domain.tld | ||
+ | RewriteEngine on | ||
+ | RewriteCond %{SERVER_PORT} ^80$ | ||
+ | RewriteRule ^(.*)$ https://tine.domain.tld/$1 [R=301,L] | ||
+ | </VirtualHost> | ||
+ | <VirtualHost *:443> | ||
+ | ServerAdmin kontakt@tine.domain.tld | ||
+ | DocumentRoot /usr/share/tine20/ | ||
+ | ServerName tine.domain.tld | ||
+ | ServerAlias www.tine.domain.tld | ||
+ | RewriteEngine on | ||
+ | <Directory /usr/share/tine20/ > | ||
+ | Options Indexes FollowSymLinks MultiViews | ||
+ | AllowOverride all | ||
+ | Order allow,deny | ||
+ | allow from all | ||
+ | </Directory> | ||
+ | SSLEngine On | ||
+ | SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP | ||
+ | SSLCertificateFile /etc/apache2/ssl/multidomain.crt | ||
+ | SSLCertificateKeyFile /etc/apache2/ssl/multidomain-private.key | ||
+ | </VirtualHost> | ||
+ | " > /etc/apache2/sites-available/tine.domain.tld | ||
</source> | </source> | ||
Version vom 11. Juni 2013, 14:44 Uhr
Installation
echo "deb http://packages.tine20.org/debian squeeze stable" > /etc/apt/sources.list.d/tine.list
apt-key adv --recv-keys --keyserver keys.gnupg.net 7F6F6895
apt-get update
apt-get install tine20
echo "
<VirtualHost *:80>
ServerName tine.domain.tld
ServerAlias www.tine.domain.tld
ServerAdmin kontakt@tine.domain.tld
RewriteEngine on
RewriteCond %{SERVER_PORT} ^80$
RewriteRule ^(.*)$ https://tine.domain.tld/$1 [R=301,L]
</VirtualHost>
<VirtualHost *:443>
ServerAdmin kontakt@tine.domain.tld
DocumentRoot /usr/share/tine20/
ServerName tine.domain.tld
ServerAlias www.tine.domain.tld
RewriteEngine on
<Directory /usr/share/tine20/ >
Options Indexes FollowSymLinks MultiViews
AllowOverride all
Order allow,deny
allow from all
</Directory>
SSLEngine On
SSLCipherSuite ALL:!ADH:RC4+RSA:+HIGH:+MEDIUM:+LOW:+SSLv2:+EXP
SSLCertificateFile /etc/apache2/ssl/multidomain.crt
SSLCertificateKeyFile /etc/apache2/ssl/multidomain-private.key
</VirtualHost>
" > /etc/apache2/sites-available/tine.domain.tld