Ajustes no DigitalOcean Debian Squeeze

De MochilaWiki

ajuste básico

apt-get install locales
dpkg-reconfigure locales
dpkg-reconfigure tzdata

criando swap

dd if=/dev/zero of=/swapfile bs=1024 count=1024k
mkswap /swapfile
swapon /swapfile
echo "/swapfile       none    swap    sw      0       0 " | tee -a /etc/sysctl.conf
echo 0 > /proc/sys/vm/swappiness
chown root:root /swapfile 
chmod 0600 /swapfile

referencias =