Package and Install PHP extension
No need to use too many words. Go to wwwdotdeb.org and follow step-by-step instruction for downloading PECL extension, making DEB package and installing it with dpkg.
View ArticleUpgrade Debian over slow Internet connection
It was a moderately cold fall evening when I finally decided to do upgrade to Squeeze on my home computer. I have a 2MB line at home, sharing it with two other users. Apt-get dist-upgrade announced two...
View ArticleSetting up Logwatch
Checking logs is the only way to know what’s happening with your servers and one way to check them is using Logwatch. Installing it on Debian is easy: apt-get install logwatch On my virtual Debian host...
View ArticleInstaling from source with Checkinstall
If everything goes well, all you need to do is run the commands below. $ ./configure $ make -j 4 # checkinstall -D make install The -j 4 option means, that make will run 4 concurrent jobs and thus...
View ArticleAudio and Video Manipulation With ffmpeg
In order to avoid always re-learning same things I’m listing few useful commands. For more detail and information go here. Any video/audio to OGG/Vorbis fmpeg -i source.file -vn -acodec libvorbis -aq 6...
View ArticleFinding duplicate entries in MySQL database
On upgrading my Moodle installation from version 1.9 to 2.1 the upgrade process (initiated from command line) exited with the following error: !!! Error reading from database !!! !! Illegal mix of...
View ArticleSqueeze LXC container in Debian Squeeze
In Debian Squeeze, the default lxc-debian script installs a Lenny container. The bug was reported and fixed in version 0.7.4 of LXC. To install Squeeze container first download Syd’s version of LXC...
View ArticleSetting cron-apt
First install it. apt-get install cron-apt I like to get e-mail every time the cron-apt runs. This way I know that everything works. To get the mail change MAILON=”error” to MAILON=”always” and...
View ArticleInstalling from testing source
Recently I’ve needed to install a package (keepass2) which was available only in testing and unstable repositories. As I’m running stable version of Debian (for stability and compatibility with...
View ArticleBoot multiple Linux iso images from USB – manual setup
First thing to decide is the USB key’s file system. If you just want to use it for booting Linux images then go for Linux file system. If you also want to use it to store other data and this data to be...
View Article