|
|
| (6 dazwischenliegende Versionen von 2 Benutzern werden nicht angezeigt) |
| Zeile 9: |
Zeile 9: |
| </pre> | | </pre> |
|
| |
|
| === Postfix + Roundcube + Vimbadmin === | | * [[MailServerVmd9593]] |
| | * [[GitServer]] |
| | |
| | == PHP5 == |
| | Änderungen in /etc/php5/fpm: |
| <pre> | | <pre> |
| apt-get install nginx-full php-auth-sasl php-http-request php-mail \
| | Geändert: |
| php-mail-mime php-mail-mimedecode php-net-dime php-net-smtp \
| | post_max_size = 100M |
| php-net-socket php-net-url php-pear php-soap php5 php5-cli \
| | upload_max_filesize = 100M |
| php5-common php5-curl php5-fpm php5-gd php5-imap php-apc php5-intl \
| | Neu: |
| php5-mcrypt php5-mysql libawl-php php5-xmlrpc ca-certificates
| | [mail function] |
| | sendmail_from = php@vmd3857.f-r-e-i.de |
| | sendmail_path = "/usr/sbin/sendmail -t -i -f php@vmd3857.f-r-e-i.de" |
|
| |
|
| Mode: internet mit smarthost
| | </pre> |
| Relay host: mail.gmx.net
| |
| | |
| dpkg-reconfigure tzdata
| |
| $HN=$(hostname -f)
| |
| openssl req -new -newkey rsa:4096 -sha256 -days 1095 -nodes -x509 -keyout /etc/ssl/$HN.key -out /etc/ssl/$HN.cer
| |
| chmod 600 /etc/ssl/$HN.key
| |
| cp /etc/ssl/$HN.cer /usr/local/share/ca-certificates/update-ca-certificates
| |
| PW=changme
| |
| mysql --defaults-file=/etc/mysql/debian.cnf -e "CREATE DATABASE vimbadmin; GRANT ALL ON vimbadmin.* TO 'vimbadmin'@'localhost' IDENTIFIED BY '$PW'; FLUSH PRIVILEGES;"
| |
| mysql --defaults-file=/etc/mysql/debian.cnf -e "CREATE DATABASE roundcube; GRANT ALL ON roundcube.* TO 'roundcube'@'localhost' IDENTIFIED BY '$PW'; FLUSH PRIVILEGES;"
| |
| cd /home/www
| |
| wget --content-disposition -O - http://sourceforge.net/projects/roundcubemail/files/latest/download | tar xfvz -
| |
| mv roundcubemail-* webmail
| |
|
| |
|
| mysql --defaults-file=/etc/mysql/debian.cnf roundcube < /home/www/webmail/SQL/mysql.initial.sql
| | == git.hamatoma.de == |
| | | * git@git.hamatoma.de:repo/reqt |
| cd /tmp
| |
| curl -sS https://getcomposer.org/installer | php
| |
| mv composer.phar /usr/local/bin/composer
| |
| | |
| composer create-project opensolutions/vimbadmin /home/vimbadmin
| |
| chown -R www-data: /home/vimbadmin/{public,var}
| |
| ln -s /home/vimbadmin/public/ /home/www/webmail/admin
| |
| | |
| </pre>
| |
apt-get install rsync sudo nginx mariadb-server tmux etckeeper \
php5-fpm php5-mysql mariadb-client curl
visudo
Änderungen in /etc/php5/fpm:
Geändert:
post_max_size = 100M
upload_max_filesize = 100M
Neu:
[mail function]
sendmail_from = php@vmd3857.f-r-e-i.de
sendmail_path = "/usr/sbin/sendmail -t -i -f php@vmd3857.f-r-e-i.de"
- git@git.hamatoma.de:repo/reqt