Some package fixes

master
Thomas Brinkmann 4 years ago
parent 898a6af900
commit 445ce52cc4
  1. 6
      README.md
  2. 12
      lamp-headless.sh

@ -4,7 +4,11 @@ Installs LAMP without any user input is required
## Requirements ## Requirements
Currently only Debian 9/Debian 10 is supported Currently supported OS:
Debian 8
Debian 9
Debian 10

@ -99,7 +99,11 @@ install_Debian9(){
install_debian8() { 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 -e "\n\e[92mFixing Source list...\e[39m"
echo "deb http://deb.debian.org/debian jessie main echo "deb http://deb.debian.org/debian jessie main
deb-src 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-key add dotdeb.gpg
apt-get update 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" 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 &
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" apache2 libapache2-mod-php7.0 mysql-server 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" echo -e "\n\e[92mDownloading PHPMyAdmin..\e[39m"
wget -q -N "https://files.phpmyadmin.net/phpMyAdmin/$PHPMYADMINV/phpMyAdmin-$PHPMYADMINV-all-languages.zip" >/dev/null & wget -q -N "https://files.phpmyadmin.net/phpMyAdmin/$PHPMYADMINV/phpMyAdmin-$PHPMYADMINV-all-languages.zip" >/dev/null &

Loading…
Cancel
Save