Contabo
Version vom 5. November 2013, 23:29 Uhr von Hamatoma (Diskussion | Beiträge)
Installation
Ausgangspunkt: debian 7.2 (wheezzy) minimal
apt-get install sudo git etckeeper sudo 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 Mariadb PHP
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
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