Browse Source

Fix phpmyadmin and adminer installation

old-stable
Mitesh Shah 11 years ago
parent
commit
7c274f9856
  1. 13
      bin/easyengine
  2. 2
      src/modules/system/install/ee_mod_setup_nginx.sh

13
bin/easyengine

@ -33,8 +33,7 @@ then
if [ "$EE_SECOND" = "install" ]
then
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ]
then
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ] || [ "$EE_THIRD" = "postfix" ] || [ "$EE_THIRD" = "phpmyadmin" ] || [ "$EE_THIRD" = "adminer" ]; then
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ]; then
# Setup nginx/php repository
@ -42,14 +41,16 @@ then
# Fix GnuPG key
ee_lib_gpg_key_fix
fi
# Execute: apt-get update
ee_lib_apt_get_update
fi
if [ "$EE_THIRD" = "nginx" ] || [ "$EE_THIRD" = "php" ] || [ "$EE_THIRD" = "mysql" ] || [ "$EE_THIRD" = "postfix" ]; then
# Execute: apt-get update
ee_lib_apt_get_update
# Install nginx/php/mysql/postfix package
ee_mod_install_$EE_THIRD
elif [ "$EE_THIRD" = "adminer" ] || [ "$EE_THIRD" = "phpmyadmin" ];then
# Install phpmyadmin/adminer
ee_ven_install_$EE_THIRD

2
src/modules/system/install/ee_mod_setup_nginx.sh

@ -46,7 +46,7 @@ function ee_mod_setup_nginx()
cp -a /usr/share/easyengine/nginx/conf.d /usr/share/easyengine/nginx/common /etc/nginx
# Setup port 22222
cp -v /usr/share/easyengine/nginx/22222 /etc/nginx/sites-available/
cp /usr/share/easyengine/nginx/22222 /etc/nginx/sites-available/
# Create a symbolic link for 22222
if [ ! -L /etc/nginx/sites-enabled/22222 ]; then

Loading…
Cancel
Save