Category Archives: Debian

Having spent the last couple of years getting to grips with Redhat and Fedora, I felt it was time to try my hand at something else. All the geeks I know say, ‘go for Debian’, so I did. This details my findings so far.

Moving Filesystems

Just some commands to remind me how to move non-raid filesystems to mdadm raid1 Use fdisk to create two identical partitions of type fd – raid autodetect Create the new array mdadm –create –verbose /dev/md0 –level raid1 –raid-disks 2 /dev/hda1 … Continue reading

Posted in Debian | Leave a comment

Encrypted Filesystems

My efforts to load an encrypted filesystem under Debian Sarge using a 2.6 kernel Continue reading

Posted in Debian | Leave a comment

RAID Reconstruction

How to replace a completely failed disk Continue reading

Posted in Debian | 2 Comments

Backing up with RSync

Whilst I use Duplicity to perform my mass backups on a nightly basis, it’s comforting to have some components backed up on a much more regular basis and stored in an instantly recoverable format. RSync solves this problem very well … Continue reading

Posted in Debian | Leave a comment

ROT13

ROT13 is a very simple encryption algorithm that rotates the alphabet by 13 places. In other words, A becomes N and M becomes Z. Obviously it’s pretty useless as a secure cipher, but it’s great for covering up something in … Continue reading

Posted in Debian | Leave a comment

INN – News Server

I’ve been using INN for long enough now to appreciate some of its quirks and features. Because of this, I don’t really want to install it from a package, but much prefer to build it from the source. One of … Continue reading

Posted in Debian | Leave a comment

Firewall Config

How to setup iptables on Debian Continue reading

Posted in Debian | Leave a comment

Postfix Config

Debian’s Postfix configuration is pretty much as Fedora, the only differences I’ve noticed are the aliases are in /etc instead of /etc/postfix, and the origin parameter is read from a file /etc/mailname. The later of these two caused me endless … Continue reading

Posted in Debian | Leave a comment

Apache2 SSL on Debian

How to configure Apache2 on Debain with support for SSL. In other words, how to serve https. Continue reading

Posted in Debian | 1 Comment

Network Time

Score one for Debian! Installing ntp and its recommended + suggested packages works very well; no editing of config files required. Time Admin is listed under the Debian menu in Gnome. Glad I learnt to do this manually by editing … Continue reading

Posted in Debian | Leave a comment

Upgrading

Using apt-get to upgrade Debian went fine to begin with, but I’m getting issues with dependancies. Documentation suggests that packages won’t be upgraded if doing so would involve installing new packages. However, there must be more to it than this … Continue reading

Posted in Debian | Leave a comment

Configuring VIM

By default, the Debian vim is configured not to do intelligent colours. I like colors! To turn it on, edit /etc/vim/vimrc: Uncomment: syntax on Also, by default autoindent is switched on. I prefer to do this on a per file … Continue reading

Posted in Debian | Leave a comment

Bash Profile

Bash profile consists of two files: /etc/skel/.bash_profile /etc/skel/.bashrc For some reason, all the entries in .bash_profile are commented out by default; not sure why. When doing a useradd, a -m needs to be used in order to get these files … Continue reading

Posted in Debian | 2 Comments