Google Plus

Create your own MP3/media streaming server with GNUMP3d

Written by Mel Kham on . Posted in Linux tutorials

If you want to share your music with your family , freinds or neighbours .. then GNUMP3d can do this job for you with one click.  GNUMP3d is a streaming server for MP3s/, OGG vorbis files, movies and other media formats.

In this tutorial we will try to setup a GNUMP3d server for mp3/media streaming.

1- Installation :

First download the latest version of GNUMP3d

Then extract and install the file :

tar -xzvf  gnump3d-x-x.tar.gz 

Change to gnup3d directory

cd gnump3d-3.0

To install is easy just one coomand will do the job : make install

sudo make install

 

2- Configure :

Before running the server we will configure it first. The configuration file is in /etc/gnump3d/gnump3d.conf. There are just two things that you have to edit to make the server just running, they are:

  • Port, used to decide on what port the server will be listening. The default value is 8888, you might want to change it.
  • root, used to tell gnump3d where the files that you want to share are located.
gedit /etc/gnump3d/gnump3d.conf

You can read more about configuration here.

 

# Port to which gnump3d will be accessible via web interface or via a media player like xmms or winamp.port = 8888
.
.
.

# The directory where are your music files resides.
root = /media2/music/

 

3- Indexing :

Now you need to index all you music collection

gnump3d-index --verbose

By default gnump3d runs in foreground. If you want it to go in background and run quietly, run it as follows.

4- gnumpsd Run


Now run gnump3d using this command :

gnump3d --fast

Output :

By default gnump3d runs in foreground. If you want it to go in background and run quietly, run it as follows.

gnump3d --fast --background

if you want to make gnump3d run at start up, open /etc/rc.local

gedit /etc/rc.local

and add this line :

gnump3d --fast --background
 

5- Statistics

If you want to know the statistics of how large your collection is, you can use gnump3d-index with the –stats argument.

gnump3d-index --stats

6- Aaccess your gnump3d media server,

Open your browser and  type :

http://ip :port/

{loadposition user9}

Related Articles By Tags:

{loadposition user1}


Links :

For questions please refer to our Q/A forum at : http://ask.unixmen.com

Mel Kham

Founder of Unixmen, Living in Amsterdam. Am working in my free time to help people to understand the Opensource and to explain them in easy way how to make the fist steps to the the light. Working day and night with my Co-founder Zinovsky to keep this website live even with less resources.
  • http://goodfinance-blog.com CALDERONLoretta28

    Various people in the world receive the loan from various creditors, just because that’s simple and comfortable.

  • http://goodfinance-blog.com ElisabethNash19

    I had a desire to begin my business, however I didn’t earn enough of money to do that. Thank goodness my colleague said to use the home loans. Thus I received the small business loan and made real my old dream.

Like us on Facebook

This week Top Posts

Write for us

Recent Comments

Dominik Bauer

|

thx a lot!

Maximiliano Osorio

|

Osom. Thank you.

Sam

|

Thanks much. It worked like a charm.

HailsandNails

|

Actually, what I see too much of, and what Microsoft actually (sorta) did with Windows 8 is think forward. And let’s be brutally honest. Windows 8 is actually NOT as bad as people is making it out, they’re just freakishly afraid of change (which Linux users are as well, it seems)

SK

|

Yes i will. Keep visiting. Subscribe us to get daily updates. Thanks for the comment

 
IDG Tech Network
Copyright © 2008-2013 Unixmen.com .
Maintained by Anblik .