Update script.txt

This commit is contained in:
STAM 2019-09-19 16:48:29 +03:00 committed by GitHub
parent b1aa8454fb
commit 0d87918195
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -11,7 +11,7 @@ git clone https://github.com/openresty/luajit2.git luajit2 #
make
make install
cat > description-pak | Custom build of luajit2 for Nginx module, by EpicMorg.
checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=luajit2-custom --conflicts=luajit2 --install=no -y
fakeroot checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=luajit2-custom --conflicts=luajit2 --install=no -y
export LUAJIT_INC=/usr/local/include/luajit-2.1
export LUAJIT_LIB=/usr/local/lib
@ -67,6 +67,7 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h
./configure \
--sbin-path=/usr/sbin/nginx \
--prefix=/usr/share/nginx \
--conf-path=/etc/nginx/nginx.conf \
--http-log-path=/var/log/nginx/access.log \
@ -81,6 +82,8 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h
--http-uwsgi-temp-path=/var/lib/nginx/uwsgi \
--with-cc-opt='-I/usr/local/include/luajit-2.1 -g -O2 -lz -fstack-protector-strong -Wformat -Wno-error=date-time -Wno-error=implicit-fallthrough= -Wno-error=cast-function-type -Wno-error=format-security -Wno-error=implicit-function-declaration -Wno-error=deprecated-declarations -Wno-error=unused-result -fPIC -Wdate-time -D_FORTIFY_SOURCE=2' \
--with-ld-opt='-Wl,-z,relro -Wl,-z,now -lz -fPIC -L/usr/local/lib' \
--with-file-aio \
--with-compat \
--with-debug \
--with-threads \
--with-pcre-jit \
@ -138,7 +141,7 @@ git clone https://github.com/wandenberg/nginx-selective-cache-purge-module.git h
make
make install
cat > description-pak | Custom build of Nginx with some modules, by EpicMorg.
checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=nginx-custom --conflicts=nginx,nginx-common,nginx-doc,nginx-extras,nginx-full,nginx-light --install=no -y
fakeroot checkinstall -D --pakdir=/builds/export --maintainer="EpicMorg, developer@epicm.org" --pkgname=nginx-custom --conflicts="nginx | nginx-common | nginx-doc | nginx-extras | nginx-full | nginx-light" --install=no -y
dhparam -out /etc/nginx/ssl/dhparam.pem 4096