Computers, Gadgets and Beyond!

Archive for the ‘Tutorials’

Keeping time in Ubuntu

January 17, 2007 By: webmaster Category: Technology, Tutorials, Ubuntu

For some strange reason, none of my Ubuntu 6.10 installations have included NTP (Network Time Protocol) by default. No idea why, but here is how you make sure the clock your Ubuntu box is staying in sync with the rest of the world if the same thing happens to you.

 # sudo apt-get install ntp-server

This is technically it, but the stock installation does not adjust your time right away if it is way out of sync. So we just do this to make sure we’re correct from the start:

# /etc/init.d/ntp-server stop
# ntpdate -s pool.ntp.org
# /etc/init.d/ntp-server start

There, you’re in sync and will stay in sync from now on.

Tags: , ,

Growing RAID5 sets in Ubuntu

January 10, 2007 By: webmaster Category: Technology, Tutorials, Ubuntu

Growing RAID5 sets under Linux by adding new disks on the fly has been possible for some time now. However, the kernel that comes default with Ubuntu 6.10 does not appear to contain all the needed support to do this. So if you need to do this, as I did, you first need to boot a newer kernel than the one available. I picked 2.6.19 and compiled it using these instructions. That took about five commands in total to do, so I won’t repeat those instructions here. Note however, that I had to specifically add support for both RAID5 and my various SATA-cards to the kernel configuration (the make menuconfig part of the instructions). Your mileage may vary.


  • Hit me

  • Current Poll

    Which sub-note are you getting?
    View Results
  • Default test