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.

SUSE 1

From there, you will select Installation and press Return.

SUSE 2

The OpenSUSE loading screen will pop up.

SUSE 3

Select your language, keyboard layout, and then accept the license agreement, then click next.

SUSE 4

OpenSUSE will then scan your hardware and current setup

SUSE 5

Make sure that New Installation is selected and Use Automatic Configuration is unselected, then click next.

SUSE 6

Select your time zone, then click next.

SUSE 7

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.

SUSE 8

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.

SUSE 9

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.

SUSE 10

This is where you can view all of the installation settings.

SUSE 11

Now is where we select the packages we want to install. Click Change, and then select software.

SUSE 12

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.

SUSE 13

Now you are installing OpenSUSE. It took me 30 minutes to install it in VMware Fusion.

SUSE 14

You can view the Installation Details and Release Notes.

SUSE 15

It will then reboot your computer.

SUSE 16

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.

SUSE 17

You can view all of your network settings there. You can also open the SSH port if you want SSH access to your server.

SUSE 18

You can now set up the network configuration. Set a static IP address for your NIC.

SUSE 19

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.

SUSE 20

If you are using a router, you can set the router’s address as the default gateway.

SUSE 21

Click VNC Remote Administration, then enable Remote Administration and open up the port in the firewall.

SUSE 22

It will now test for Internet access by downloading the latest release notes and check for the updates.

SUSE 23

Configure the Online updates and run online updates.

SUSE 24

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”

suse25.png

This is the OpenSUSE Splash Screen. Click on a link if you are interested.

suse26.png

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


17 Responses to “How to build the Ultimate Linux Home Server - Part 1”

  1. GreyGeek Says:

    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?

  2. ROC Says:

    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”!

  3. carolinason Says:

    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.

  4. r2khimself Says:

    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!

  5. How to build the Ultimate Linux Home Server - Part 1 : HowtoMatrix Says:

    [...] Read more at 32packets [...]

  6. Conner Says:

    @ 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%.

  7. JohnnyZ Says:

    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.

  8. How to build the Ultimate Linux Home Server - Part 2 - DHCP and DNS | 32packets Says:

    [...] If you missed the first part, Installing OpenSUSE, here is Part 1 [...]

  9. Nico Says:

    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.

  10. Trevor Turton Says:

    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.

  11. Shawn Molnar Says:

    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 :-P

  12. chris Says:

    Why get rid of Multimedia if your going to share media?

  13. Shawn Molnar Says:

    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.

  14. How to build the Ultimate Linux Home Server - Part 4 - UPNP Media Streaming | 32packets Says:

    [...] 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 [...]

  15. How to build the Ultimate Linux Home Server - Part 5 - Installing a Web Administration tool | 32packets Says:

    [...] 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 [...]

  16. How to build the Ultimate Linux Home Server - Part 3 - Adding Users, Configuring SMB | 32packets Says:

    [...] 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 [...]

  17. File Server - Page 2 - HardwareLogic Says:

    [...] 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 [...]

Leave a Reply