Config Ubuntu/Linux

# fix apache2 "Could not reliably determine the server's fully qualified domain name", add the following to /etc/apache2/httpd.conf
ServerName localhost

# open fonts folder
gksu nautilus /usr/share/fonts/truetype

# rebuild font cache
sudo fc-cache -f -v

sudo dd if=/dev/zero of=/mnt/swap bs=1M count=8000 (twice of memory)
sudo mkswap /mnt/swap
sudo swapon /mnt/swap
sudo vim /etc/fstab
/mnt/swap none swap sw 0 0
sudo vim /etc/sysctl.conf
vm.swappiness=10

Leave a Reply