Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save Kinkypeter/cc6f2caf044a6b02190e18853ef554c7 to your computer and use it in GitHub Desktop.
Save Kinkypeter/cc6f2caf044a6b02190e18853ef554c7 to your computer and use it in GitHub Desktop.
Main Server - this-server-will-be-the-death-of-me.com
# Clang & GCC Compilers
MARCH_TARGETNATIVE='y'
GCCINTEL_PHP='y'
PHP_PGO='y'
CLANG='n'
DEVTOOLSETSIX='n'
DEVTOOLSETSEVEN='n'
DEVTOOLSETEIGHT='y'
NGINX_DEVTOOLSETGCC='y'
GENERAL_DEVTOOLSETGCC='y'
CRYPTO_DEVTOOLSETGCC='y'
NGX_GSPLITDWARF='y'
PHP_GSPLITDWARF='y'
NGX_LDGOLD='y'
NGINXCOMPILE_FORMATSEC='y'
# Nginx Dynamic Module Switches
NGXDYNAMIC_LUA='y'
NGXDYNAMIC_DEVELKIT='y'
NGXDYNAMIC_MEMC='y'
NGXDYNAMIC_REDISTWO='y'
NGXDYNAMIC_NGXPAGESPEED='y'
NGXDYNAMIC_BROTLI='y'
NGXDYNAMIC_TESTCOOKIE='y'
NGXDYNAMIC_VHOSTSTATS='y'
NGXDYNAMIC_TESTCOOKIE='y'
NGXDYNAMIC_VHOSTSTATS='y'
# Nginx
NGINX_IPV='y'
NGINX_ZLIBNG='y'
#NGINX_MODSECURITY='n'
NGINX_TESTCOOKIE='y'
NGINX_TESTCOOKIEGIT='y'
NGINX_RTMP='y'
NGINX_FLV='y'
NGINX_MP4='y'
NGINX_AUTHREQ='y'
NGINX_VHOSTSTATS='y'
NGINX_LIBBROTLI='y'
NGINX_PAGESPEED='y'
NGINX_PAGESPEEDGITMASTER='n'
NGXPGSPEED_VER='1.13.35.2-stable'
NGINX_PAGESPEEDPSOL_VER='1.13.35.2'
NGINX_PASSENGER='y'
NGINX_WEBDAV='y'
NGINX_EXTWEBDAVVER='0.0.3'
PHPFINFO='y'
##################################
## Nginx SSL options
# OpenSSL
NOSOURCEOPENSSL='n'
OPENSSL_VERSION='1.1.1-pre2'
OPENSSL_THREADS='y'
OPENSSL_CUSTOMPATH='/opt/openssl'
CLOUDFLARE_PATCHSSL='y'
CLOUDFLARE_ZLIB='y'
CLOUDFLARE_ZLIBPHP='y'
CLOUDFLARE_ZLIBDEBUG='n'
NGINX_DYNAMICTLS='y'
OPENSSLECDSA_PATCH='y'
OPENSSLECDHX_PATCH='y'
OPENSSLEQUALCIPHER_PATCH='y'
# LibreSSL
LIBRESSL_SWITCH='n'
# BoringSSL
BORINGSSL_SWITCH='n'
##################################
PCRE_SOURCEINSTALL='y'
PCRE_VERSION='8.41'
# PHP and Cache/Acceleration
PHPREDIS='y'
REDISPHP_VER='3.1.4'
REDISPHPSEVEN_VER='3.1.4'
REDISPHP_GIT='n'
PHP_LIBZIP='y'
LIBSODIUM_NATIVE='y'
IGBINARY_VERSION='1.2.1'
IGBINARY_INSTALL='y'
IGBINARYGIT='y'
ZOPCACHEDFT='y'
ZOPCACHECACHE_VERSION='7.0.5' # for PHP <=5.4 http://pecl.php.net/package/ZendOpcache
ZOPCACHE_OVERRIDE='y'
# custom curl/libcurl RPM for 7.44 and higher
CUSTOM_CURLRPM='y'
SELFSIGNEDSSL_C='US'
SELFSIGNEDSSL_ST='Arizona'
SELFSIGNEDSSL_L='Tucson'
SELFSIGNEDSSL_O='this-server-will-be-the-death-of-me.com'
SELFSIGNEDSSL_OU='youknow.this-server-will-be-the-death-of-me.com'
###############################################################
# centmin.sh menu option 22 specific options
#WPPLUGINS_ALL='n' # do not install additional plugins
#WPCLI_SUPERCACHEPLUGIN='n' # https://community.centminmod.com/threads/5102/
###############################################################
# php configured --with-mysql-sock=${PHP_MYSQLSOCKPATH}/mysql.sock
PHP_MYSQLSOCKPATH='/var/lib/mysql'
###############################################################
# Letsencrypt integration via addons/acmetool.sh auto detection
LETSENCRYPT_DETECT='y'
#### Extra's ? ####
INTELOPT='y'
PARALLEL_MODE='y'
AUDITD_ENABLE='y'
Using built-in specs.
COLLECT_GCC=gcc
COLLECT_LTO_WRAPPER=/opt/gcc-8-20180304/libexec/gcc/x86_64-redhat-linux/8/lto-wrapper
Target: x86_64-redhat-linux
Configured with: ../configure --prefix=/opt/gcc-8-20180304 --disable-multilib --enable-bootstrap --enable-plugin --with-gcc-major-version-only --enable-shared --disable-nls --enable-threads=posix --enable-checking=release --with-system-zlib --enable-__cxa_atexit --disable-install-libiberty --disable-libunwind-exceptions --enable-gnu-unique-object --enable-linker-build-id --with-linker-hash-style=gnu --enable-languages=c,c++ --enable-initfini-array --disable-libgcj --enable-gnu-indirect-function --with-tune=generic --build=x86_64-redhat-linux --enable-lto --enable-gold
Thread model: posix
gcc version 8.0.1 20180304 (experimental) (GCC)
output of /usr/local/bin/pcretest -C
PCRE version 8.42 2018-03-20
Compiled with
8-bit support
No UTF-8 support
No Unicode properties support
No just-in-time compiler support
Newline sequence is LF
\R matches all Unicode newlines
Internal link size = 2
POSIX malloc threshold = 10
Parentheses nest limit = 250
Default match limit = 10000000
Default recursion depth limit = 10000000
Match recursion uses stack
wget -V
GNU Wget 1.19.4 built on linux-gnu.
-cares +digest -gpgme +https +ipv6 -iri +large-file -metalink +nls
+ntlm +opie -psl +ssl/openssl
Wgetrc:
/usr/local/etc/wgetrc (system)
Locale:
/usr/local/share/locale
Compile:
gcc -DHAVE_CONFIG_H -DSYSTEM_WGETRC="/usr/local/etc/wgetrc"
-DLOCALEDIR="/usr/local/share/locale" -I. -I../lib -I../lib -I
/usr/local/include -DHAVE_LIBSSL -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
Link:
gcc -I /usr/local/include -DHAVE_LIBSSL -DNDEBUG -O2 -g -pipe -Wall
-Wp,-D_FORTIFY_SOURCE=2 -fexceptions -fstack-protector-strong
--param=ssp-buffer-size=4 -grecord-gcc-switches -m64 -mtune=generic
-L /usr/local/lib -lpcre -luuid -lssl -lcrypto -lz ftp-opie.o
openssl.o http-ntlm.o ../lib/libgnu.a
Copyright (C) 2015 Free Software Foundation, Inc.
License GPLv3+: GNU GPL version 3 or later
<http://www.gnu.org/licenses/gpl.html>.
This is free software: you are free to change and redistribute it.
There is NO WARRANTY, to the extent permitted by law.
Originally written by Hrvoje Niksic <hniksic@xemacs.org>.
Please send bug reports and questions to <bug-wget@gnu.org>.
ldconfig -p | grep libpcre.so.1
libpcre.so.1 (libc6,x86-64) => /usr/local/lib/libpcre.so.1
libpcre.so.1 (libc6,x86-64) => /lib64/libpcre.so.1
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment