If you are new to Unixmen, you may want to subscribe : ![]()
![]()
![]()
![]()
|
07 October 2009
Posted in
Linux tutorials -
Linux tutorials
If you want to share your music with your family , freinds or neighbours .. then GNUMP3d can do this job for you with one click. GNUMP3d is a streaming server for MP3s/, OGG vorbis files, movies and other media formats.
In this tutorial we will try to setup a GNUMP3d server for mp3/media streaming.
1- Installation :
First download the latest version of GNUMP3d
Then extract and install the file :
tar -xzvf gnump3d-x-x.tar.gz
Change to gnup3d directory
cd gnump3d-3.0
To install is easy just one coomand will do the job : make install
sudo make install
2- Configure :
Before running the server we will configure it first. The configuration file is in /etc/gnump3d/gnump3d.conf. There are just two things that you have to edit to make the server just running, they are:
- Port, used to decide on what port the server will be listening. The default value is 8888, you might want to change it.
- root, used to tell gnump3d where the files that you want to share are located.
gedit /etc/gnump3d/gnump3d.conf
You can read more about configuration here.
# Port to which gnump3d will be accessible via web interface or via a media player like xmms or winamp.port = 8888
.
.
.
# The directory where are your music files resides.root = /media2/music/
3- Indexing :
Now you need to index all you music collection
gnump3d-index --verbose
By default gnump3d runs in foreground. If you want it to go in background and run quietly, run it as follows.
4- gnumpsd Run
Now run gnump3d using this command :
gnump3d --fast
Output :

By default gnump3d runs in foreground. If you want it to go in background and run quietly, run it as follows.
gnump3d --fast --background
if you want to make gnump3d run at start up, open /etc/rc.local
gedit /etc/rc.local
and add this line :
gnump3d --fast --background
5- Statistics
If you want to know the statistics of how large your collection is, you can use gnump3d-index with the –stats argument.
gnump3d-index --stats
6- Aaccess your gnump3d media server,
Open your browser and type :
http://ip :port/
If you are here for the first time, you may want to subscribe to our rss feed or to follow us on Twitter. Thanks for visiting.
Related Articles By Tags:
Links :

