How to setup Postgresql 9.1 Streaming Replication Debian Squeeze

Posted by Jevad on Tue 10 Apr 2012 at 13:07

This is a short HOWTO on setting up a backported Postgresql 9.1 database with streaming replication on Debian Squeeze.

( Read 380 more words ~ 0 comments posted )

Isolating sudo messages from syslog

Posted by Steve on Mon 12 Mar 2012 at 09:58

sudo is an essential tool in an environment where there are multiple server and system administrators. By default sudo will log to syslog, and it is very straight-forward to isolate the logging to a local file which can be useful.

( Read 335 more words ~ 11 comments posted )

How to convert a Wheezy (or newer) system to btrfs

Posted by gpall on Wed 7 Mar 2012 at 11:16

Newer GRUBs can handle a /boot partition which is btrfs, so you need not have a separate /boot partition formatted as ext3/4.

( Read 331 more words ~ 8 comments posted )

How to set up dynamic DNS (DDNS) on WD My Book Live

Posted by gpall on Fri 13 Jan 2012 at 06:15

Western Digital's My Book Live runs on Debian Lenny. It is a pretty nice NAS missing one critical feature for which many people ask on-line: The ability to sit behind a home LAN router and update a dynamic DNS entry as many routers can do.

( Read 346 more words ~ 22 comments posted )

Installing Redmine with MySQL Thin and Redmine on Debian Squeeze

Posted by kevinoid on Fri 9 Dec 2011 at 08:54

Redmine is a web-based project management system, often called a forge, built using the Ruby on Rails framework. It provides bug/issue tracking, time tracking, wiki pages, gantt charting and calendar, multiple project support, and role-based access control for users to name a few. This article will cover the process of installing Redmine on Debian Squeeze using MySQL for data storage, Thin for serving Ruby, and nginx as the outward-facing server.

( Read 1547 more words ~ 5 comments posted )

Optimizing code via compiler flags

Posted by Steve on Mon 12 Sep 2011 at 19:12
Tags: , ,

When you're developing performance-critical code you will most likely receive performance increases in one of two ways; via the selection of the most appropriate algorithmic solution, or via the expense of additional hardware. Here we'll look at an interesting alternative - optimising via compiler flags.

( Read 776 more words ~ 4 comments posted )

A simple introduction to fabric

Posted by Steve on Mon 1 Aug 2011 at 18:48

fabric is described as a simple library and command-line tool for performing application deployment and system administration tasks. Here we'll take a look at using it to deploy simple applications remotely.

( Read 1313 more words ~ 3 comments posted )

Extending a libvirt raw storage volume in Debian Squeeze

Posted by aogulla on Thu 23 Jun 2011 at 10:22

This article takes you through the necessary steps to extend a raw libvirt storage volume that is part of a libvirt storage pool on a Debian Squeeze GNU/Linux system. A libvirt storage volume is essentially a virtual raw hard-disk image that is used by a virtual machine.

( Read 797 more words ~ 2 comments posted )

Cloning a Debian system - identical packages and versions

Posted by telent on Wed 15 Jun 2011 at 19:14

I have long wished for the ability to install a Debian system specifying both the package list and the exact versions of the packages installed. dpkg --get-selections | ssh newhost dpkg --set-selections is useful but always chooses the latest version, and especially when using testing or unstable, it is sometimes necessary to temporarily downgrade a package from the latest version available.

( Read 418 more words ~ 12 comments posted )

Changing a users password inside a script

Posted by Steve on Mon 30 May 2011 at 15:05

In an ideal world you'd never need to change the password associated with a user account without using passwd, but there are times when it is helpful to script such things.

( Read 179 more words ~ 16 comments posted )