Build webserver stack using latest versions, from debian:jessie

This commit is contained in:
2016-04-05 22:37:00 +01:00
parent d4b7514c3d
commit a429042cdc
85 changed files with 22 additions and 28 deletions

9
build/scripts/phpmyadmin.sh Normal file → Executable file
View File

@@ -4,14 +4,15 @@ source /build/config
set -x
## phpMyAdmin
export_env PMA_VERSION 4.5.3.1
export_env PMA_CONFIG /var/www/config.inc.php
export_env PMA_VERSION 4.6.0
export_env PMA_ROOT /var/www/html
export_env PMA_CONFIG $PMA_ROOT/config.inc.php
cd /opt
wget https://files.phpmyadmin.net/phpMyAdmin/$PMA_VERSION/phpMyAdmin-$PMA_VERSION-all-languages.tar.gz
tar xzf phpMyAdmin-$PMA_VERSION-all-languages.tar.gz phpMyAdmin-$PMA_VERSION-all-languages
mv phpMyAdmin-$PMA_VERSION-*/ phpMyAdmin-$PMA_VERSION/
rm -r /var/www
ln -s /opt/phpMyAdmin-$PMA_VERSION /var/www
rm -r $PMA_ROOT/../*
ln -s /opt/phpMyAdmin-$PMA_VERSION $PMA_ROOT
## Remove installation files
if [ $MODE == "minimal" ]; then