|
|
|
@ -99,7 +99,11 @@ install_Debian9(){ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
install_debian8() { |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" sudo |
|
|
|
|
export DEBIAN_FRONTEND=noninteractive |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" sudo curl >/dev/null & |
|
|
|
|
show_spinner $! |
|
|
|
|
apt-get install -y zip unzip curl wget gnupg2 ca-certificates lsb-release apt-transport-https systemd >/dev/null & |
|
|
|
|
show_spinner $! |
|
|
|
|
echo -e "\n\e[92mFixing Source list...\e[39m" |
|
|
|
|
echo "deb http://deb.debian.org/debian jessie main |
|
|
|
|
deb-src http://deb.debian.org/debian jessie main |
|
|
|
@ -118,8 +122,10 @@ install_debian8() { |
|
|
|
|
apt-key add dotdeb.gpg |
|
|
|
|
|
|
|
|
|
apt-get update |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" php7.0-common php7.0-fpm php7.0-cli php7.0-json php7.0-imap php7.0-mysql php7.0-curl php7.0-imap php7.0-intl php7.0-mcrypt php-pear php7.0-gd php7.0-zip php7.0-xml php7.0-mbstring |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" apache2 libapache2-mod-php7.0 mysql-server |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" php7.0-common php7.0-fpm php7.0-cli php7.0-json php7.0-imap php7.0-mysql php7.0-curl php7.0-imap php7.0-intl php7.0-mcrypt php-pear php7.0-gd php7.0-zip php7.0-xml php7.0-mbstring >/dev/null & |
|
|
|
|
show_spinner $! |
|
|
|
|
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" apache2 libapache2-mod-php7.0 mysql-server >/dev/null & |
|
|
|
|
show_spinner $! |
|
|
|
|
|
|
|
|
|
echo -e "\n\e[92mDownloading PHPMyAdmin..\e[39m" |
|
|
|
|
wget -q -N "https://files.phpmyadmin.net/phpMyAdmin/$PHPMYADMINV/phpMyAdmin-$PHPMYADMINV-all-languages.zip" >/dev/null & |
|
|
|
|