Gnump3d MP3 Server
This installation will cover how to install the Gnump3d mp3/ogg server in both Ubuntu and Open Suse.
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 openSuse 10.3 and Ubuntu 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.
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
On Suse: zypper install apache2
On Ubuntu: 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
On Suse: zypper install gnump3d
On Ubuntu: sudo apt-get install gnump3dand openSuse 10.3/Ubuntu will do the rest. If you dislike the command line interface, you may choose Synaptic or Yast 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.
$ cp gnump3d.conf gnump3d.conf_original
$ 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.
as root or superuser: $ /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.







