Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
software:nginx [2019/10/05 16:46] eServices Greece |
software:nginx [2022/08/06 22:31] (current) eServices Greece [Fedora 32-35] |
||
---|---|---|---|
Line 9: | Line 9: | ||
==== EXPORTS used to set versions ==== | ==== EXPORTS used to set versions ==== | ||
You can change the values here to change compiled version. | You can change the values here to change compiled version. | ||
- | < | + | < |
PS_NGX_EXTRA_FLAGS=" | PS_NGX_EXTRA_FLAGS=" | ||
- | HEADERS_VERSION=0.33 | + | HEADERS_VERSION=0.34 |
NPS_VERSION=latest-stable | NPS_VERSION=latest-stable | ||
- | LIBRESSL_VERSION=2.9.2 | + | LIBRESSL_VERSION=3.5.3 |
- | OPENSSL_VERSION=1.1.1d</ | + | OPENSSL_VERSION=3.0.5</ |
==== Building Pre requisites ==== | ==== Building Pre requisites ==== | ||
Line 24: | Line 24: | ||
</ | </ | ||
- | ==== Library Prerequisites ==== | + | ===== Library Prerequisites |
+ | ==== Centos 7 ==== | ||
< | < | ||
yum -y groupinstall ' | yum -y groupinstall ' | ||
yum -y install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed perl-Digest-SHA1.x86_64 perl-Digest-MD5.x86_64 openssl-devel.x86_64 openssl.x86_64 openssl-libs.x86_64 libuuid-devel</ | yum -y install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed perl-Digest-SHA1.x86_64 perl-Digest-MD5.x86_64 openssl-devel.x86_64 openssl.x86_64 openssl-libs.x86_64 libuuid-devel</ | ||
- | === Pagespeed Latest Beta === | + | ==== Centos 8 ==== |
- | If you would like to build using the latest beta | + | < |
- | <sxh>NPS_VERSION=latest-beta</ | + | yum -y groupinstall ' |
+ | yum config-manager --set-enabled PowerTools | ||
+ | yum -y install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed perl-Digest-MD5.x86_64 openssl-devel.x86_64 openssl.x86_64 openssl-libs.x86_64 libuuid-devel</sxh> | ||
+ | |||
+ | ==== Fedora 32-36 ==== | ||
+ | < | ||
+ | dnf install gc gcc gcc-c++ pcre-devel zlib-devel make wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel gperftools gperftools-devel libatomic_ops-devel perl-ExtUtils-Embed perl-Digest-MD5.x86_64 openssl-devel.x86_64 openssl.x86_64 openssl-libs.x86_64 libuuid-devel perl</ | ||
==== Fetch nginx ==== | ==== Fetch nginx ==== | ||
Line 59: | Line 66: | ||
==== Fetch PSOL ==== | ==== Fetch PSOL ==== | ||
+ | Check here for latest release: https:// | ||
In order to get the version of PSOL build continue with the steps after this one, while configuring nginx you will get an error message providing the version required. In this example the latest-stable is 1.13.35.2. | In order to get the version of PSOL build continue with the steps after this one, while configuring nginx you will get an error message providing the version required. In this example the latest-stable is 1.13.35.2. | ||
- | < | + | < |
- | tar zxfv 1.13.35.2-x64.tar.gz | + | tar zxfv psol-1.14.36.1-apache-incubating-x64.tar.gz |
- | </sxh> | + | |
- | + | ||
- | Latest Beta: 1.13.35.2-beta | + | |
- | Check here for latest release: https:// | + | |
- | < | + | |
- | wget https:// | + | |
- | tar zxfv 1.13.35.2-x64.tar.gz | + | |
</ | </ | ||
Line 91: | Line 92: | ||
== openSSL == | == openSSL == | ||
- | < | + | < |
==== Build NGINX ==== | ==== Build NGINX ==== | ||
Line 112: | Line 113: | ||
user nginx nginx; | user nginx nginx; | ||
</ | </ | ||
+ | |||
+ | ==== Create temp folder on boot ==== | ||
+ | Used for the pid file | ||
+ | |||
+ | vim / | ||
+ | |||
+ | < | ||
==== Setup Firewalld ===== | ==== Setup Firewalld ===== | ||
- | <sxh bash> | + | [[systems: |
- | firewall-cmd --zone=public --permanent --add-service=https | + | |
- | firewall-cmd --reload< | + | This page has been accessed {{counter|today}} times Today, |