Install under Debian from Source
From Rivendell Wiki
Description: steps to setup a rivendell workstation on debian from source
- This has not yet been fully tested
Contents |
Summary
These are directions to install a Rivendell broadcast automation system on to a current Debian Stable (3.1, Sarge) system (running Gnome) from source.
OS installation
Install debian from the Net Installer CD. Only install the base system using the installer, there is no need to choose any of the pre-cionfigured system options.
Log on with the user you created during installation. Use su to change to the root user:
su <enter root password>
Install a 2.6 kernel
Choose a 2.6 Kernel by searching with the command:
apt-cache search kernel-image-2.6
And then run
apt-get install kernel-image-2.6.*
Replacing kernel-image-2.6.* with the name of the kernel image you have chosen. Reboot with the new kernel.
Install packages
Log on and su to root. Install required packages by issuing the following commands:
apt-get install libasound2-dev libflac++-dev libid3-3.8.3-dev libjack0.80.0-dev libvorbis-dev
apt-get install libsamplerate0-dev libqt3-mt-dev libqt3c-102-mt-mysql kernel-headers-`uname -r` mysql-server
apt-get install mysql-client x-window-system gnome-desktop gdm alsa-base sox-dev cdda2wav libcdparanoia0-dev
apt-get install lukemftp samba-common
Create a user
Create a dedicated user for Rivendell:
adduser rivendell sudo adduser rivendell audio
Download and compile
Download the source packages:
wget http://www.rivendellaudio.org/ftpdocs/rivendell/rivendell-0.9.80.tar.gz wget http://www.rivendellaudio.org/ftpdocs/libradio/libradio-0.98.0.tar.gz wget http://www.rivendellaudio.org/ftpdocs/gpio/gpio-0.9.6.tar.gz
tar -zxf rivendell-0.9.80.tar.gz tar -zxf libradio-0.98.0.tar.gz tar -zxf gpio-0.9.6.tar.gz
Define the location of the qt3 package files
export QTDIR=/usr/share/qt3
Build and install the packages:
cd gpio-0.9.6 ./configure make make install
cd .. cd libradio-0.9.80 export QTDIR=/usr/share/qt3 ./configure make make install
cd .. cd rivendell-0.9.80 ./configure make make install
Reboot. NB: You probably don't need to export the QTDIR for each one unless you are rebooting in between installing the different stages.
Log on and configure
Logon as rivendell, start a terminal and su to root.
gedit /etc/asound.conf:
pcm.rd0 {
type hw
card 0
}
ctl.rd0 {
type hw
card 0
}
Save & exit
gedit /etc/rd.conf:
[Identity] Password=<the password you set for rivendell> AudioOwner=rivendell AudioGroup=rivendell
[Format] SampleRate=44100 Channels=2 [mySQL] Hostname=localhost Loginname=root Password= Database=Rivendell Driver=QMYSQL3
[Cae] AudioRoot=/var/snd AudioExtension=wav AllowNonstandardRates=true
[Tuning] UseRealtime=true
; ; Log Generation, mainly useful for debugging ;
[RDAirPlay] Logfile=/var/log/rivendell/rdairplay.log
[RDCatchd] Logfile=/var/log/rivendell/rdcatchd.log
[Ripcd] Logfile=/var/log/rivendell/ripcd.log
[Caed] Logfile=/var/log/rivendell/caed.log
Create a directory to store the audio:
mkdir /var/snd chmod 775 /var/snd
Start Rivendell
Run rdadmin to create the database. When prompted for a MySQL username and password, enter 'root' and no password.

