ContaboVmd9593: Unterschied zwischen den Versionen

Aus Info-Theke
Zur Navigation springen Zur Suche springen
Zeile 5: Zeile 5:
<pre>
<pre>
apt-get install rsync sudo nginx mariadb-server tmux etckeeper \
apt-get install rsync sudo nginx mariadb-server tmux etckeeper \
   php5-fpm php5-mysql mariadb-client  
   php5-fpm php5-mysql mariadb-client curl
visudo
visudo
</pre>
</pre>
Zeile 20: Zeile 20:
Relay host: mail.gmx.net
Relay host: mail.gmx.net


dpkg-reconfigure tzdata
$HN=$(hostname -f)
$HN=$(hostname -f)
openssl req -new -newkey rsa:4096 -sha256 -days 1095 -nodes -x509 \
openssl req -new -newkey rsa:4096 -sha256 -days 1095 -nodes -x509 -keyout /etc/ssl/$HN.key  -out /etc/ssl/$HN.cer
  -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;"
</pre>
</pre>

Version vom 11. September 2015, 21:59 Uhr


Installation

apt-get install rsync sudo nginx mariadb-server tmux etckeeper \
   php5-fpm php5-mysql mariadb-client curl
visudo

Postfix

apt-get install nginx-full php-auth-sasl php-http-request php-mail \
   php-mail-mime php-mail-mimedecode php-net-dime php-net-smtp \
   php-net-socket php-net-url php-pear php-soap php5 php5-cli \
   php5-common php5-curl php5-fpm php5-gd php5-imap php-apc php5-intl \
   php5-mcrypt php5-mysql libawl-php php5-xmlrpc ca-certificates

Mode: internet mit smarthost
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;"