Skip to content

Instantly share code, notes, and snippets.

@FalconIA
FalconIA / nginx-openssl-1.1.1l.el6.txt
Last active December 9, 2021 01:46 — forked from moneytoo/gist:ab3f34e4fddc2110675952f8280f49c5
nginx with OpenSSL 1.1.1l on CentOS 6 with CVE-2021-23017 fix
#useradd -m -U -s /bin/bash builder
#yum -y groupinstall 'Development Tools'
#yum -y install wget openssl-devel libxml2-devel libxslt-devel gd-devel perl-ExtUtils-Embed GeoIP-devel rpmdevtools pcre-devel libedit-devel
#rpm -Uvh rpm -ivh https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/g/GeoIP-devel-1.6.5-1.el6.x86_64.rpm https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/g/GeoIP-1.6.5-1.el6.x86_64.rpm https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/g/GeoIP-GeoLite-data-2018.04-1.el6.noarch.rpm https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/g/GeoIP-GeoLite-data-extra-2018.04-1.el6.noarch.rpm https://archives.fedoraproject.org/pub/archive/epel/6/x86_64/Packages/g/geoipupdate-3.1.1-2.el6.x86_64.rpm
#useradd -U -m -r -s /sbin/nologin builder
OPENSSL="openssl-1.1.1l"
NGINX_VERSION="1.19.5-1"
NJS_VERSION="1.19.5+0.5.0-1"
MODULE_STICKY_VERSION="08a395c66e42" # master 2016-08-09