Home Server on a budget

October 12, 2008, 07:59 AM — 

There are solid reasons for having your own file server at home or home office and Microsoft has made a pitch for this market with their Home Server. I'm frequently called on to rebuild clients Windows computers that have become ruined by spyware and I don't want to transfer their infected, spyware ridden files on to my own Windows desktop. I need a DMZ where I can put these infected files while I rebuild the Windows computer. I use Linux and Samba. It is a reasonable way to make your own home server. If you're not familiar with Samba I recommend that you read more about it here at http://www.samba.org. Basically for the unfamiliar Samba is an open source implementation of SMB/CIFS and provides various file and print services for Windows clients. It can run on Linux, Unix, AIX, BSD and Apple's Mac OS X Server.

As you may already know Linux is not affected in the same way by viruses and other malware as Microsoft products. Therefore it makes a great candidate for a file server in your home. Better yet, because of TCP/IP and Samba it can be a file server for both your Windows machines and a Macintosh if you have one on your home network. Microsoft's Home Server costs about $130-$170 to purchase and both Linux and Samba are free. Configuring Samba for your own network can be easy if you know what you're doing. If you don't it can easily turn into a nightmare. You really don't need a very powerful computer for your home server. An old Pentium II or Pentium III will work, but a newer Pentium 4 would be great too. In such a small server an IDE drive can function quite well, but the newer SATA drives will definitely speed up your access. Memory is important by can be very modest by today's standards. Two-hundred-fifty-six megabytes might be enough for a smaller network. You don't even need a GUI to have Samba function properly.

Depending on the distribution of Linux you are running you will need to download and install Samba if it is not already running. If you want each user to have their own directory then you will need to setup users on the Linux Samba box. Those user names must mirror the Windows users. So if you have Joe on Windows you must have Joe on the Linux side of the equation too and Joe's password must be the same too.

A very simple Samba configuration file would look like this.

[global]

workgroup=workgroup
server string = %h server (Home Server)
security=share

[storage]
comment = Home Folder
path = /home/don/Documents
read only = No
guest ok = Yes

Remember you can change the workgroup to whatever your workgroup name is. Perhaps the best way to implement this is to backup your original Samba configuration

I like it!
Post a comment
The content of this field is kept private and will not be shown publicly.
  • Allowed HTML tags: <a> <em> <strong> <cite> <code> <ul> <ol> <li> <dl> <dt> <dd>
  • Lines and paragraphs break automatically.
Free books

Build your tech library with our book giveaways.

Windows PowerShell 2.0 Unleashed
By Tyson Kopczynski, Pete Handley, Marco Shaw; Published by Sams

Windows PowerShell Unleashed will not only give you deep mastery over PowerShell but also a greater understanding of the features being introduced in PowerShell 2.0–and show you how to use it to solve your challenges in your production environment. Enter now!

 

Ubuntu Server Administration
By Michael Jang; Published by McGraw-Hill Osborne Media

Realize a dynamic, stable, and secure Ubuntu Server environment with expert guidance, tips, and techniques from a Linux professional. Ubuntu Server Administration covers every facet of system management -- from users and file systems to performance tuning and troubleshooting. Enter now!

Featured Sponsor

AISO founders envisioned a Web hosting company that was environmentally friendly. While the company employed energy-efficient innovations like solar panels, its infrastructure produced unacceptable power and cooling requirements. Find out how AISO leveraged AMD technology to overcome their challenge in this case study white paper.

In this whitepaper, Scalar explores the opportunity to change the landscape with respect to mission critical databases built around Oracle. Leveraging technologies such as Linux, high-end commodity processing power and Oracle RAC technology to architect, design, build and maintain database infrastructure that delivers maximum availability, reliability and performance at a fraction of traditional cost.

On a typical day, weather.com, the Web site for The Weather Channel in Atlanta, serves up between 15 million and 20 million page views. But in September 2004, when back-to-back hurricanes ransacked Florida, the peak traffic on one day more than tripled: over 70 million page views by more than 7 million unique visitors. Read the full success story now.

More Resources