Build webserver stack using latest versions, from debian:jessie
This commit is contained in:
9
build/scripts/phpmyadmin.sh
Normal file → Executable file
9
build/scripts/phpmyadmin.sh
Normal file → Executable 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
|
||||
|
||||
Reference in New Issue
Block a user