Okay it sounds like you've missed some of the background of mpd, so I'll 
recap.

mpd is a simple server process that sits around and waits for clients to 
connect to it.  Clients instruct it to do music player things like "play 
track" "load playlist" etc.  Clients have been written in many different 
languages, with many different interfaces.  The simplest is the 
command-line mpc, which is useful for debugging and scripting mpd.

To start with, you want to get mpd running.  This involves configuring 
it by telling it where to look for your music files.  That should be all 
you need, except possibly opening the port to connections outside the 
server if you're running a restrictive firewall.

Then restart mpd with:
/etc/init.d/mpd restart

You can watch the log files with /var/log/mpd/log (this is from memory) 
to see if mpd is having any problems.

This one time, at band camp, bill wrote:

> I have installed them on the PC that I wish to use to serve the audio 
> files and I have installed the gmpc client on another machine, all on my 
> home LAN.

Is gmpc able to talk to mpd?  You don't need the web client to use mpd, 
so another client would be a good start.  Check that mpd is running and 
other clients can talk to it.

> lightTPD keeps its'scripts in /usr/lib/cgi-bin ( or syminks to scrips 
> that are located elsewhere).

These scripts will likely show up in http://<your_server>/cgi-bin/

> Is a php script the same as a cgi script? ( sorry if that seems to be  a 
> "dumb" question)

Yes.

> Do I need to symlink /usr/lib/cgi-bin to /usr/bin/mpd?

No.  mpd doesn't talk CGI.  That's what phpMp is doing.

> Is there something that I need to do to get lightTPD to run MPD?

LightTPD won't be running mpd.  It will be invoking the CGI program 
phpMp which will communicate with mpd.

> What do I need to do to remotely access phpMp via my client PC's browser?

Point it at http://<your_server>/cgi-bin/<location_of_phpMp>

> By the way, the server is running Sidux 2007-01

Never heard of it, but if it's Debian-based the defaults are probably 
sensible.  I suspect you won't need to do ANY configuration at all, just 
find the location of phpMp.  Try looking for a README.Debian in 
/usr/share/doc/phpmp/

You are using phpMp2, right?

-- 
Rev Simon Rumble <[EMAIL PROTECTED]>
www.rumble.net

"I still say a church steeple with a lightening rod on top shows a
 lack of confidence."
- Doug McLeod
-- 
SLUG - Sydney Linux User's Group Mailing List - http://slug.org.au/
Subscription info and FAQs: http://slug.org.au/faq/mailinglists.html

Reply via email to