Streaming Media Server in Ubuntu GNU/Linux Using Gnump3d
Sponsored Link
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 [email protected]:/home/username/music
Once you copied some files you should see similar to the following screen
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.
How can I redirect through port 80 using mod_proxy in apache?
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.
other people can edit my preferences… im using this to access mymusic via internet. howdo i change that?
Steffa, this page may help:
http://www.gnu.org/software/gnump3d/securing.html#Securing-IP
Has anyone figured out how to use gnump3d with secure http connections (https)?
Is anyone else having problems using the symbolic links to view video files? All my music works, but the symbolic links to my Movie and TV Show folders do not show up.
thanks. works great 🙂
Hi,
Can anyone help me out here? “sudo apt-get install gnump3d” gets me a terminal response saying it cannot find the application, and when I downloaded it an ran make install it said it “Cannot find directory //etc/gnump. Aborting”
Any suggestions?
Thanks,
Dan
Try downloading the deb package. I’m not sure there is any more work being done on gnump3d. I keep a back up of 3.02 so that I can always have gnump3d.
Ok, Thanks!
How do you set it up so that you can use a microphone for streaming “voice” rather than music files that have been saved?
Thank you.
How I can change, the initial page (index) to Search page in Gnump3d?????