Cheap and NASty - How to Build an Open Source FreeNAS Server
Don't want to pay for Windows Home Server? We show you how FreeNAS lets you create a server for storing, sharing, and streaming all your digital content—for free!
Back in the day, the average nerd household had one or two computers, a printer, and a game console. If you were lucky, you had an Internet connection on one of those computers—forget about the printer; forget about the console. And forget about home networking. But now, the average geek household has a multitude of machines: desktop computers, laptops, netbooks, Wi-Fi-enabled smartphones, and networked game consoles—not to mention terabytes of ripped movies, music, and photos. Wouldn’t it be nice to have a central location where all of those files lived that was accessible to all your computing devices? A place where you could back up all of your computers, host your media files for streaming to your console or other computers, and use as a file share for your whole network? Yes. Yes, it would.
A few months ago, we showed you how to set up a Windows Home Server to enable such a scenario. But a Windows Home Server license costs 100 bucks, and doesn’t necessarily play well with non-Windows machines. FreeNAS, on the other hand, is a free, open-source FreeBSD derivative, and though it can be a little more complex under the hood, it’s as powerful as Windows Home Server and runs well on salvaged hardware. And FreeNAS plays well with Windows, Apple, and *nix systems.
We’ll show you what hardware you’ll need for a FreeNAS server, how to install and configure your server, and then help you choose between FreeNAS and WHS.
Free to Be FreeNAS
Five ways the no-cost server software can benefit your home network
1. Storage
Let’s face it: A family’s worth of home movies, music collections, photos, school assignments, and ripped DVDs takes up a lot of room. Rather than keeping all that content scattered among four computers and six external hard drives, centralize! Use FreeNAS as a central repository for your family’s media, so everyone can access it.
2. Media Server
A FreeNAS server isn’t just a place to store your media—it’s also a fully featured media streaming machine in its own right. The built-in Firefly media streamer creates a library in iTunes that anyone on the network can access. And with FUPPES, the open-source UPnP server, you can transcode and stream movies to your networked computers, HTPC, Xbox 360, PlayStation 3, or any other UPnP or DLNA-enabled media player. It also streams photos and music!
3. BitTorrent Downloading Machine
Rather than wasting your personal machine’s processor cycles and bandwidth, use your FreeNAS server to automatically download and seed .torrent files. We’ll show you how to set a watch folder so that your NAS will immediately download any torrent it finds there.
4. Web Server
FreeNAS is configured through a web GUI, which means FreeNAS has a built-in web server. You can use FreeNAS to host your own websites—and even access them from outside your home network!
5. Backup Server
Back up all your computers to your NAS box—whether you’re an advanced Unix user and back up using FreeNAS’s built-in rsync support, or you merely point your backup software toward your FreeNAS user folder, a FreeNAS server is a great centralized location for data archives.
Hardware Requirements
One of the biggest advantages of FreeNAS is that it will run on virtually any hardware, so you have the potential to build a new file server without laying out any cash. At the bare minimum, FreeNAS requires just 128MB of RAM, an x86- or AMD64-compatible CPU, a bootable CD-ROM drive, and at least one bootable hard drive. So if you have a computer built within the past 10 years, it probably qualifies, though you might want to add a SATA controller.
If you’re buying new hardware, aim for a low-voltage processor (less than 50W), and the more RAM the better. Integrated graphics are fine, and you’ll only need a mouse, keyboard, and monitor for the initial setup.
The Parts List
Case: Antec 200
$49, www.antec.com
Motherboard: Asus M4A78 Pro
$110, www.asus.com
Processor: AMD Athlon X2 240
$55, www.amd.com
RAM: 2GB Corsair DDR2
$40, www.corsair.com
Storage: (2) 2TB Western Digital Caviar Green
$280, www.wdc.com
Power Supply: Rosewill RP550-2
$55, www.rosewill.com
We used the same hardware as for our Windows Home Server build. Briefly, that’s an Asus M4A78 Pro motherboard, AMD Athlon X2 240 CPU, 2GB Corsair DDR2 RAM, two 2TB Western Digital Caviar Green drives, and a Rosewill 550W PSU. We installed the OS with a USB CD-ROM drive we had lying around, since we’re not going to need an optical drive on the server once it’s built. To ensure compatibility with FreeNAS, you should check your hardware against the FreeBSD hardware compatibility list.