Tag Archives: debian

Building packages from sources using Debian/Ubuntu

Sometimes you want to install latest version of selected software package while keeping base system stable. Then installing from source is a safe option to proceed. First, you have to include sources from fresh system version, below is example taken … Continue reading

Posted in en | Tagged , | Comments Off on Building packages from sources using Debian/Ubuntu

"No recommends" on Debian/Ubuntu by default

Sometimes you want to install some packages quickly and you know exactly what components you need. Then installing uneccessary 20 MB (recommended/suggested packages) when you need just 200 kB package is just waste of your time and disk space. Here's … Continue reading

Posted in en | Tagged | Comments Off on "No recommends" on Debian/Ubuntu by default

Chrooting 32-bit Debian

Sometimes brand-new 64 bit architecture must be used for running 32-bit programs. You can preserve your 64-bit system and create so called "32 bit chroot" environment. I'll use Debian as guest operating system because it supports easy bootstrapping out-of-the-box. I … Continue reading

Posted in en | Tagged , | Comments Off on Chrooting 32-bit Debian

Aptitude vs apt-get memory usage on Debian

If you are administering small-memory VPS servers it's very easy to exceed all available memory. Typical memory hogs (apache mpm-prefork, rsyslogd) could be easily replaced by alternatives. It's not very easy to do with packaging system (you have to be … Continue reading

Posted in en | Tagged , , | 1 Comment

OpenVZ VPS memory optimisation

This article shows techniques used to trim memory usage on OpenVZ system (with 128 MB RAM burstable). Mostly inspired by this article from lowendbox.com. Minimal Debian Lenny install (33MB used): # ps xo vsz,rsz,ucmd VSZ   RSZ CMD 1980   692 init … Continue reading

Posted in en | Tagged , , | 1 Comment