Build an OS X Friendly Linux Media Server From Your Old PC
|
Welcome to the wonderful word of Apple. Your new Mac comes chock filled with a variety of intriguing software and helpful, built-in utilities, and we're sure that you'll enjoy your new machine for years to come. However, you may be wondering what in the heck to do with your old PC. Surely, that Windows machine gave you some good years, before it became plagued with menacing viruses and fattening bloatware. So, why not give it a new lease on life by reconfiguring your old PC to serve as a Linux media server for your Mac? It's the perfect trade-off and will ensure that no old computers rise up out of the ashes with revenge on the mind.
Before we get started, we'd like to caution that you'll probably need to upgrade the hard drive in your PC to correspond with the amount of media that you have. If you plan on using the heck out of this media service, we recommend you procure a gigabit ethernet networking card and a lightening fast router in order to maximize speed. In any case, most current rigs should work fine. We used an Intel Celeron 1.2GHz processor with 384MB of RAM.
Difficulty Level
Hard
What You Need
> Crunchbang Linux Standard Edition (www.crunchbanglinux.org)
> A Blank CD
> InfraRecorder (Windows only -- infrarecorder.org)
> PulpTunes (www.pulptunes.com)
> A PC that is connected to the Internet at all times
> One (or more) Macs
1) Partition + Install Linux
The first thing you need to decide is whether to delete Windows entirely or keep your PC as a dualboot machine. There is a certain euphoria attached to the act of deleting Windows, but we can understand if you want to keep it in case something goes awry.
However, server software performs best when the operating system uses a minimal amount of system resources, so we will be using a pared down version of Linux for this tutorial. We recommend Crunchbang Linux, a variant of Ubuntu that uses the lightweight OpenBox window manager, or Puppy Linux. Though this guide will use Crunchbang, the same steps will work for both. Once you have downloaded either ISO, use a program like InfraRecorder on Windows or Disk Utility on OS X to burn that image to CD.
If you happen to be using an older Mac for this project, check out our guide to installing Linux on it. All of the subsequent steps will remain the same.
On a PC, boot from the CD. To do this, you will need to press one of the F keys during startup, depending on your computer's model. Usually, this will be F12.
Once you reach the Crunchbang installer, either choose to install it side by side with Windows, and move the slider to give Crunchbang the majority of space, or select "use entire hard drive" to delete Windows completely. Proceed with the default install options.
Crunchbang In Action
2) Update Linux
Once you have installed Linux, it is time to boot into it and configure it. In the install process, you would have installed the GRUB boot menu, so when you start up your computer, you should be able to select which operating system to launch. Choose Crunchbang and log in.
The first thing you need to do is make sure your system is updated and running properly. Instead of using a menubar, every function in Crunchbang is accessible via the right click menu. With this in mind, right click and select System > System Upgrade. This will update your operating system with the latest software and patches. The Terminal window will close when finished updating the OS.

Next, make sure your repositories are up to date. Open Terminal (right click > Terminal), and type
sudo aptitude update
Every time you run a sudo command, it will ask you for your sudo password. This is the same, by default, as the password of the first account you set up.
Now, you are ready to start installing server software.
3) Configure SSH
Since this is a server, you don't want it to be plugged in to a monitor, keyboard, and mouse at all times. The best way to control it remotely is via SSH, which essentially lets you run terminal commands remotely. In Crunchbang, unlike other distros, SSH is not included by default, so we will have to install it manually.

Open Terminal and type in
sudo apt-get install ssh
It will ask you if you want to proceed. Type 'y'.
Now you need to test the SSH connection. First, take note of your IP address. To do this, go to Terminal and type
ifconfig
You will see a long string of text, but the important thing to note is what comes after "inet addr:" This is your server's IP address.

