Streaming Media Server in Ubuntu GNU/Linux Using Gnump3d
Posted by admin on April 11th, 2007
Email This Post
If you have a large music collection then streaming it across a LAN, or the internet, is a logical thing to do with it.Now we will have a look at gnump3d.
Gnump3d features
- Small, stable, portable, self-contained, and secure.
- Simple to install, configure, and use.
- Portable across different varieties of Unix, the GNU Operating System, and Microsoft Windows platforms.
Install Gnump3d in Ubuntu
sudo apt-get install gnump3d
This will install all the required packages for gnump3d
When the software is installed it will have the following options configured
The directory containing all your media, /var/music by default.
The port number the server should listen upon, 8888 by default.
The user the daemon should run as, gnump3d by default.
Now you need to access go to http://youripaddress:8888 you should see similar to the following screen

To change the theme you wish to use simply click upon the “Preferences” link and you should see the following screen here you can change theme

Default Configuration file located at /etc/gnump3d/gnump3d.conf you can change this for your needs most common things users change is The default theme,The security options,The downsampling support.
Change the default directory containing multimedia files for GNUMP3d
By default multimedia files location is /var/music.If you want to change this to /home/music using the following steps
Backup existing config file
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup
Edit the configfile
gksudo gedit /etc/gnump3d/gnump3d.conf
Search for the following line
root = /var/music
Replace with the following line
root = /home/music
Find this line
user = gnump3d
Replace with the following line
user = root
Save and exit file
Restart gnump3d service using the following command
sudo /etc/init.d/gnump3d restart
Change the default port number for GNUMP3d
By Default gnump3d server port will listen port number 8888.If you want to change to 7878 use the following steps
Backup existing config file
sudo cp /etc/gnump3d/gnump3d.conf /etc/gnump3d/gnump3d.conf_backup
Edit the configfile
gksudo gedit /etc/gnump3d/gnump3d.conf
Find this line
port = 8888
Replace with the following line
port = 7878
Save and exit the edited file
Restart gnump3d service using the following command
sudo /etc/init.d/gnump3d restart
Now you can access at http://youripaddress:7878
Adding files to gnump3d
Now, you’ll probably want to add some files to gnump3d. The default directory is /var/music.
There are many different ways to copy files into your server from another Ubuntu machine,More secure way is using openssh. On the Ubuntu box that you want to copy the files from, open a terminal and type
sudo apt-get install openssh
Assuming that the path of a folder to copy is /home/username/music and the local IP of the remote Ubuntu computer is xxx.xxx.x.xxx, and the directory where the copied files will go is /var/music, go you your server and type
cd /var/music sudo su scp -r username@xxx.xxx.x.xxx:/home/username/music
Once you copied some files you should see similar to the following screen

If you want to be notified the next time we write something please subscribe to our RSS feed.Thanks for Visiting!


July 9th, 2007 at 11:26 pm
I really like Gnump3D, but, is there any possible way to configure it to pick up multiple directories containing media, or even samba shares? I don’t like putting all my eggs in one basket.
September 5th, 2007 at 2:06 pm
How can I redirect through port 80 using mod_proxy in apache?
February 2nd, 2008 at 12:47 am
In response to Shawn, yes there is:
in your music directory (I’m assuming /var/music) you can create symbolic links to the folders where the music is.
So, in my case, if I want to add my music to the gnump3d directory, I do this:
cd /var/music
ln -s /home/carson/Music carson
which makes a link to my music folder inside the /var/music folder, called “carson”
This doesn’t duplicate files, only *links* to the same files found in my directory.