How to setup gnump3d for a streaming media server : Ubuntu (5.10 / 6.06.1 / 6.10)

By | 2006/12/28

One of the first things I setup long ago when I first switched to Ubuntu was a streaming media server. I decided early on to just dive in and see what I could (and couldn’t) do. I had an extra machine lying around so I thought I would give it a try and setup gnump3d.

At this point (years later) I have a dedicated media server running on my fiber connection to offer me access to my music collection from any available internet connection! It’s beautiful! All you’ll need to set this up is an Ubuntu machine (desktop, server, laptop–anything you can store media on) and an internet connection. It can also simply be used on a local network to share music with other users or between computers in your network or home.

sudo aptitude install gnump3d

(as always you can also install that from Synaptic Package manager or Adept).

After this is installed you might want to change a few settings (although it will work just “out-of-the-box” as well).

http://localhost:8888 (access to the media is web-based. this should work if you've just installed it on your local machine)

I changed a few settings to customize things to my use and you might want to do the same. Basically we’re just going to make sure that it knows where to find the media files and what port you’d prefer to use.

sudo gedit /etc/gnump3d/gnump3d.conf

Find the line that says:

root = /var/music

and update it to the location of your media. (ie; in my situation I store the music in /media/music)

You might also want to find the line:

port = 8888

and update it to the preferred port. You most likely do not need to change this. It’s personal preference for your network and settings.

A couple of other things you might want to setup. Gnump3d offers a list of themes for the interface. The default is ok, but I prefer another that ships with it. If you’d like to change the theme you can select the “Preferences” option in the menu system and try a few out. If you’d like to use the theme that I prefer you’d want to change the default by editing the line:

theme = Tabular

to:

theme = BlueBox

Ooh, and one more tip that you might be interested in. It is very easy to setup user access to your new media server. If you don’t want someone to have access to your music simple don’t give them a login username and password. To create a list of usernames and passwords for your server simple use the following. (If you do not set any users or passwords anyone will have access):

sudo gedit .password (this file should be located in the root folder of your media. ie; My path is /media/music/.password)

create a username and password pair using the syntax:

username:password (ie; joe:secret, or johnq:denzel)

Each new user and password should be listed on a new line. Enjoy your new musical goodness. Share the love around the network, around the office or around the world!

(I originally found these instructions as part of the Ubuntu Guide. You’ve got to give credit where credit is due.)

13 thoughts on “How to setup gnump3d for a streaming media server : Ubuntu (5.10 / 6.06.1 / 6.10)

  1. Byron Clark

    Thanks for pointing out a great application. I just set gnump3d up on my nslu2 running openslug and it works great. Sweet application.

  2. Ubuntu Tutorials

    Byron – glad you enjoy it. It is one of my favorite projects! It is nice to have access to my music collection from the office 🙂

  3. NiKo

    To apply changes, don’t forget to restart the server daemon :

    $ sudo /etc/init.d/gnump3d restart

    Thanks for the howto anyway, it’s a great program 🙂

  4. bobby

    Hey I just thought i’d say Kplaylist waxes the floor with this software. It is an amazing setup for streaming your music you should check it out.

  5. Pingback: » Backing Up System To Multiple DVDs : Ubuntu Ubuntu Tutorials : Breezy - Dapper - Edgy - Feisty

  6. bknec

    What if I have two locations for my music, like:

    /media/musicfolder1/mp3
    and
    /media/musicfolder2/mp4 or something… anyone know if gnump3d can handle that?

  7. Ubuntu Tutorials

    It may work with a symbolic link. I haven’t tried but its worth a shot.

    Perhaps use something like:
    ln -s /media/musicfolder1/mp4 /media/musicfolder2/

  8. Flatlinebb

    Creating a symbolic link seems to work just fine. I was able to create a link to a share on my Windows server mounted to /mnt/music inside the ‘root’ folder.

    Just expect to wait a long time while new files get indexed, after running:

    $ sudo /etc/init.d/gnump3d restart

  9. Kariuki Kabue

    What if i want to share movies or DVD files within my local area network and other forms of video files, how would i go about it? For music files it is working ok!, but for dvd movies, it is tricky. I have an Ubuntu Server 7.04, and a combination of both windows and linux clients, and for linux, am using 7.04, but am planning to upgrade the clients to Ubuntu 7.10. Please help coz am trying all tricks, and they seem not to work.

  10. myname

    no package found in Intrepid Ibex. i have installed before on earlier versions. it is awesome if it has a package.

Comments are closed.