Now, go to your Mac and open up its Terminal (Applications > Utilities > Terminal). Type:
ssh {your username on linux}@{the ip address of your linux server}
It should ask you to add the RSA key to a list of trusted ones. Type 'yes.'
Now, you should be able to run commands as if you were typing them into the Linux computer directly. You can test this by running sudo aptitude update -- this will only work if your ssh connection works.
If you're so inclined. you can now use SSH for the remainder of the steps.
Next: Install AFP and an iTunes server
flyn
November 28, 2010 at 5:30pm
Dmapd, available at http://www.flyn.org/projects/dmapd/, is an alternative implementation of a DAAP server. Because dmapd supports DPAP in addition to DAAP, you can use dmapd to provide music to iTunes and pictures to iPhoto.
alimc
April 23, 2010 at 6:50am
Very well detailed article - reminds me of school days...but better.Ali<a href="http://www.articlesbase.com/womens-health-articles/home-remedies-for-yeast-infections-itching-and-vaginal-discharge-1550216.html"> home remedies for yeast infections </a>|http://www.articlesbase.com/advertising-articles/home-remedies-for-yeast-infections-itching-and-vaginal-discharge-1550216.html
marcellstraws
April 06, 2010 at 9:09am
this is great stuff ill be up all night working on this will be my new personel project
guess my other project building a site around the are you tired of all the long days of ringing in the ears tinnitus miracle site will have to be put on standstill
thomas131
April 05, 2010 at 10:36pm
Here you have shared good and helpful information. I like to read it.
===================
Home Theater Furniture | Theater Seating
bestseo2010
April 03, 2010 at 2:31am
Useful information for me as i am looking for something nice Home Theater seating and Home theater chairs
sirmac22
March 25, 2010 at 8:35am
We have good news and bad news. The bad news is we believe you have a new disease and we do not know how to cure it. The good news is we are naming the disease after you!" Okay, back to mammograms. When it came to mammaries, my first wife was very well endowed. e lottery
sirmac22
March 18, 2010 at 4:44pm
If the involvement of Linux then no doubt i can say more powerful and reliable.How to Lose Weight Fast
sirmac22
March 14, 2010 at 5:18am
Yes no doubt Yes I have two Dell clunkers in the garage I could try this with. I'm just true wondering about that PC fan noise that I hate more online printing
BGN
April 18, 2010 at 11:37am
You obviously put a lot of work into that post and its very interesting to see the thought process that you went through to come up with those conclusion. Thanks for sharing your deep thoughts. I must admit that I think you nailed it on this one.
By seo service
paulgardner@rog...
March 06, 2010 at 4:27pm
My Mac laptop will not allow me to connect to the new media server on my network. I can access the IP address via firefly and everything looks right....but i cant get to the actual media server...it see's it in finder but it tells me the following:
The server “MediaServer1” may not exist or it is unavailable at this time. Check the server name or IP address, check your network connection, and then try again.
Oh yeah...i can connect via Terminal with the same IP address..no problem.
Any ideas????
Sky
February 22, 2010 at 4:32pm
It is a great post, giving a lot of helpful informationa bout making the PC media server.
You definitely have put a lot of work into this. It is great, well writen and giving great instructions.
Thanks for sharing it online. It is fabulous.BGN Entrepreneur
icenyne
February 20, 2010 at 6:37pm
I did everything according to directions but my iMac will not recognize the IP when I try to connect to server > afp://myiphere
It's too bad the only comments here are spam...I'd really like to turn my old PC into a linux server.
darkvince
February 08, 2010 at 6:04am
The Firefly Media Server (formerly mt-daap) is a fast DAAP server that is simple to install and even easier to configure. Firefly resides on a single Linux machine that doesn’t have to be a powerhouse. In fact, you can install this lightweight server on Ubuntu Server and you’re almost ready to go.
Driver Detective
grahamg
December 13, 2009 at 3:23pm
I went through the whole process until I got to the point where I should install Firefly...the website is unavailable. Any suggestions?
pjrobar
December 11, 2009 at 5:23am
Netatalk is software that allows you to broadcast using the Apple File Protocol, or AFP. Think of it as a Linux version of Bonjour.
Acutally, Netatalk is an implementation of Apple's AppleTalk Protocol Suite. A part of which is the Apple File Protocol or AFP. AFP is a way to share files over a network similarly to Sun's NFS and Microsoft's SMB (Samba on Linux and many other platforms.)
Avahi is an open source version of Zeroconf, the same spec. that Apple's Bonjour implements.
Also the Firefly/PulpTunes combo only streams audio files. If you want to stream video you'll have to look into other UPnP/DLNA options.
A much easier way to get all of this functionality and more with a nice GUI interface would be to install FreeNAS on your old PC.
ronhing
December 11, 2009 at 2:10am
Hmm, I have three Dell clunkers in the garage I could try this with. I'm just wondering about that PC fan noise that I hate.
iHing @ iCrazee - Experience the Personal Madness of Owning an Apple Mac
unrealfan89
December 11, 2009 at 12:02am
Will this also let me share onto a Windows pc too?
I have both in the house and want to make sure I can use it for both.
Log in to Mac|Life directly or log in using Facebook
Forgot your username or password?
Click here for help.







Page rank5









