Setting up NFS on a home linux box


Home Network

NFS Server Installation

I’ve built my own home server called (Orion) you can read the details here, currently, I’m in the process of installing NFS so that I can access my files from my Linux Workstation.

Home network Setup

Server IP:
Workstation IP:

Install NFS Server


Edit /etc/exports and add the shares:

The above shares /home/backup allows only my workstationion on my private network  to access the share.

rw makes the share read/write, and sync requires the server to only reply to requests once any changes have been flushed to disk. This is the safest option (async is faster, but dangerous. It is strongly recommended that you read man exports.

After setting up /etc/exports, export the shares:

You’ll want to do this command whenever /etc/exports is modified.

Restart Services

If /etc/default/portmap was changed, portmap will need to be restarted:

The NFS kernel server will also require a restart:

Continue reading

Setting up a static IP on a linux box

Setting up a static IP address


Home Network

My wireless gateway has a static external IP address (Provided by my ISP), this enables me to  have forward and reverse DNS resolution. Forward resolution is provided by and reverse dns resolution is provided by my ISP Zen Internet.

Home Network IP Allocation – Static
IP address allocation
Printer – Dynamic
IP address allocation via DHCP
Personal Data Assistants (PDA’s)
XBox 360 etc..

You need to give your server (mine is called orion) and a valid static IP address, like most home users, my home network uses a Class C Private Address Space and NAT (Network Address Translation). Both of which are provided by my Wireless Gateway, which also provides DHCP for my laptop and other PDA’s.

Continue reading

Building a new home linux server

I’ve recently decided to build myself a new home server (media server, backup server) and bearing in mind that it’s going to be on most of the time, I’m going to be using parts that use less power and are suitable for my needs.

It needs to be:

  • Reasonably inexpensive to run.
  • Small and unobtrusive.
  • Nice looking (not your typical beige box) as well as being reasonably quiet.


The case has to be able to accommodate 2 standard 3.5″ hard drives (I’m going to be using software RAID 1). I don’t need a CD/DVD drive in this case (just as well since there isn’t space to fit one), thankfully, I’ve already got a perfectly good desktop PC and laptop  for doing all my day to day stuff.

After muchchenbro trawling hardware websites and me changing my mind on numerous occasions about the specification, I decided to buy a Chenbro ES30068 Mini-ITX Server Case from

My initial thoughts after getting the case were “Geeze that’s heavy for a small case!” and it is rather weighty. Saying that, the build quality is good and it’s a nice looking case. However, I’m still not convinced that I couldn’t have bought a cheaper case that was just as good. Still, it’s small and unobtrusive so I can live with it.


I decided to buy a Jetway JNC91-230-LF ATOM 1.6GHz Mainboard from after reading reviews of what’s on offer at It’s also a really nice looking motherboard (if your into pretty motherboards 🙂 )


Memory was supplied by, one stick of “2GB 240-PIN UNBUFF DIMM 256Mx64 DDR2 PC2-5300” for £20, I had no idea that memory was so cheap these days.

Hard Disk

I did a bit of research then decided to buy 2 x 1Tb Western Digital Green drives, the main reasons for me, is that these drives draw less  power and were quite a bit quieter than the other products available. You can read a full review of the drives at the Toms Hardware website.

Software Raid Setup

I installed Ubuntu 8.04 LTS Server and chose the  “Guided LVM Setup”. I also installed LAMP (Linux Apache Mysql and PHP), Samba, SSH Server, and E-Mail (Internet Site) which I probably won’t need, but just in case  :).

After doing that,  I followed the instructions provided here on how to set up Software Raid 1 on a running LVM (Logical Volume Manager) system.

Heres another howto that I’ve written called Setting up a static IP on a linux box. I’ve written this mostly as a reminder to myself, but feel free to use it if it helps.

References: Advanced Installation – Software RAID 1
Linux Raid – Linux Raid Wiki

Chris Hoy Half Marathon 2008


Today myself and my mate Mark ran the Chris Hoy Edinburgh Half Marthon, the weather was surprisingly good, sunny with a little breeze. I actually managed to get a personal best. So I’m well chuffed, looks like things are looking good for the Albert Bartlett Edinburgh Marathon this year. The only bad thing is that I think I’m coming down with a cold (felt a bit snotty this morning), so tonight I’m going to dose myself with Vitamin C and have an early night, fingers crossed.

Position Name Time
192/2470 William Dickson 01:31:45
1602/2470 Mark Dawson 02:01:30

A nice sunny Sunday run 🙂