NSLU2-Linux
view · edit · print · history

Unslung.GettingGnump3dInstalled History

Hide minor edits - Show changes to markup

July 03, 2008, at 10:03 AM by Alex Ernon -- gnump3d on port 80
Changed lines 50-57 from:

Many thanks - Tim

to:

Many thanks - Tim

Running gnump3d on port 80 next to a web server

The gnump3d deamon is a server on itself, and thus uses its own network port to listen for incoming requests. Wouldn't it be interesting if you could access gnump3d on your local network or via the web without specifying a nasty port number? You can't have 2 server programs listening on the same port, but it is possible to set up the http server, e.g. lighttpd, as a proxy for gnump3d. The http server will then forward certain specific requests on port 80 to gnump3d on its nasty port number. For lighttpd, you need to enable the module mod_proxy to do this. Change the config file of lighttpd to forward e.g. requests to http://gnump3d.your.website.org to gnump3d. Don't forget to set the element hostname in gnump3d.conf: it must be an address that is forwarded to gnump3d by your web server, e.g. http://gnump3d.your.website.org.

July 03, 2008, at 09:47 AM by Alex Ernon -- Small fix in a path
Changed line 29 from:
  1. BINDIR = /bin
to:
  1. BINDIR = /opt/bin
June 09, 2008, at 09:44 PM by Alex Ernon --
Changed lines 41-45 from:
  1. Modify Makefile 5I know this isn't elegant) and remove all "${PREFIX}/"

Regards and good luck, Alex Ernon

to:
  1. Modify Makefile (I know this isn't elegant) and remove all "${PREFIX}/"

Regards and good luck, Alex Ernon

June 09, 2008, at 09:43 PM by Alex Ernon -- Signature
Changed lines 43-44 from:

Regards and good luck, Alex Ernon

to:

Regards and good luck, Alex Ernon

June 09, 2008, at 09:43 PM by Alex Ernon -- Small correction
Changed lines 41-42 from:
to:
  1. Modify Makefile 5I know this isn't elegant) and remove all "${PREFIX}/"
June 09, 2008, at 08:31 PM by Alex Ernon -- Additional info for GNUMP3d 3.0
Changed lines 20-21 from:

Cheers Jimbojazza

to:

Cheers Jimbojazza

Additional info

To install version 3.0 of GNUMP3d?, I did the following:

  1. Besides Perl, also install the package coreutils.
  2. Modify the Makefile of GNUMP3d?:
    1. CONFDIR = /opt/etc/gnump3d
    2. BINDIR = /bin
    3. TEMPDIR = /opt/share/gnump3d
    4. CONFDIR = /opt/etc/gnump3d
    5. CACHEDIR = /opt/var/cache/gnump3d
    6. SERVEDIR = /opt/var/cache/gnump3d/serving
    7. MANDIR = /opt/share/man/man1
    8. LOGDIR = /opt/var/log/gnump3d
  3. Modify the file bin/getlibdir in the GNUMP3d? directory:

replace the line my @dirs = grep( /^\/usr|^\/Library/, @INC ); with my @dirs = grep( /^\/opt|^\/Library/, @INC );

Regards and good luck, Alex Ernon

December 22, 2006, at 05:26 PM by Tim Walker -- Added startup script question
Added lines 21-26:

Server question

How would I set this up on Unslung so it starts up as a daemon when the slug boots? Presumably it would be like the other scripts in /opt/etc/init.d/ - called something like Sxxgnump3d (where 'xx' is a two-digit number - does this number mean anything, BTW?)?

Many thanks - Tim

February 03, 2006, at 05:10 PM by Phil Endecott -- What is Gnump3d?
Changed lines 3-4 from:
to:

GNUMP3d? is a streaming server for MP3s?, OGG vorbis files, movies and other media formats.

February 03, 2006, at 01:31 PM by Jingojazza --
Added line 3:
Added line 16:
Changed line 19 from:

Cheers Jimbojazza

to:

Cheers Jimbojazza

February 03, 2006, at 01:28 PM by Jingojazza --
Added lines 1-17:

Installing Gnump3d Guide

  1. Install Perl first see http://www.nslu2-linux.org/wiki/Main/HomePage
  2. Go to http://www.gnu.org/software/gnump3d/
  3. Download the tar file http://savannah.gnu.org/download/gnump3d/gnump3d-2.9.8.tar.gz
  4. Read and re-read the Readme info http://www.gnu.org/software/gnump3d/README
  5. Read and re-read the Install info http://www.gnu.org/software/gnump3d/INSTALL
  6. Install it closely following the documentation.
  7. One more thing you will get an error during the install.
  8. This error is addressed by someone elses question in http://www.mail-archive.com/gnump3d-users@gnu.org/msg00143.html
  9. Modify the file as suggested in the previous step
  10. Edit the gnump3d.conf file to suit your situation
  11. Hopefully it works and is serving music , check from a browser on a network connected PC

I have had it serving to 3 PCs? at the same time and it works.

Cheers Jimbojazza

view · edit · print · history · Last edited by Alex Ernon.
Based on work by Alex Ernon, Tim Walker, Phil Endecott, and Jingojazza.
Originally by Jingojazza.
Page last modified on July 03, 2008, at 10:03 AM