install ffmpeg and ffmpeg2theora from Firefogg

This commit is contained in:
j 2014-09-30 14:00:20 +00:00
parent 4245ffbadb
commit 57c1dcc1d5
1 changed files with 6 additions and 0 deletions

View File

@ -59,6 +59,12 @@ apt-get install -y \
postgresql \
postgresql-contrib
mkdir -p /home/pandora/.ox/bin
wget -O /home/pandora/.ox/bin/ffmpeg https://firefogg.org/bin/ffmpeg.linux
wget -O /home/pandora/.ox/bin/ffmpeg2theora https://firefogg.org/bin/ffmpeg2theora.linux
chmod +x /home/pandora/.ox/bin/*
sudo -u postgres createuser -S -D -R pandora
sudo -u postgres createdb -T template0 --locale=C --encoding=UTF8 -O pandora pandora
echo "CREATE EXTENSION pg_trgm;" | sudo -u postgres psql pandora