Вы находитесь на странице: 1из 5

Create your own MP3/media streaming server with GNUMP3d

Written by M. Zinoune
Wednesday, 07 October 2009 01:00 - Last Updated Sunday, 14 March 2010 23:16

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

1/5
Create your own MP3/media streaming server with GNUMP3d

Written by M. Zinoune
Wednesday, 07 October 2009 01:00 - Last Updated Sunday, 14 March 2010 23:16

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.

2/5
Create your own MP3/media streaming server with GNUMP3d

Written by M. Zinoune
Wednesday, 07 October 2009 01:00 - Last Updated Sunday, 14 March 2010 23:16

4- gnumpsd Run

Now run gnump3d using this command :

gnump3d --fast

Output :

3/5
Create your own MP3/media streaming server with GNUMP3d

Written by M. Zinoune
Wednesday, 07 October 2009 01:00 - Last Updated Sunday, 14 March 2010 23:16

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 :

- http://www.gnu.org/software/gnump3d

4/5
Create your own MP3/media streaming server with GNUMP3d

Written by M. Zinoune
Wednesday, 07 October 2009 01:00 - Last Updated Sunday, 14 March 2010 23:16

- http://gofedora.com

5/5