Update .install/1-install_requirements.sh

This commit is contained in:
poka 2019-12-12 17:50:13 +00:00
parent 7c1ed25c14
commit 2a626348dc
2 changed files with 5 additions and 3 deletions

View File

@ -6,7 +6,7 @@ isARM=$(uname -a | grep arm)
# Basics
sudo apt update
sudo apt install curl jq zip unzip htop tree ntpdate -y
sudo apt install curl jq zip unzip htop tree ntpdate gnupg ssmtp mpack imagemagick qrencode bc jq libttspico-utils libttspico0 libttspico-data -y
# Silkaj + Duniterpy
libsodium=$(sudo apt search libsodium | grep -v "header" | grep "Network communication" -B1 | head -n1 | awk -F '/' '{ print $1 }')
@ -48,4 +48,6 @@ sudo apt install gammu-smsd -y || sudo apt install -f
sudo usermod -aG gammu $USER
umask 027 à /root/.bashrc
exit 0

View File

@ -18,7 +18,7 @@ if [[ $(grep buster /etc/os-release) ]]; then
sudo apt-key adv --recv-keys --keyserver keyserver.ubuntu.com 0xF1656F24C74CD1D8
sudo add-apt-repository 'deb [arch=amd64] http://mariadb.mirror.liquidtelecom.com/repo/10.4/debian buster main'
sudo apt -y update
sudo apt -y install software-properties-common nginx php php-common php-fpm php-gd php-mysql php-curl php-imap php-mbstring php-xml php-cli mariadb-server
sudo apt -y install software-properties-common nginx php php-common php-fpm php-gettext php-gd php-mysql php-curl php-imap php-mbstring php-xml php-cli mariadb-server
elif [[ $(grep stretch /etc/os-release) ]]; then
sudo apt -y install lsb-release apt-transport-https ca-certificates
sudo wget -O /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg
@ -26,7 +26,7 @@ elif [[ $(grep stretch /etc/os-release) ]]; then
sudo apt-key adv --recv-keys --keyserver hkp://keyserver.ubuntu.com:80 0xF1656F24C74CD1D8
echo -e "deb [arch=amd64,i386,ppc64el] http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch main\ndeb-src http://sfo1.mirrors.digitalocean.com/mariadb/repo/10.4/debian stretch main" | sudo tee /etc/apt/sources.list.d/mariadb.list
sudo apt -y update
sudo apt -y install software-properties-common dirmngr nginx php7.3 php7.3-common php7.3-fpm php7.3-gd php7.3-mysql php7.3-curl php7.3-imap php7.3-mbstring php7.3-xml php7.3-cli mariadb-server
sudo apt -y install software-properties-common dirmngr nginx php7.3 php7.3-common php7.3-gettext php7.3-fpm php7.3-gd php7.3-mysql php7.3-curl php7.3-imap php7.3-mbstring php7.3-xml php7.3-cli mariadb-server
else
echo "${c_red}Votre système n'est pas pris en charge par ce script d'installation.$c_"
exit 1