Contabo: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 2: | Zeile 2: | ||
= Installation = | = Installation = | ||
Ausgangspunkt: debian 7.2 (wheezzy) | Ausgangspunkt: debian 7.2 (wheezzy) | ||
<pre>apt-get install sudo git etckeeper sudo | <pre>apt-get install sudo git etckeeper sudo bzip2 zip unzip | ||
adduser hm | adduser hm | ||
Zeile 17: | Zeile 17: | ||
</pre> | </pre> | ||
= nginx | = nginx = | ||
<pre> | <pre> | ||
apt-get install nginx | apt-get install nginx | ||
Zeile 30: | Zeile 30: | ||
apt-get install mariadb-server | apt-get install mariadb-server | ||
</pre> | </pre> | ||
* in /etc/mysql/conf.d/mariadb.conf: UTF-8 aktivieren | |||
* in /etc/mysql/my.cnf: datadir = /home/mariadb | |||
* service mysql stop ; cp -a /var/lib/mysql /home/ ; mv /home/mysql /home/mariadb ; service mysql start | |||
= PHP = | = PHP = |
Version vom 6. November 2013, 07:10 Uhr
Installation
Ausgangspunkt: debian 7.2 (wheezzy)
apt-get install sudo git etckeeper sudo bzip2 zip unzip adduser hm # Eingabe Pw mkdir /home/hm/.ssh cat >/home/hm/.ssh/authorized_keys <<EOS ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/Z4tMh9xFVKL5XGx/9KjNt4OGzrk5MmOtUnLexAX3bjQ4yqYaj5zNvjQ1GaTbVG8bOCcstueKkvnCJ/iEYfoCwc9eeYv8QbdIH4BJPLeV0wO5D6wTAkZSqkyCAI7yFWYEr1Yy1vpKo8vZwcXtDGCQfWsG0CIZDzQCGHrSkdgNNIzjjEpsz4iAgYS5n044hDBW4YNaH7UWs/btSCyfWg00wza7FLZY5tz2sA9KB3NprFrJSPr/LyNhFv8LU+E7wi8eBZyx0rpbak27AYL1IHk7kODfhZSJo6eLacHA8RIftuZL8WkQzdNDnrEn09rg593stn/hm0blnUDBCr8AEZIj hm@ant EOS # Als User hm: ssh-keygen -t rsa # Eingabe
nginx
apt-get install nginx
mariadb
apt-get install python-software-properties apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xcbcb082a1bb943db add-apt-repository 'deb http://mirror.netcologne.de/mariadb/repo/10.0/debian wheezy main' apt-get update apt-get install mariadb-server
- in /etc/mysql/conf.d/mariadb.conf: UTF-8 aktivieren
- in /etc/mysql/my.cnf: datadir = /home/mariadb
- service mysql stop ; cp -a /var/lib/mysql /home/ ; mv /home/mysql /home/mariadb ; service mysql start
PHP
apt-get install php5 php5-fpm php5-mysql perl -pi -e 's/#cgi.fix_pathinfo=1/cgi.fix_pathinfo=0/;' /etc/php5/fpm/php.ini grep cgi.fix /etc/php5/fpm/php.ini