Isar6: Unterschied zwischen den Versionen
Zur Navigation springen
Zur Suche springen
Zeile 4: | Zeile 4: | ||
<pre>apt-get install sudo git etckeeper | <pre>apt-get install sudo git etckeeper | ||
apt-get install nginx | apt-get install nginx | ||
# swap einrichten: | |||
SWAPFILE=/var/cache/swapfile | |||
dd if=/dev/zero of=/var/cache/swapfile bs=1M count=512 | |||
chmod 600 $SWAPFILE | |||
mkswap $SWAPFILE | |||
swapon $SWAPFILE | |||
echo >>/etc/fstab "$SWAPFILE none swap defaults 0 0" | |||
</pre> | </pre> | ||
Version vom 1. November 2013, 20:19 Uhr
Installation
Ausgangspunkt: debian 7.2 (wheezzy) minimal
apt-get install sudo git etckeeper apt-get install nginx # swap einrichten: SWAPFILE=/var/cache/swapfile dd if=/dev/zero of=/var/cache/swapfile bs=1M count=512 chmod 600 $SWAPFILE mkswap $SWAPFILE swapon $SWAPFILE echo >>/etc/fstab "$SWAPFILE none swap defaults 0 0"
Konfiguration
adduser hm mkdir /home/hm/.ssh cat >/home/hm/.ssh/authorized_keys <<EOS ssh-rsa AAAAB3NzaC1yc2EAAAADAQABAAABAQC/Z4tMh9xFVKL5XGx/9KjNt4OGzrk5MmOtUnLexAX3bjQ4yqYaj5zNvjQ1GaTbVG8bOCcstueKkvnCJ/iEYfoCwc9eeYv8QbdIH4BJPLeV0wO5D6wTAkZSqkyCAI7yFWYEr1Yy1vpKo8vZwcXtDGCQfWsG0CIZDzQCGHrSkdgNNIzjjEpsz4iAgYS5n044hDBW4YNaH7UWs/btSCyfWg00wza7FLZY5tz2sA9KB3NprFrJSPr/LyNhFv8LU+E7wi8eBZyx0rpbak27AYL1IHk7kODfhZSJo6eLacHA8RIftuZL8WkQzdNDnrEn09rg593stn/hm0blnUDBCr8AEZIj hm@ant EOS