This commit is contained in:
2019-04-17 21:34:46 +02:00
parent 646e1c426b
commit aa01b29924
5 changed files with 6 additions and 4 deletions
+2
View File
@@ -1,5 +1,7 @@
#!/bin/sh
echo -e "checking root"
if [ "$EUID" -ne 0 ]; then
echo -e "Please run as root"
exit
+1 -1
View File
@@ -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
View File
@@ -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
View File
@@ -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
View File
@@ -35,4 +35,4 @@ _cwd="$(pwd)"
. bin/lemp.sh
# . bin/vhost.sh
. bin/zabbix.sh
# . bin/urbackup.sh
. bin/urbackup.sh