Personal tools

Debian9

From Rivendell Wiki

Revision as of 16:06, 16 February 2019 by Leon (Talk | contribs) (installing rd3beta00 on a fresh Debian9 system)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

Very synthetic howto install rd3 on Debian9 (Stretch) :

get rivendell sources

wget https://github.com/ElvishArtisan/rivendell/releases/download/v3.0.0beta00/rivendell-3.0.0beta00.tar.gz
tar xf rivendell-3.0.0beta00.tar.gz
cd rivendell-3.0.0beta00/

compile rivendell

sudo apt install make gcc g++
sudo apt install libssh-dev libsamplerate0-dev libsndfile1-dev libcdparanoia-dev libid3-3.8.3-dev libcurl4-openssl-dev libpam0g-dev libsoundtouch-dev libasound2-dev libflac++-dev libmp4v2-dev libmad0-dev libtwolame-dev libmp3lame-dev libfaad-dev
sudo apt install libqt4-dev libexpat1-dev libtag1-dev
./configure --libexecdir=/var/www/rd-bin --sysconfdir=/etc/apache2/conf-available
sudo apt install docbook-xsl fop xsltproc
export DOCBOOK_STYLESHEETS=/usr/share/xml/docbook/stylesheet/docbook-xsl
make

during this time...

prepare web server

sudo apt install apache2
sudo a2enmod cgid
sudo systemctl restart apache2

prepare mysql server

sudo apt install mysql-server
sudo mysql_secure_installation 
sudo mysql -uroot
> update mysql.user set plugin= where user='root';
> flush privileges;

ok, let's rock !

install rivendell

sudo make install
sudo ldconfig (or you'll get an error message about librd-3.0.0beta00.so)
sudo cp conf/rd.conf-sample /etc/rd.conf
sudo adduser --system --group --home=/var/snd rivendell
sudo adduser bob rivendell
sudo chmod g+w /var/snd
sudo a2enconf rd-bin
sudo systemctl reload apache2
sudo rddbconfig
sudo rdalsaconfig
rdadmin