Download and install apache
Download and install mysql
Download and install php
Download and install Perl
Get php working with Apache:
add " LoadModule php4_module
c:/php/sapi/php4apache.dll" to Loadmodule section of
httpd.conf
add "AddModule mod_php4.c" to AddModule section of
httpd.conf
add "AddType application/x-httpd-php .php" anywhere
below above two lines
Extract tunez to Apache DocRoot.
Setup mysql, as per the tunez INSTALL document
Edit config.inc.php as per INSTALL document
Edit tunezd.pl as per INSTALL document, with following
modifications:
edit song.class.php:
comment out line " $pwuid = posix_getpwuid($stated
[4]);"
edit $uploader_id = $pwuid[name]; to $uploader_id
= "winUser";
create yourself an account on tunez and then change it
to an admin as per INSTALL
do an updateDB as your admin account. DO NOT start
daemon yet.
download and place the psutils from sysinternals.com
somewhere on your path. Copy pskill.exe to
killall.exe.
Install Perl modules that tunez needs:
Use Perl Package Manager to install DBIx-
MySQLSequence and other needed packages if you don't
have them
cd into PQueue directory:
Perl Makefile.PL
edit config.inc.php
Uncomment local-perl mode line. Comment out all
other lines (I could not get local-php to work.)
add a $mp3_player = "exeName"; where exeName is the
name of your player when it is loaded in memory
(Use pslist command to figure this out.) I am using
dsrender.
edit admin_skip.php
Edit system ("killall mpg123"); and change to: system
("killall $mp3_player > nul");
Comment out the "killall ogg123" line for now.
edit skip_random.php
Edit system("killall mpg123"); -> system("killall
$mp3_player > nul");
Comment out the "killall ogg123" line for now.
edit admin_daemon.php
Edit system("killall tunezd.pl"); -> system("killall perl >
nul 2> nul");
Edit System("killall mpg123"); -> system("killall
$mp3_player > nul 2> nul");
Edit exec("./detach-1.2/detach
$perl_binary ./tunezd.pl & >/dev/null 2>/dev/null");
-> exec("C:\\windows\\system32\\cmd.exe /c start
tunezd.pl > nul 2> nul");
edit tunezd.pl
Edit use PQueue; -> use PQueue::PQueue;
create a file called detach and place it in the detach-1.2
directory.
(This is a workaround for a hardcoded check in
admin_daemon.php)
Get Media player setup ("dsrender" in my case) IT MUST
EXIT WHEN THE SONG IS DONE PLAYING!
Place it somewhere in your PATH.
You can download dsrender from:
http://www.acm.uiuc.edu/~cclausen/dsrender.zip
I'm wokring on getting a license and source code read
for it, as it is based on some MS code. I need to read
through the licenses first though.
email questions about above to cclausen@acm.org
Logged In: YES
user_id=78148
Some of this will be made much simpler for the next release,
but for a large part many of the steps will remain the same.
Some of the steps may need modification, as I'm not sure if
the new method for killing a process will work.
If someone plans on updating this for the next release I
will gladly link to it from our website. We can put it on
the documentation pages for tunez or just turn it into an
html document.