Added a fix for a Debian SLIM Installation

master
Thomas Brinkmann 4 years ago
parent 5e5c7d7015
commit bc3c095b61
  1. 10
      lamp-headless.sh

@ -30,7 +30,7 @@ clean_up(){
install_Debian9(){ install_Debian9(){
echo -e "\n\e[92mInstalling requirements...\e[39m" echo -e "\n\e[92mInstalling requirements...\e[39m"
apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" sudo apt-get install --yes --force-yes -o Dpkg::Options::="--force-confdef" -o Dpkg::Options::="--force-confold" sudo
apt-get install -y zip unzip curl wget gnupg2 ca-certificates lsb-release apt-transport-https >/dev/null & apt-get install -y zip unzip curl wget gnupg2 ca-certificates lsb-release apt-transport-https systemd >/dev/null &
show_spinner $! show_spinner $!
echo -e "\n\e[92mInstalling public key & source list...\e[39m" echo -e "\n\e[92mInstalling public key & source list...\e[39m"
@ -49,6 +49,14 @@ install_Debian9(){
apt-get install -y apache2 mariadb-server libapache2-mod-php7.4 >/dev/null & apt-get install -y apache2 mariadb-server libapache2-mod-php7.4 >/dev/null &
show_spinner $! show_spinner $!
systemctl stop mysql
systemctl stop mariadb
chkconfig --del mysql
systemctl disable mysql
systemctl disable mariadb
systemctl enable mariadb.service
systemctl start mariadb.service
echo -e "\n\e[92mInstallation PHP extentions...\e[39m" echo -e "\n\e[92mInstallation PHP extentions...\e[39m"
apt-get install -y php7.3-fileinfo php7.3-bz2 php7.3-intl php7.3-ldap php7.3-smbclient php7.3-imap php7.3-bcmath php7.3-gmp php7.3-mysql php7.3-dom php7.3-simplexml php7.3-ssh2 php7.3-xml php7.3-xmlreader php7.3-curl php7.3-xmlwriter php7.3-zip php7.3-exif php7.3-ftp php7.3-gd php7.3-iconv php7.3-imagick php7.3-json php7.3-mbstring php7.3-posix php7.3-sockets php7.3-tokenizer >/dev/null & apt-get install -y php7.3-fileinfo php7.3-bz2 php7.3-intl php7.3-ldap php7.3-smbclient php7.3-imap php7.3-bcmath php7.3-gmp php7.3-mysql php7.3-dom php7.3-simplexml php7.3-ssh2 php7.3-xml php7.3-xmlreader php7.3-curl php7.3-xmlwriter php7.3-zip php7.3-exif php7.3-ftp php7.3-gd php7.3-iconv php7.3-imagick php7.3-json php7.3-mbstring php7.3-posix php7.3-sockets php7.3-tokenizer >/dev/null &
show_spinner $! show_spinner $!

Loading…
Cancel
Save