Installing and Configuring GNUMP3d, The Streaming MP3/OGG Server

February 14, 2008 at 2:02 pm | Posted in Uncategorized | Leave a comment

Sharing something with friends or anyone through network (LAN or WAN) is really a great thing. And one of the best thing to share is music. Yeah, if you have a great collection of digital music stored in your hard disk, it’s time to share it with another people. Never say that you don’t have any idea how to share your music no.. no.. no.., wake up! Remember that we live in the world of free and open source software, we have many choices and the most important it’s free. What? You’re still using that fool proprietary thing, oh.. come on.

First Thing First

Although there are many choices out there, we’ll try to install and configure GNUMP3d. You may ask, why? I’ve tried it, and I thought it’s nice, cool, great, secure, easy to use, free, and it’s included in Ubuntu 7.10 repositories, that’s why I want to share my experience while installing, configuring, and using it. You won’t believe if you don’t try it.

For your information, I run GNUMP3d on Ubuntu 7.10 and Apache2 web server. First of all, you have to make sure that Apache web server has been installed on your system, if it has not it’s time to

$ sudo apt-get install apache2

Easy, right? Now let’s move on.

Installing GNUMP3d

All you have to do is just to open a terminal emulator (xterm, gnome-terminal, konsole, etc) and issue this command

$ sudo apt-get install gnump3d

and Ubuntu will do the rest. If you dislike the command line interface, you may choose Synaptic with a nice GUI.

Configuring GNUMP3d

The configuration of this streaming mp3/ogg server is stored in /etc/gnump3d, so let’s go there

$ cd /etc/gnump3d

you’ll see three files here, for now just pay attention to the main configuration file, gnump3d.conf. We need to edit this file, but don’t forget to back it up first.

$ sudo cp gnump3d.conf gnump3d.conf_original
$ sudo vim /etc/gnump3d/gnump3d.conf

The first thing you need to change is the root directory of this server, find this line

root = /var/music

change the value to the directory where you stored your music,

root = /media/multimedia/musik

Then, you need to change the user who runs this server, find this line

user = gnump3d

change the value, the result will be like this

user = root

There are many settings you may change in this file, just read the explanation there to understand it. For more information see the manual page of gnump3d.conf. Now, save your configuration and restart the server.

$ sudo /etc/init.d/gnump3d restart

Trying The Server

Everything is ready, now it’s time to try your new streaming mp3/ogg server. Open your favorite web browser (e.g Mozilla Firefox, Opera, Konqueror, etc) and type http://localhost:8888, then hit enter. If everything goes well you’ll the main page of your server ready to serve your network.

Okay, that’s all for today. Please do not hesitate to correct me if something’s wrong, either the grammar (I’m learning English, still not good yet) or anything else.

http://rotyyu.wordpress.com/2008/02/13/installing-and-configuring-gnump3d-the-streaming-mp3ogg-server/

About these ads

Leave a Comment »

RSS feed for comments on this post. TrackBack URI

Leave a Reply

Please log in using one of these methods to post your comment:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s

Create a free website or blog at WordPress.com. | The Pool Theme.
Entries and comments feeds.

Follow

Get every new post delivered to your Inbox.

%d bloggers like this: