Part 3 – Installing Ubuntu Linux

In part two, we discussed putting together the hardware of your server. Now that your computer is put together, plug in your power cord and your Ethernet cord to your router. Since you don’t have anything on this computer yet, you will need a spare keyboard and monitor while you set this up. Go ahead and plug these in too.

You will also need to have a copy of Ubuntu Linux Server edition so you can install it. If you would rather use the desktop edition, that is your choice, but this tutorial was written for the server edition. Also, I did this within a month of Ubuntu 9.10 coming out. It was very buggy at the time, and I had issues with it. So I decided to use 9.04. You will need a second USB key to make the install as there is no optical drive on this computer. If you have another kind of external drive (hard disk drive or CD Drive), you can try using that. This computer’s bios does support booting from USB.

Once you have gotten the iso of Ubuntu, you will need to put this on a USB key to install the OS. It will fit on a 1 GB drive. I tried extracting the files from the iso by using Diskmagic and WinRAR and copying them to the USB drive, but that didn’t work. The way I got it to work is by downloading a file from unetbootin, and using that to put the installation files on my 1GB USB drive. Visit this site to make your USB key so that you can install from it: http://unetbootin.sourceforge.net/

SETUP AND INSTALLATION

Once you have the USB key ready, insert it into one of the USB ports on the computer. Power up the computer and you will see the Foxconn screen as it begins its boot up sequence. At this point, press the delete key to enter the setup menu to have a look a the bios. This bios will allow you to boot up from a USB drive, which is VERY important for installing and running the OS as the two disk drives are planned to be used for data only.

First we will edit the system information so we can change the boot warnings. Here make sure that Halt on is set to All Erros But, and have Keyboard and Mouse enabled. Since this will be a headless system, we need to make sure it’s not going to halt the boot up because there is no keyboard or mouse present.

Hit ENTER on System Information

Hit ENTER on System Information

Make sure it says ENABLED by Keyboard and Mouse

Make sure it says ENABLED by Keyboard and Mouse

More »

Tags Tags: , , , , , ,
Categories: Linux, Technology
Posted By: jason
Last Edit: 02 Feb 2010 @ 09 55 AM

EmailPermalinkComments (1)

Part Two: Building the Computer

Our first post in this series covered the planning of building our server.

Lets get started making a server. First, be sure and read the directions that come with this box. I was successful in not breaking anything when I did what it had to say.

There is one screw on the back. A simple Phillips head screwdriver will get it off. This will allow you to slide off the side panel for access to the inside of the box.

Next, we will need to pull of the faceplate. Follow the directions that came with your computer carefully, and it will come off. There are flimsy plastic clips holding it on. They do come off, so don’t force anything. I managed not to break mine.

Now that you have all of the outside pieces off, you need to unscrew the internal drive cage that will hold your 2nd hard drive. It is designed to hold one 5 ¼ in optical drive. I bought an adapter that allows you to put a 3 ½ in drive into a 5 ¼ in bay.

Inside of computer once everything has been taken apart.

All of the components once it has been disassembled.

Closeup of the inside of the computer

Overhead view of inside of computer

Once you have it all apart, put your memory in.

Memory

Memory

More »

Tags Tags: , , , , , ,
Categories: Linux, Technology
Posted By: jason
Last Edit: 02 Feb 2010 @ 09 51 AM

EmailPermalinkComments (2)

Part 1: Introduction and Planning

This tutorial is about how to make your own Ubuntu Linux file server. If you are wanting to follow along and are curious about the difficulty of this endeavor, I would give it a 6/10, where 10 is some kind of rocket science thing. I did my best to make this a step by step guide for anyone who, like myself, has lots of questions and isn’t totally sure what they are doing. I tried not to leave too much up to assumptions.

I am still a beginner at using Linux, but have been using a PC since the command line days of DOS. The reason I have decided to write this post is because I spent many hours perusing the Internet looking for answers on how to do what I wanted. What I found is that no one had posted exactly step by step for the noob how to do everything I wanted. So I had to take bits and pieces of pages from blog posts, message forums, the Ubuntu documentation, Linux Reality Podcasts, and help from the good folks at ubuntuforums.org to get where I wanted. I documented in Evernote along the way what I was doing so if I screwed up, I wouldn’t have to start all over again figuring things out (it took more than one try to get it to work). I wrote this post because I wanted to help others who may be trying to do something similar but can’t find all the steps. A lot of learning took place for me along the way. I did everything through the CLI (command line interface). It was like writing a book in a foreign language. I had to look up everything as I didn’t know the commands needed to do what I wanted. Once I knew what the commands were, I had to learn how to use them.

