Add missing dependency for psutil
This commit is contained in:
@@ -21,6 +21,7 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
|
|||||||
|
|
||||||
- fail2ban install without Nginx
|
- fail2ban install without Nginx
|
||||||
- Grant MySQL permissions on all MySQL/MariaDB variant ([PR #285](https://github.com/WordOps/WordOps/pull/285))
|
- Grant MySQL permissions on all MySQL/MariaDB variant ([PR #285](https://github.com/WordOps/WordOps/pull/285))
|
||||||
|
- PHP PECL extensions and PHP 8.0 issues
|
||||||
|
|
||||||
### v3.12.2 - 2020-05-15
|
### v3.12.2 - 2020-05-15
|
||||||
|
|
||||||
|
|||||||
@@ -63,7 +63,6 @@
|
|||||||
|
|
||||||
#### Also compatible
|
#### Also compatible
|
||||||
|
|
||||||
- Ubuntu 20.04 LTS (Focal)
|
|
||||||
- Ubuntu 16.04 LTS (Xenial)
|
- Ubuntu 16.04 LTS (Xenial)
|
||||||
- Debian 9 (Stretch)
|
- Debian 9 (Stretch)
|
||||||
- Debian 10 (Buster)
|
- Debian 10 (Buster)
|
||||||
|
|||||||
6
install
6
install
@@ -9,7 +9,7 @@
|
|||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# wget -qO wo wops.cc && sudo -E bash wo
|
# wget -qO wo wops.cc && sudo -E bash wo
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
# Version 3.12.3 - 2020-10-12
|
# Version 3.12.3 - 2020-10-13
|
||||||
# -------------------------------------------------------------------------
|
# -------------------------------------------------------------------------
|
||||||
|
|
||||||
# CONTENTS
|
# CONTENTS
|
||||||
@@ -208,13 +208,13 @@ wo_install_dep() {
|
|||||||
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
if [ "$wo_linux_distro" == "Ubuntu" ]; then
|
||||||
# install dependencies
|
# install dependencies
|
||||||
apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \
|
apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \
|
||||||
build-essential curl gzip python3-pip python3-apt python3-dev sqlite3 git tar software-properties-common pigz \
|
build-essential curl gzip python3-pip python3-apt gcc python3-dev sqlite3 git tar software-properties-common pigz \
|
||||||
gnupg2 cron ccze rsync apt-transport-https tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1
|
gnupg2 cron ccze rsync apt-transport-https tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1
|
||||||
curl -sL https://download.opensuse.org/repositories/home:/virtubox:/WordOps/xUbuntu_18.04/Release.key | apt-key add -
|
curl -sL https://download.opensuse.org/repositories/home:/virtubox:/WordOps/xUbuntu_18.04/Release.key | apt-key add -
|
||||||
else
|
else
|
||||||
# install dependencies
|
# install dependencies
|
||||||
apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \
|
apt-get -option=Dpkg::options::=--force-confmiss --option=Dpkg::options::=--force-confold --assume-yes install \
|
||||||
build-essential curl gzip dirmngr sudo python3-pip python3-apt python3-dev ca-certificates sqlite3 git tar \
|
build-essential curl gzip dirmngr sudo python3-pip python3-apt gcc python3-dev ca-certificates sqlite3 git tar \
|
||||||
software-properties-common pigz apt-transport-https gnupg2 cron ccze rsync tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1
|
software-properties-common pigz apt-transport-https gnupg2 cron ccze rsync tree haveged ufw unattended-upgrades tzdata ntp zstd >/dev/null 2>&1
|
||||||
# add php repository gpg key
|
# add php repository gpg key
|
||||||
[ -d /etc/apt/trusted.gpg.d ] && { wget -qO /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; }
|
[ -d /etc/apt/trusted.gpg.d ] && { wget -qO /etc/apt/trusted.gpg.d/php.gpg https://packages.sury.org/php/apt.gpg; }
|
||||||
|
|||||||
@@ -112,7 +112,8 @@ class WOMysql():
|
|||||||
"--single-transaction ".format(dbs),
|
"--single-transaction ".format(dbs),
|
||||||
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
|
stdout=subprocess.PIPE, stderr=subprocess.PIPE, shell=True)
|
||||||
p2 = subprocess.Popen(
|
p2 = subprocess.Popen(
|
||||||
"/usr/bin/pigz -c > /var/lib/wo-backup/mysql/{0}{1}.sql.gz"
|
"/usr/bin/zstd -T0 -c > "
|
||||||
|
"/var/lib/wo-backup/mysql/{0}{1}.sql.zst"
|
||||||
.format(dbs, WOVar.wo_date), stdin=p1.stdout, shell=True)
|
.format(dbs, WOVar.wo_date), stdin=p1.stdout, shell=True)
|
||||||
# Allow p1 to receive a SIGPIPE if p2 exits
|
# Allow p1 to receive a SIGPIPE if p2 exits
|
||||||
p1.stdout.close()
|
p1.stdout.close()
|
||||||
|
|||||||
Reference in New Issue
Block a user