Update
This commit is contained in:
parent
30499e09f5
commit
34586380cd
16
install.sh
16
install.sh
@ -6,8 +6,8 @@
|
||||
|
||||
set -e
|
||||
|
||||
REP_SCRIPT=$(pwd)
|
||||
read -p "Session utilsateur utilisant Rivendell (hors root) ? " UTILISATEUR
|
||||
PATH_SCRIPT_INSTALL=$(pwd)
|
||||
read -p "Session utilsateur utilisant Rivendell (hors root) ? " USER
|
||||
|
||||
# Installation dépendences
|
||||
apt update
|
||||
@ -18,13 +18,15 @@ apt -y install \
|
||||
libid3-dev libtag1-dev libcurl4-gnutls-dev libpam0g-dev libsoundtouch-dev docbook5-xml \
|
||||
libxml2-utils docbook-xsl-ns xsltproc fop make libsystemd-dev libjack-jackd2-dev \
|
||||
libasound2-dev libflac-dev libflac++-dev libmp3lame-dev libmad0-dev libtwolame-dev \
|
||||
python3 python3-pycurl python3-pymysql python3-serial python3-requests mariadb-server \
|
||||
python3 python3-pip python3-pycurl python3-pymysql python3-serial python3-requests mariadb-server \
|
||||
mariadb-client apache2
|
||||
|
||||
pip install mysqlclient --upgrade
|
||||
|
||||
# Clone du code source
|
||||
cd /tmp
|
||||
git clone https://git.weblib.re/Autres/Rivendellaudio
|
||||
cd Rivendellaudio
|
||||
git clone https://github.com/ElvishArtisan/rivendell.git
|
||||
cd rivendell
|
||||
git checkout $1
|
||||
./autogen.sh
|
||||
|
||||
@ -45,12 +47,12 @@ cp conf/asound.conf-sample /etc/asound.conf
|
||||
|
||||
# Création user dossier audio
|
||||
adduser --uid 150 --system --group --home=/var/snd rivendell
|
||||
adduser ${UTILISATEUR} rivendell
|
||||
adduser ${USER} rivendell
|
||||
chown -R rivendell:rivendell /var/snd
|
||||
chmod 0775 /var/snd
|
||||
|
||||
# Initialisation BDD Audio Démo
|
||||
mysql < ${REP_SCRIPT}/rivendell.sql
|
||||
mysql < ${PATH_SCRIPT_INSTALL}/rivendell.sql
|
||||
rddbmgr --create --generate-audio
|
||||
|
||||
# Démarrage services
|
||||
|
Loading…
x
Reference in New Issue
Block a user