Blog of Raivo Laanemets

Stories about web development, freelancing and personal computers.

Debian Setup Tips

On

Sharing some small configuration changes that I have found useful.

Set UTC timezone as default:

# dpkg-reconfigure tzdata

select Etc and UTC.

Better OOM handling (for small–memory VPS machines):

vm.min_free_kbytes = 16384

into /etc/sysctl.conf.

More info about it: http://blogs.linbit.com/p/28/kernel-min_free_kbytes/

Set UTF–8 for locale:

# dpkg-reconfigure locales

and select en_US.UTF–8 as default.

Install Apticron to help with keeping the system up–to–date:

# apt-get install apticron
# dpkg-reconfigure apticron

Apticron will send email with the list of packages to upgrade.


Comments

No comments have been added so far.

Email is not displayed anywhere.
URLs (max 3) starting with http:// or https:// can be used. Use @Name to mention someone.