From 785303bd26e6edb2d321703e233e22f2e3f36e1b Mon Sep 17 00:00:00 2001 From: VirtuBox Date: Mon, 24 Oct 2022 14:50:53 +0200 Subject: [PATCH] Update CI install script --- CHANGELOG.md | 13 +++++++++++++ README.md | 7 +++---- install | 8 ++++++-- 3 files changed, 22 insertions(+), 6 deletions(-) diff --git a/CHANGELOG.md b/CHANGELOG.md index 09994fb..da21284 100644 --- a/CHANGELOG.md +++ b/CHANGELOG.md @@ -8,6 +8,19 @@ The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), ### v3.16.0 - [Unreleased] +#### Changed + +- Install redis from official repository +- Redis version bump to 7.0.5 +- WP-CLI version bump to 2.7.1 +- Outdated Nginx directives removed by @nsgoyat +- Updated repository GPG Key + +#### Fixed + +- Netdata upgrade failure on old servers +- MariaDB service disabled after upgrade with `wo stack migrate --mariadb` + ### v3.15.2 - 2022-09-23 #### Added diff --git a/README.md b/README.md index b73b436..688e103 100644 --- a/README.md +++ b/README.md @@ -41,8 +41,8 @@ - **Easy to install** : One step automated installer with migration from EasyEngine v3 support - **Fast deployment** : Fast and automated WordPress, Nginx, PHP, MySQL & Redis installation -- **Custom Nginx build** : Nginx 1.22.0 - TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support -- **Up-to-date** : PHP 7.2, 7.3, 7.4, 8.0 & 8.1 - MariaDB 10.6 & Redis 6.0 +- **Custom Nginx build** : Nginx 1.22.1 - TLS v1.3 Cloudflare HTTP/2 HPACK & Brotli support +- **Up-to-date** : PHP 7.2, 7.3, 7.4, 8.0 & 8.1 - MariaDB 10.6 & Redis 7.0 - **Secured** : Hardened WordPress security with strict Nginx location directives - **Powerful** : Optimized Nginx configurations with multiple cache backends support - **SSL** : Domain, Subdomain & Wildcard Let's Encrypt SSL certificates with DNS API support @@ -87,8 +87,7 @@ Detailed Getting Started guide with additional installation methods can be found ### Standard WordPress sites ```bash -wo site create example.com --wp # install wordpress with PHP 7.3 without any page caching -wo site create example.com --wp --php80 # install wordpress with PHP 8.0 without any page caching +wo site create example.com --wp # install wordpress with PHP 8.0 without any page caching wo site create example.com --wp --php81 # install wordpress with PHP 8.1 without any page caching wo site create example.com --wpfc # install wordpress + nginx fastcgi_cache wo site create example.com --wpredis # install wordpress + nginx redis_cache diff --git a/install b/install index 5f7ba7d..8f09b4c 100755 --- a/install +++ b/install @@ -519,6 +519,8 @@ wo_travis_install() { if [ "$wo_linux_distro" = "Debian" ] || [ "$wo_linux_distro" = "Raspbian" ]; then if [ "$wo_distro_codename" = "stretch" ]; then python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.4.y#egg=python-apt + elif [ "$wo_distro_codename" = "bullseye" ]; then + python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@2.2.1#egg=python-apt else python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.8.4.y#egg=python-apt fi @@ -527,8 +529,10 @@ wo_travis_install() { python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@2.0.0#egg=python-apt elif [ "$wo_distro_codename" = "bionic" ]; then python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.6.y#egg=python-apt + elif [ "$wo_distro_codename" = "jammy" ]; then + python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@2.2.1#egg=python-apt else - python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.1.0_beta1ubuntu0.16.04.9#egg=python-apt + python3 -m pip install git+https://salsa.debian.org/apt-team/python-apt.git@1.1.y-xenial#egg=python-apt fi fi fi @@ -793,7 +797,7 @@ wo_php_fix() { wo_git_secure_path() { if ! grep -q "safe" ~/.gitconfig; then - echo -e "\n[safe]\n directory = *" >> ~/.gitconfig + echo -e "\n[safe]\n directory = *" >>~/.gitconfig fi }