Quantcast

Arvind Srinivasan

 


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

 

COMMENTS
avatar

Will this also let me share

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.

Login or register to post comments
avatar

Clunkers in the Garage

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

Login or register to post comments
avatar

Corrections...

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.

Login or register to post comments
avatar

What's up with Firefly?

I went through the whole process until I got to the point where I should install Firefly...the website is unavailable. Any suggestions?

Login or register to post comments
avatar

The Firefly Media Server

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

Login or register to post comments
avatar

Linux media

Nice share. Will give it a try.

Deep Link Directory

Login or register to post comments
avatar

Connect to Server > afp

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.

Login or register to post comments
avatar

Nice post

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

Login or register to post comments
avatar

Mac finder will not recognize New Linux media server

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????

Login or register to post comments
avatar

Nice writing, thanks for sharing

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

Login or register to post comments
avatar

Yes I have two

 Page rank5 Yes I have two Dell clunkers in the garage 

Login or register to post comments
avatar

Yes no doubt Yes I have two

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

Login or register to post comments
avatar

 Page rank5If the

 Page rank5 Page rank5 If the involvement of Linux then no doubt.

Login or register to post comments
avatar

If the involvement of Linux

If the involvement of Linux then no doubt i can say more powerful and reliable.How to Lose Weight Fast

Login or register to post comments
avatar

We have good news and bad

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

Login or register to post comments
avatar

Your article is very

Your article is very awesome. Do you know something new about NFL Jerseys? Our Chaussure de Sport is a good store provide you high quality Nike shoes. ed hardy clothing is also very popular in recent years, Chaussures Sports will lead you a fashion life. Nike shoes like nike tn,tn requin,Tn Requin and Air Shoes are very popular among young fashion girls and boys. mobile phone are also very cheap but functional. We also provide you top quality Tennis Racquet Shop,Cheap Nike Shoes, cheap nike shox,ed hardy, Nike Chaussures ,cheap polo shirts,Polo Shirts at a reasonable prices and awesome services.

Login or register to post comments
avatar

Re

Useful information for me as i am looking for something nice Home Theater seating and Home theater chairs

Login or register to post comments
avatar

theater seating

Here you have shared good and helpful information. I like to read it.

===================
Home Theater Furniture | Theater Seating

Login or register to post comments
avatar

China online shop

China Online Shop
Buy Wholesale Products
China Distributor
Electronic Components
Solar Gadgets
USB Gadgets
Buy Ipod
Buy Toys
Naughty Toys
Face Makeup
Eye Makeup
Jewelry Shop
Home Decor Shop
Kitchen Gadgets
Buy Shells
Lifestyle Gadgets
Scarves Shop

Login or register to post comments
avatar

finally

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

Login or register to post comments
avatar

tn requin

Tn Requin Shoes- Maintenance

Tn Requin is nike air max Series A, is one of the sub-family of brands, like nike 97, nike max 09, like the classic, but even the best shoes also need to pay attention to maintenance.

Shoes immediately after being soaked treatment methods
a. first, water thoroughly with a dry cloth to clean and suction.
b. with a dry cloth or paper into the shoes and stability shoes.
c. Department placed on the natural flow of dry air
d. Do not use hot air or dry hair with a hair dryer to force dry the shoes.

The following materials according to different shoes give some suggestions:
If it is natural leather shoes and is a leather slip surface:
a. with a clean soft cloth (preferably white cloth) dipped a small amount of cleaning agents on the light in the upper edge rubbed to remove dirt.
b. Using another clean soft cloth to the right amount of care cream evenly on the upper (only thinly coated, avoid too much weight or too much ointment can order cloth will go), then skin surface polish.
c. such as the surface area of oil contaminated sewage can be integrated part of the first wet, then Napkins economy and soft brush to remove polluted plot.

Welcome to care for our WEB: http://www.tn-requin-chaussures.com

Tn Requin
Air Max Tn
Chaussures Tn
Nike Tn Sports
Tn Basket
Nike Sports
Nike Shox R4
Nike Blazer
Nike Blazer High
Nike Blazer Low
Puma Ferrari
Puma Chaussures
Chaussures tn
Chaussures femmes
Chaussures hommes
Puma Future Cat
Puma Sports
Nike Puma quality
Cheap Sports
Nike Men
Nike Women
Sports Outlets
Sports Sales
polo shirts
china wholesale
ed hardy clothing

Login or register to post comments
avatar

chanel watches

tag watches
tag heuer watches
tag huer
replica tag heuer
tag heuer watch
rolex submariner
replica rolex submariner watches
rolex daytona
rolex datejust
rolex daydate

breitling watches
breitling replica
breitling watch
replica breitling
fake breitling
breitling tourbillion watches
chanel watches
chanel ladies watches
fake chanel watches
chanel watch
chanel replica watch
chanel j12 watch
replica lange sohne watches
lange sohne watches fake
a lange sohne watches
iwc swiss watches
iwc portuguese watch

vintage iwc watches
cartier watches
cartier watch
replica cartier watches
chopard watches
replica chopard watches
chopard watch
omega watches
omega moon watch
vintage omega watches
fake omega watches
replica omega watches
omega watches
omega moon watch
cheap fake rolex
rolex yacht master
tag heuer replica watches
Rolex Thunderbirdreplica

Login or register to post comments
avatar

re:

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

Login or register to post comments