Differences

This shows you the differences between two versions of the page.

Link to this comparison view

Both sides previous revision Previous revision
Next revision
Previous revision
software:nginx [2020/04/13 06:21]
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.
-<sxh>NGINX_VERSION=1.17.9+<sxh>NGINX_VERSION=1.23.1
 PS_NGX_EXTRA_FLAGS="--with-ld-opt=-static-libstdc++" PS_NGX_EXTRA_FLAGS="--with-ld-opt=-static-libstdc++"
-HEADERS_VERSION=0.33+HEADERS_VERSION=0.34
 NPS_VERSION=latest-stable NPS_VERSION=latest-stable
-LIBRESSL_VERSION=3.0.2 +LIBRESSL_VERSION=3.5.3 
-OPENSSL_VERSION=1.1.1f</sxh>+OPENSSL_VERSION=3.0.5</sxh>
  
 ==== Building Pre requisites ==== ==== Building Pre requisites ====
Line 24: Line 24:
 </sxh> </sxh>
  
-==== Library Prerequisites ====+===== Library Prerequisites ===== 
 +==== Centos 7 ====
 <sxh>yum install -y epel-release <sxh>yum install -y epel-release
 yum -y groupinstall 'Development Tools' yum -y groupinstall 'Development Tools'
 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</sxh> 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</sxh>
  
-=== Pagespeed Latest Beta === +==== Centos 8 ==== 
-If you would like to build using the latest beta +<sxh>yum install -y epel-release 
-<sxh>NPS_VERSION=latest-beta</sxh>+yum -y groupinstall 'Development Tools' 
 +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 ==== 
 +<sxh>dnf groupinstall 'Development Tools' 
 +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</sxh>
  
 ==== Fetch nginx ==== ==== Fetch nginx ====
Line 59: Line 66:
  
 ==== Fetch PSOL ==== ==== Fetch PSOL ====
 +Check here for latest release: https://modpagespeed.com/doc/release_notes
 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.
-<sxh>wget https://dl.google.com/dl/page-speed/psol/1.13.35.2-x64.tar.gz +<sxh>wget https://dist.apache.org/repos/dist/release/incubator/pagespeed/1.14.36.1/x64/psol-1.14.36.1-apache-incubating-x64.tar.gz 
-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://modpagespeed.com/doc/release_notes +
-<sxh> +
-wget https://dl.google.com/dl/page-speed/psol/1.13.35.2-x64.tar.gz +
-tar zxfv 1.13.35.2-x64.tar.gz+
 </sxh> </sxh>
  
Line 91: Line 92:
  
 == openSSL == == openSSL ==
-<sxh>./configure --user=nginx --group=nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_xslt_module=dynamic --with-http_image_filter_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-http_geoip_module=dynamic --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-http_perl_module --with-http_perl_module=dynamic --with-mail --with-mail_ssl_module --with-mail=dynamic --with-stream --with-stream=dynamic --with-stream_ssl_module --with-stream_geoip_module --with-stream_geoip_module=dynamic --with-google_perftools_module --with-pcre --with-libatomic --with-http_v2_module --add-module=../incubator-pagespeed-ngx-${NPS_VERSION} ${PS_NGX_EXTRA_FLAGS} ${PS_NGX_EXTRA_FLAGS} --with-openssl=../openssl-${OPENSSL_VERSION}/ --add-module=../headers-more-nginx-module-${HEADERS_VERSION}/ --add-module=../ngx_brotli </sxh>+<sxh>./configure --user=nginx --group=nginx --sbin-path=/usr/sbin/nginx --conf-path=/etc/nginx/nginx.conf --error-log-path=/var/log/nginx/error.log --http-log-path=/var/log/nginx/access.log --with-select_module --with-poll_module --with-threads --with-file-aio --with-http_ssl_module --with-http_v2_module --with-http_realip_module --with-http_addition_module --with-http_xslt_module --with-http_xslt_module=dynamic --with-http_image_filter_module --with-http_image_filter_module=dynamic --with-http_geoip_module --with-http_geoip_module=dynamic --with-http_sub_module --with-http_dav_module --with-http_flv_module --with-http_mp4_module --with-http_gunzip_module --with-http_gzip_static_module --with-http_auth_request_module --with-http_random_index_module --with-http_secure_link_module --with-http_degradation_module --with-http_slice_module --with-http_stub_status_module --with-http_perl_module --with-http_perl_module=dynamic --with-mail --with-mail_ssl_module --with-mail=dynamic --with-stream --with-stream=dynamic --with-stream_ssl_module --with-stream_geoip_module --with-stream_geoip_module=dynamic --with-google_perftools_module --with-pcre --with-libatomic --with-http_v2_module --add-module=../incubator-pagespeed-ngx-${NPS_VERSION} ${PS_NGX_EXTRA_FLAGS} ${PS_NGX_EXTRA_FLAGS} --with-openssl=../openssl-${OPENSSL_VERSION}/ --add-module=../headers-more-nginx-module-${HEADERS_VERSION}/ --add-dynamic-module=../ngx_brotli </sxh>
  
 ==== Build NGINX ==== ==== Build NGINX ====
Line 122: Line 123:
 ==== Setup Firewalld ===== ==== Setup Firewalld =====
 [[systems:firewalld#http/s|Firewalld]] [[systems:firewalld#http/s|Firewalld]]
 +
 +This page has been accessed {{counter|today}} times Today,  {{counter|yesterday}} times Yesterday and {{counter|total}} times Since 2020/06/08.