Bachir Soussi Chiadmi 5 years ago
parent
commit
aa01b29924
5 changed files with 6 additions and 4 deletions
  1. 2 0
      bin/checkroot.sh
  2. 1 1
      bin/lemp.sh
  3. 1 1
      bin/misc.sh
  4. 1 1
      bin/urbackup.sh
  5. 1 1
      install.sh

+ 2 - 0
bin/checkroot.sh

@@ -1,5 +1,7 @@
 #!/bin/sh
 
+echo -e "checking root"
+
 if [ "$EUID" -ne 0 ]; then
   echo -e "Please run as root"
   exit

+ 1 - 1
bin/lemp.sh

@@ -59,7 +59,7 @@ echo -e '
 '
 echo -e "Installing PHP 7.0"
 sleep 3
-apk add php7 php7-fpm php7-pdo_mysql php7-opcache php7-curl php7-mbstring php7-zip php7-xml php7-gd php7-mcrypt php7-imagick php7-phar
+apk add php7 php7-fpm php7-pdo_mysql php7-opcache php7-curl php7-mbstring php7-zip php7-xml php7-gd php7-mcrypt php7-imagick php7-phar php7-json
 
 echo -e "Configuring PHP"
 

+ 1 - 1
bin/misc.sh

@@ -27,4 +27,4 @@ TIMEZONE="Europe/Paris"
 cp /usr/share/zoneinfo/${TIMEZONE} /etc/localtime
 echo "${TIMEZONE}" > /etc/timezone
 
-echo -e "\033[92;1mMisc done \033[Om"
+echo -e "Misc done"

+ 1 - 1
bin/urbackup.sh

@@ -33,7 +33,7 @@ fi
 
 # Install the dependencies UrBackup needs
 # apt install build-essential "g++" "libcrypto++-dev" libz-dev -y
-apk add linux-headers "g++" zlib zlid-dev "crypto++@testing" "crypto++dev@testing"
+apk add linux-headers "g++" zlib zlid-dev "crypto++@testing" "crypto++-dev@testing"
 
 ln -s /usr/lib/libcryptopp.so /usr/lib/libcryptopp.so.5.6
 

+ 1 - 1
install.sh

@@ -35,4 +35,4 @@ _cwd="$(pwd)"
 . bin/lemp.sh
 # . bin/vhost.sh
 . bin/zabbix.sh
-# . bin/urbackup.sh
+. bin/urbackup.sh