CC-4956: Merge nginx + apache install full scripts
-install appropriate packages
This commit is contained in:
parent
9a2b8af7b1
commit
70931e9a5e
|
@ -53,7 +53,7 @@ fi
|
|||
apt-get update
|
||||
|
||||
# Updated package list
|
||||
apt-get -y --force-yes install tar gzip curl apache2 php5-pgsql libapache2-mod-php5 \
|
||||
apt-get -y --force-yes install tar gzip curl php5-pgsql \
|
||||
php-pear php5-gd postgresql odbc-postgresql python libsoundtouch-ocaml \
|
||||
libtaglib-ocaml libao-ocaml libmad-ocaml ecasound \
|
||||
libesd0 libportaudio2 libsamplerate0 rabbitmq-server patch \
|
||||
|
@ -61,6 +61,7 @@ php5-curl mpg123 monit python-virtualenv multitail libcamomile-ocaml-data \
|
|||
libpulse0 vorbis-tools lsb-release lsof sudo mp3gain vorbisgain flac vorbis-tools \
|
||||
pwgen libfaad2
|
||||
|
||||
|
||||
#install packages with --force-yes option (this is useful in the case
|
||||
#of Debian, where these packages are unauthorized)
|
||||
apt-get -y --force-yes install libmp3lame-dev lame icecast2
|
||||
|
@ -87,6 +88,7 @@ apt-get -y --force-yes install liquidsoap
|
|||
apt-get -y --force-yes install silan
|
||||
|
||||
if [ "$server" = "nginx" ]; then
|
||||
apt-get -y --force-yes install nginx php5-fpm
|
||||
# NGINX Config File
|
||||
echo "----------------------------------------------------"
|
||||
echo "2.1 NGINX Config File"
|
||||
|
@ -110,6 +112,7 @@ if [ "$server" = "nginx" ]; then
|
|||
echo "Airtime php pool file already exists..."
|
||||
fi
|
||||
else
|
||||
apt-get -y --force-yes install apache2 libapache2-mod-php5
|
||||
# Apache Config File
|
||||
echo "----------------------------------------------------"
|
||||
echo "2. Apache Config File"
|
||||
|
|
Loading…
Reference in New Issue