Burn Station

De ClissXXI.

Burn Station est un système libre de diffusion audio.

http://www.burnstation.org/

Voici un script pour installer la toute dernière version:

## http://dev.burnstation.org/cgi-bin/trac.cgi/file/burnstation/INSTALL
aptitude install subversion

cd /usr/src
svn checkout svn://dev.burnstation.org/burnstation

##
# NetJukes
##
aptitude install apache php4 libapache-mod-php4 php4-mysql mysql-server

ln -s /usr/src/burnstation/burnstation-server /usr/share/burnstation-server
ln -s /usr/src/burnstation/burnstation-server/webspace /var/www/burnstation

chown -R www-data: /var/www/burnstation
chmod 755 /var/www/burnstation

cp -a burnstation/burnstation-server/conf /etc/burnstation
cat <<EOF > /etc/burnstation/burnstation.apache.conf
Alias /music /usr/local/media/music
Alias /burnstation /usr/share/burnstation-server/webspace
EOF
ln -s /etc/burnstation/burnstation.apache.conf /etc/apache/conf.d/
invoke-rc.d apache restart

cp /etc/burnstation/burnstation.conf.sample /etc/burnstation/burnstation.conf
chmod 640 /etc/burnstation/burnstation.conf
chgrp www-data /etc/burnstation/burnstation.conf
# webUrl = ../..
# burnDevice = /dev/hdc

mysqladmin create burnstation
zcat burnstation/burnstation-server/burnstation.mysql.gz | mysql burnstation
mysql -e "GRANT ALL PRIVILEGES ON burnstation.* to 'burn' IDENTIFIED BY '6urn04';"


##
# BurnStation Client
##
# Check burnstation-client/debian/control
aptitude install python-wxgtk2.6 python-mysqldb python-pyogg \
	python-pyvorbis python-xmms python-id3 python-dbus xmms \
	cdrecord mkisofs vorbis-tools sox eject mpg123 hal pmount \
	cdda2wav python-pygame

ln -s /usr/src/burnstation/burnstation-client /usr/share/burnstation-client

groupadd burnstation
useradd burnstation -g burnstation

mkdir -m 755 /var/log/burnstation /var/spool/burnstation
chown burnstation: /var/log/burnstation /var/spool/burnstation

chown burnstation /etc/burnstation/burnstation.conf

ln -s /usr/src/burnstation/burnstation-client/bin/burnstation /usr/local/bin/burnstation
# Look in /var/log/burnstation/Main.log if burnstation fails to start


##
# BurnStation Images
##
# That or unionfs...
cp -a /usr/src/burnstation/burnstation-images/*[^debian]*/ /usr/src/burnstation/burnstation-server/webspace/img/


##
# Populate BurnStation
##
#/usr/src/burnstation/burnstation-server/bin/burnstation-getnewcontent
Outils personnels