How to build the Ultimate Linux Home Server - Part 1
July 16th, 2008
Nowadays, most households have multiple computers and media devices, and sharing files and media between them all can be extremely messy. The best solution would be a home server of course! Over the next few weeks, I will be posting how to guides on how to create the ultimate home server.
I’ll be separating the whole guide into multiple parts. By the end, we will have accomplished:
* Installing OpenSUSE onto your Home Server
* DHCP
* DNS
* SMB/NFS File Sharing
* Media Sharing
* VPN
More after the Jump!
I will be using an older HP desktop computer. It has a 2.8GHz Celeron, 1GB of RAM, and an Intel Integrated graphics card. I’ve put the two 250GB hard drives that I had left from upgrading my desktop into my new home server. Not a ton of space, but should be plenty for what I need. Since Linux can work on pretty much any hardware, I’ll leave the computer you want to use as a server up to you.
For the Linux distribution, I’ve decided to go with OpenSUSE. Based off of Novell’s SUSE, it’s a very solid operating system and has pretty much everything we need. It’s a community project that Novell supports, and Novell aims for it to be the best distro available. You can download the DVD image here: http://software.opensuse.org/ You can then burn the DVD image with your favorite DVD burning software.
I will be starting the install inside of VMware so that I can show you what to do with screenshots. You can click the images to view a High Res
Installing OpenSUSE
Insert the OpenSUSE Install Disc into your home server and boot to it via the BIOS.
From there, you will select Installation and press Return.
The OpenSUSE loading screen will pop up.
Select your language, keyboard layout, and then accept the license agreement, then click next.
OpenSUSE will then scan your hardware and current setup
Make sure that New Installation is selected and Use Automatic Configuration is unselected, then click next.
Select your time zone, then click next.
I will be using GNOME as the Desktop Environment, you can choose whichever you like,but their may be some inconsistencies between GNOME and KDE, then click next to continue.
I’ve chosen Logival Volume Management, it allows you to spread the filesystem over multiple drives. The default configuration seemed suitable for me; you are always able to change it later quite easily.
This is where you set up the Administrator user account. I’d suggest using a very secure password, at least 10 characters which include numbers, uppercase and lowercase letters, and special characters.
This is where you can view all of the installation settings.
Now is where we select the packages we want to install. Click Change, and then select software.
The packages that we want to select are:
* Base System
* Enhanced Base System
* Novell AppArmor
* Console Tools (only necessary if you want to use terminal programs)
* YaST System Adiministrationr
* YaST Installation Packages
* Software Management
* GNOME Desktop Environment
* GNOME Base System
* X Window System
* Fonts
* Remote Desktop
* File Server
* Miscellaneous Server
* Print Server
* Web and LAMP Server (Only if you want to host your own website)
* Internet Gateway
* DHCP and DNS Server
* Base Development (To install compilers you may need)
Make sure you unselect
* Multimedia
* Office Software
* Desktop Effects
* Graphics
* Games
* Voice Over IP Clients
Then you can click Install. Note that it will format the hard drive you have selected for the install.
Now you are installing OpenSUSE. It took me 30 minutes to install it in VMware Fusion.
You can view the Installation Details and Release Notes.
It will then reboot your computer.
Once your computer has rebooted, you can now proceed with the setup. You will now set your Hostname and Domain Name. The Domain Name doesn’t have to be a Fully Qualified Domain Name, you could use home.local or home.xyz or just home.
You can view all of your network settings there. You can also open the SSH port if you want SSH access to your server.
You can now set up the network configuration. Set a static IP address for your NIC.
In Hostname/DNS, you can set up the Name Servers that you want to use. I use OpenDNS.com’s Name Servers, which are 208.67.222.222 and 208.67.220.220.
If you are using a router, you can set the router’s address as the default gateway.
Click VNC Remote Administration, then enable Remote Administration and open up the port in the firewall.
It will now test for Internet access by downloading the latest release notes and check for the updates.
Configure the Online updates and run online updates.
It will then start up OpenSUSE and you will be able to log in. If you have trouble logging in with the user you created, try logging in as the user “root”
This is the OpenSUSE Splash Screen. Click on a link if you are interested.
There you have it! Your OpenSUSE GNOME Desktop awaits!
You can proceed onto part 2 here!
You can view the next parts ere: Part 3, Part 4, Part 5
Like my articles and how to’s? Have a request? You can buy me a cup of joe or some music to listen to by donating! Donate via paypal or iTunes Gift Certificate to shawn@32packets.com
July 16th, 2008 at 4:59 pm
The first HD I ever saw was a CORVUS 5MB box, about the size of a desktop scanner. One had to let it warm up for 15 minutes before the Apple II connected to it was turned on. It took 8 hours to back it up using a VHS tape recorder. My first thought was “he will never fill that up.” Within a year he had.
In this article the author mentions that two 250GB HDs “is not a ton of space”. That’s 1/2 of a Terabyte!! But, he’s right! How long will it be before home laptops will come with 1 or more Terabytes of space? A couple of years?
July 16th, 2008 at 5:42 pm
I had a corvus for my first drive 5 meg also but I had it hooked up to my TRS80 Model II and it had the clear case and you could actually see the platters and heads.
It was a big step up from the 8 inch floppy!
Hell I even had a t-shirt that said “Real Men have Hard Disk”!
July 17th, 2008 at 5:33 am
My first PC was an Apple II+. I thought I had it good with two floppy drives. One system and one data and 64KB of RAM!!!! Elephant disks never loose they’re memory or something like that.
I was thinking that the two 250GB HD’s would have been configured for raid 1. After all it is a server. That would be enough for my data at this time. Yes, I would love to have two 1TB drives. They’re not that expensive.
July 17th, 2008 at 6:12 am
Great post, man! I’ve actually been trying to find a step-by-step breakdown on this. Good screenshots, too. Looking forward to the rest!
July 17th, 2008 at 7:52 am
[...] Read more at 32packets [...]
July 17th, 2008 at 8:25 am
@ GreyGeek
It’s amazing how far we have come with storage technology, of course for every increase in storage capacity we seem to develop a new space eating habit. At first it was music, then video, and now I would say HD video is going to push our free space toward 0%.
July 17th, 2008 at 9:15 am
Hey, I remember those- at my first job out of grad school, we had one connected to an IBM PC. We were so impressed with how much stock data it could hold and how much faster it was than the 5 1/4″ floppies.
Today, I’m surprised how much and how quickly the price has dropped on 1TB drives from three months ago.
July 17th, 2008 at 9:33 pm
[...] If you missed the first part, Installing OpenSUSE, here is Part 1 [...]
July 17th, 2008 at 11:20 pm
Like Coralinason, i had expect a Raid 1 with the 2 HDD as the title is about the ULTIMATE home server and not a basic one… And i also expected the use of virtualisation as this is becoming quite common nowadays.
July 17th, 2008 at 11:43 pm
This is a very useful guide. For me it would be even more useful if the home server also did the broadband connection for the house, and included a firewall.
July 17th, 2008 at 11:52 pm
I’ll be putting a guide together hopefully later this month detailing how to virtualize the firewall aspect of your network, although you’ll need two NICs on your server. If only I had more time!
As for the ultimate part, I was referring more towards the “Ultimate Linux” part rather than “Ultimate Home Server”, since I don’t have any spare RAID cards or 1TB drives laying around. If anyone wants to send me some, I wouldn’t mind
July 19th, 2008 at 4:32 pm
Why get rid of Multimedia if your going to share media?
July 19th, 2008 at 4:34 pm
The Multimedia package just includes playback software, nothing that we will need for sharing/transcoding media. You can always leave it there if you want to, but I found the software it installed was unnecessary.
July 23rd, 2008 at 3:03 pm
[...] you missed a section of How to build the Ultimate Linux Home Server, you can view them here. Part 1, Part 2, Part 3 Part 4 of the guide is after the [...]
July 29th, 2008 at 9:27 am
[...] you missed a section of How to build the Ultimate Linux Home Server, you can view them here: Part 1, Part 2, Part 3, and Part [...]
August 1st, 2008 at 7:46 pm
[...] you missed a section of How to build the Ultimate Linux Home Server, you can view them here: Part 1, Part 2, Part 4, Part [...]
August 31st, 2008 at 1:29 pm
[...] about the Linux based home server also free what are your thoughts on it? A good how to here….. How to build the Ultimate Linux Home Server - Part 1 Rig I EVGA 680i A1-Q6600 GO @ 9×400 1:1/4×1GB Crucial Ballistix Tracers /2x EVGA 8800GTS 640 SSC [...]