From 2995cd1ef8e3e0f6ed2704b08f912c3dcb44feb4 Mon Sep 17 00:00:00 2001 From: qtwrk Date: Wed, 15 Jul 2020 00:31:14 +0200 Subject: [PATCH 1/2] fix redis missing on ubuntu 20 if apt multiple package , one of them missing , whole list will be skipped. --- cyberpanel.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index f795a2c44..54b7a96e5 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -506,7 +506,12 @@ if [[ $SERVER_OS == "CentOS" ]] ; then yum install -y lsphp74-redis lsphp73-redis lsphp72-redis lsphp71-redis lsphp70-redis lsphp56-redis lsphp55-redis lsphp54-redis redis fi if [[ $SERVER_OS == "Ubuntu" ]] ; then - DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-redis lsphp73-redis lsphp72-redis lsphp71-redis lsphp70-redis redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp73-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp72-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp71-redis + DEBIAN_FRONTEND=noninteractive apt install -y lsphp70-redis + DEBIAN_FRONTEND=noninteractive apt install -y redis fi if ifconfig -a | grep inet6 ; then From c7bac27ebb67e6bbc4a7548c7b6b16768c236f5c Mon Sep 17 00:00:00 2001 From: qtwrk Date: Thu, 16 Jul 2020 02:45:08 +0200 Subject: [PATCH 2/2] fix memcached ext on ubuntu20 --- cyberpanel.sh | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/cyberpanel.sh b/cyberpanel.sh index 54b7a96e5..248a65518 100644 --- a/cyberpanel.sh +++ b/cyberpanel.sh @@ -470,7 +470,12 @@ if [[ $SERVER_OS == "CentOS" ]] ; then fi fi if [[ $SERVER_OS == "Ubuntu" ]] ; then - DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-memcached lsphp73-memcached lsphp72-memcached lsphp71-memcached lsphp70-memcached + DEBIAN_FRONTEND=noninteractive apt install -y lsphp74-memcached + DEBIAN_FRONTEND=noninteractive apt install -y lsphp73-memcached + DEBIAN_FRONTEND=noninteractive apt install -y lsphp72-memcached + DEBIAN_FRONTEND=noninteractive apt install -y lsphp71-memcached + DEBIAN_FRONTEND=noninteractive apt install -y lsphp70-memcached + if [[ $TOTAL_RAM -eq "2048" ]] || [[ $TOTAL_RAM -gt "2048" ]] ; then DEBIAN_FRONTEND=noninteractive apt install build-essential zlib1g-dev libexpat1-dev openssl libssl-dev libsasl2-dev libpcre3-dev git -y wget https://$DOWNLOAD/litespeed/lsmcd.tar.gz