Skip to content

Commit e2925f9

Browse files
committed
Software Versions
Also fixed an Nginx bug related to SSL.
1 parent 7872f4d commit e2925f9

6 files changed

Lines changed: 55 additions & 13 deletions

File tree

README.md

Lines changed: 5 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
## A High-Performance WordPress Server Built on Ubuntu and Cloudflare
33
EngineScript automates the process of building a high-performance LEMP server. We've specifically built EngineScript with WordPress users in mind, so the install process will take you from a bare server all the way to a working WordPress installation with Nginx FastCGI cache enabled in about 30 minutes.
44

5-
**Note:** EngineScript is currently in pre-release
5+
EngineScript Release Stage: **Alpha**
66

77
## Default Configuration ##
88
The default EngineScript configuration utilizes the simplified stack below. Additional information on specific software versions and sources can be found further down.
@@ -151,8 +151,8 @@ Go through each optimization tab and select the following:
151151
|NGINX CACHE PURGE|2.5.3|https://github.com/nginx-modules/ngx_cache_purge |
152152
|NGINX HEADERS MORE|0.38|https://github.com/openresty/headers-more-nginx-module |
153153
|NGINX PATCH: Dynamic TLS Records|Latest |https://github.com/kn007/patch|
154-
|OPENSSL|3.4.0|https://www.openssl.org/source/ |
155-
|PCRE2|10.44|https://github.com/PCRE2Project/pcre2/releases |
154+
|OPENSSL|3.4.1|https://www.openssl.org/source/ |
155+
|PCRE2|10.45s|https://github.com/PCRE2Project/pcre2/releases |
156156
|ZLIB-Cloudflare|Latest|https://github.com/cloudflare/zlib |
157157
||
158158
||
@@ -161,7 +161,7 @@ Go through each optimization tab and select the following:
161161
||
162162
||
163163
|**MySQL Database**|
164-
|MARIADB|11.4.4|https://mariadb.org/download/ |
164+
|MARIADB|11.4.5|https://mariadb.org/download/ |
165165
||
166166
||
167167
|**Database Management**|
@@ -211,7 +211,7 @@ Go through each optimization tab and select the following:
211211
||
212212
|**Misc Supplemental Software**|
213213
|GIXY|Latest|https://github.com/yandex/gixy |
214-
|LIBURING|2.8|https://github.com/axboe/liburing |
214+
|LIBURING|2.9|https://github.com/axboe/liburing |
215215
|MYSQLTUNER|Latest|https://github.com/major/MySQLTuner-perl |
216216
|ZLIB|1.3.1|https://github.com/madler/zlib |
217217

config/etc/nginx/admin/admin.localhost.conf

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,7 +33,7 @@ server {
3333
# SSL Settings
3434
ssl_buffer_size 1369;
3535
ssl_protocols TLSv1.2 TLSv1.3;
36-
ssl_session_cache shared:SSL:10m;
36+
ssl_session_cache shared:SSL:5m;
3737
ssl_session_tickets off;
3838
ssl_session_timeout 1h;
3939

enginescript-variables.txt

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -9,13 +9,13 @@
99
VARIABLES_DATE="FEB0825"
1010

1111
# Software Versions
12-
LIBURING_VER="2.8"
13-
MARIADB_VER="11.4.4"
12+
LIBURING_VER="2.9"
13+
MARIADB_VER="11.4.5"
1414
NGINX_HEADER_VER="0.38"
1515
NGINX_PURGE_VER="2.5.3"
1616
NGINX_VER="1.27.4"
17-
OPENSSL_VER="3.4.0"
18-
PCRE2_VER="10.44"
17+
OPENSSL_VER="3.4.1"
18+
PCRE2_VER="10.45"
1919
PHP_VER="8.3"
2020
PHPMYADMIN_VER="5.2.2"
2121
PNGOUT_VER="20200115"

scripts/menu/update-menu.sh

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -45,8 +45,7 @@ while true
4545
break
4646
;;
4747
"Update MariaDB")
48-
echo "Currently disabled as it's not needed."
49-
sleep 5
48+
/usr/local/bin/enginescript/scripts/update/mariadb-update.sh
5049
break
5150
;;
5251
"Update Nginx")

scripts/update/mariadb-update.sh

Lines changed: 37 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,37 @@
1+
#!/usr/bin/env bash
2+
#----------------------------------------------------------------------------
3+
# EngineScript - A High-Performance WordPress Server Built on Ubuntu and Cloudflare
4+
#----------------------------------------------------------------------------
5+
# Website: https://EngineScript.com
6+
# GitHub: https://github.com/Enginescript/EngineScript
7+
# Company: VisiStruct / EngineScript
8+
# License: GPL v3.0
9+
#----------------------------------------------------------------------------
10+
11+
# EngineScript Variables
12+
source /usr/local/bin/enginescript/enginescript-variables.txt
13+
source /home/EngineScript/enginescript-install-options.txt
14+
15+
# Check current user's ID. If user is not 0 (root), exit.
16+
if [ "${EUID}" != 0 ];
17+
then
18+
echo "${BOLD}ALERT:${NORMAL}"
19+
echo "EngineScript should be executed as the root user."
20+
exit
21+
fi
22+
23+
#----------------------------------------------------------------------------
24+
# Start Main Script
25+
26+
# Remove Old MariaDB Repo
27+
rm -rf /etc/apt/sources.list.d/mariadb.list
28+
29+
# Add New MariaDB Repo
30+
curl -LsS https://downloads.mariadb.com/MariaDB/mariadb_repo_setup | sudo bash -s -- --mariadb-server-version=${MARIADB_VER} --skip-maxscale
31+
32+
# Upgrade MariaDB
33+
apt update --allow-releaseinfo-change -y
34+
sh -c 'DEBIAN_FRONTEND=noninteractive apt-get install mariadb-server mariadb-client -y'
35+
36+
# MariaDB Database Upgrade
37+
mariadb-upgrade --force

scripts/update/nginx-update.sh

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -29,9 +29,12 @@ fi
2929
# Nginx Source Downloads
3030
/usr/local/bin/enginescript/scripts/install/nginx/nginx-download.sh
3131

32-
# Brotli
32+
# Retrieve Latest Brotli
3333
/usr/local/bin/enginescript/scripts/install/nginx/nginx-brotli.sh
3434

35+
# Retrieve Latest OpenSSL
36+
/usr/local/bin/enginescript/scripts/install/openssl/openssl-install.sh
37+
3538
# Retrieve Latest Cloudflare Zlib
3639
/usr/local/bin/enginescript/scripts/install/zlib/zlib-install.sh
3740

@@ -44,6 +47,9 @@ fi
4447
# Compile Nginx
4548
/usr/local/bin/enginescript/scripts/install/nginx/nginx-compile.sh
4649

50+
# Create Directories
51+
/usr/local/bin/enginescript/scripts/install/nginx/nginx-create-directories.sh
52+
4753
# Misc Nginx Stuff
4854
/usr/local/bin/enginescript/scripts/install/nginx/nginx-misc.sh
4955

0 commit comments

Comments
 (0)