Here is what I wanted. A safe place to store my documents, music, photos, financial information, and anything else that I didn’t want to lose without worrying about a disk dying on me or succumbing to a virus. I am fully aware that this doesn’t solve every risk, but it did enough to make me happy for now. (This post might give you some insight to my paranoia with not trusting an external hard drive for my needs.) I also recently got married and wanted to make sure my wife and I both had access to everything in a central location. Since I am now the family IT guy, I wanted to make sure I had her data in a safe place too. This was also going to serve as a print server, and possibly more some time down the road. I wanted this to be virus free, cheap, long lasting, and energy efficient as it was going to be on 24/7. Once I was done getting it going, I wanted to be able to walk away and leave it sitting on a shelf doing its thing without needs for reboots, security updates, etc. I wanted it to be a headless system. That means no monitor, keyboard, or mouse. Just a power cord and an Ethernet cord. I’m sure my task would have been much easier had I just bought a fancy new computer and put windows server something on there or used OS X server, but apparently, I enjoy doing things the hard way (and I’m cheap).

The following is my setup:

More »

Tags Tags: , , , , ,
Categories: Linux
Posted By: jason
Last Edit: 13 Jan 2010 @ 10 52 AM

EmailPermalinkComments (1)
 12 Jan 2009 @ 11:03 PM 

Late last year, my Western Digital mybook hard drive stopped working. I had bought it less than 2 years ago for the purpose of backing up and archiving my data on there. I don’t know what the deal is with Western Digital. They used to be the best hard drive company for a while, but I won’t ever buy another one from them. I’ve had a couple of their internal hard drives die on me before this one, and this is the last straw. I read up on the Internet about this and found that are issues with this external hard drive. Apparently, the average use people were getting out of these drives was 2 years. The majority of the people were having problems with the hard drive enclosure not getting power. Ironically, these drives were advertised as being big relaible drives that you could store all of your important stuff on for a long time. Guess you can’t trust anything made in China. There was nothing earth shattering that I had on my drive. Come to think of it, I doubt there’s much of anything earth shattering about my life anyway. In fact, I can’t remember much about what was on there. The only thing I could really remember that I wanted back was about 4 years of email that I had archived on there. This is another reason why I stopped using email clients and have gone to email in the cloud with gmail.

So I figured I would try to recover my data. I bought a new enclosure for the drive, as it is just a regular 3.5″ WD drive that can operate in your desktop, but has a fancy box that goes around it. It uses a SATA interface, and my old desktop only does IDE. The new enclosure was about $30 from newegg. I plugged the new drive in, and still it didn’t work. The problem I was having is that it wasn’t being recognized by the computer. When I turned it on, I heard the drive spin up, then click, pause, click,  pause, click, pause, click, then the drive stops spinning. Obviously, something physically wrong with the drive. I don’t know if the heads were sticking or what, but it was looking like a paperweight at this point. I did some more research on the topic and found where some people who have had physical hard drive issues have been able to resolve them by putting the drive in the freezer. I figured, the next step in this drive’s life was the trash anyway, so I gave it a try.

Last night I put it in the freezer. This morning, I got up to try it. I plugged it in, and the same thing. Clicks with nothing. I tried turning it off and on several times, still nothing. I even resorted to the Irish screw driver (hitting it really hard) and still nothing. Well, its officially trash. I found another site that talked about opening the drive. I figured I had never seen the inside, I might as well try. The torq screws were odd, I couldn’t get a driver that I have here at the house to work with it. I have some torq screw drivers, but they weren’t the right size. So, I resorted to another simple machine. The lever Enter my hammer, flat headed screw driver, and a pry bar. I got the top off of it, and manged to put some good scratches on the platters. I also got the magnets out of there. Those were some damn expensive magnets, but that is all that is left of it. So, no more Western Digital drives. Now I’ll have to save up for another drive to use for backing up my data. In the meantime, my web host Dreamhost offers 50 gig of space to backup your data. That should be enough for now for my important stuff.

Tags Tags: ,
Categories: Technology
Posted By: jason
Last Edit: 09 Jan 2010 @ 07 06 AM

EmailPermalinkComments (2)
\/ More Options ...
avatar
Change Theme...
  • Users » 3
  • Posts/Pages » 139
  • Comments » 11
Change Theme...
  • VoidVoid
  • LifeLife
  • EarthEarth
  • WindWind « Default
  • WaterWater
  • FireFire
  • LightLight

Fire/EMS

  • No categories

Humor

  • No categories

Misc

  • No categories

Religion

  • No categories

Status Updates

  • No categories