Follow Slashdot blog updates by subscribing to our blog RSS feed

 



Forgot your password?
typodupeerror
×
Software

Journal wskellenger's Journal: Jukebox installation

I think I found the perfect solution:

gjukebox has a web interface and will even display the album covers. It is designed for server-side playback.

Before doing anything, I would suggest that you check out all of your USE flags, especially if this will be a console-only system like mine. Because of all the dependencies, I ended up with portage wanting to emerge a lot of things. Here are my flags now:

USE="-gtk -qt -gnome -kde -X -cups -opengl -truetype -xmms -xv -quicktime -pdflib -foomaticdb -arts -avi -gtk2"

On my fresh Pentium-200 Gentoo system, I did the following for installation:

emerge mysql
emerge mpg123
emerge wget
emerge bladeenc
emerge libcdaudio
emerge mod_php
emerge aumix
emerge cdparanoia
emerge mpeg-lib (necessary?)
emerge libogg (necessary?)
emerge libvorbis
emerge at
emerge xinetd
emerge vorbis-tools
emerge esound
emerge links (will need this later)
emerge unzip (for CPAN)
emerge ftp (for CPAN)
emerge ncftp (for CPAN)
emerge gpgme (for CPAN)
emerge gd (for coverart support)
emerge abcde (for playing with FLAC later, not necessary)

Moving to perl's CPAN:

bash$ perl -MCPAN -e shell
cpan>install Bundle::CPAN (recommended by CPAN)
cpan>install DBI
cpan>install MPEG::MP3Info
cpan>install MIME::Base64
cpan>install DBD::mysql (couldn't get tests to work, installed with portage below...)
cpan>install LWP::UserAgent
cpan>install Text::Metaphone
cpan>force install GD
cpan>install Apache::ImageMagick

Back to bash$

emerge DBD-mysql

Should I have used the portage installation method instead of going through CPAN? Dunno.

Following the instructions from here...

chmod a+r /dev/cdrom

Don't mess with the 4.1 release from Sourceforge, just get the latest version from CVS. Follow the instructions on sourceforge to download from CVS. /usr/src/ is a good place to put the downloaded source.

cd /usr/src/gjukebox/
./build

I modified the Apache configuration so that Apache runs as user/group: nobody/nobody.

Make sure that the nobody user is part of the cdrom and audio groups in /etc/group.

Changed the maximum upload filesize from 2M (default) to 10M in php.ini

Got the Gentoo startup script/config files from the patches area on Sourceforge, had to change one of the dependencies in the startup script from "apache" to "apache2" for my installation. This was one of my biggest problems -- I didn't have ripd.pl running and therefore I had issues trying to rip one of my CDs.

This discussion has been archived. No new comments can be posted.

Jukebox installation

Comments Filter:

"Look! There! Evil!.. pure and simple, total evil from the Eighth Dimension!" -- Buckaroo Banzai

Working...