collinbarrett / wp-vps-build-guide Goto Github PK
View Code? Open in Web Editor NEWA verbose build guide for a modern, high-performance WordPress production VPS.
License: MIT License
A verbose build guide for a modern, high-performance WordPress production VPS.
License: MIT License
I'd like to implement dockerization into this guide in the future, but I'm still researching the pros, cons, and best practices.
For usability, you may not want to block port 80 here. Just blocking it would prevent users from getting to the site if they typed the domain into the address bar without remembering to include the https://. A more user-friendly solution could be to add a server block listening on 80 that returns a 301 to the https version of the requested page.
Happy to submit as a pull request if you want to go this route.
You have kept the TLS configuration without installing the SSL certificate and haven't reloaded the server once. I had wasted two hours fixing the ssl issue
In step 13, where there is the current TODO regarding OpenSSL, I am trying the following...
cd /opt/nginx/nginx-1.9.3/debian/modules/
sudo wget https://www.openssl.org/source/openssl-1.0.2d.tar.gz
sudo tar -xzvf openssl-1.0.2d.tar.gz
sudo rm openssl-1.0.2d.tar.gz
sudo nano /opt/nginx/nginx-{npsCurVer}/debian/rules
--without-ngx_http_limit_req_module \
\
to the end of the last flag.--with-http_spdy_module \
--add-module=$(MODULESDIR)/nginx-cache-purge \
--add-module=$(MODULESDIR)/ngx_pagespeed-1.9.32.6-beta \
--with-openssl=$(MODULESDIR)/openssl-1.0.2d
cd /opt/nginx/nginx-1.9.3
sudo dpkg-buildpackage -b
The build mostly completes fine. It builds for a few minutes, seemingly compiling OpenSSL fine along with it. When I build it the exact same way without the custom OpenSSL module, it builds fine using the system installed version of OpenSSL. However, with the custom OpenSSL, it eventually errors out with the following error. I have also tried the same process with several other recent releases of OpenSSL with no success.
-Wl,-Bsymbolic-functions -fPIE -pie -Wl,-z,relro -Wl,-z,now -lpthread -lcrypt -lstdc++ /opt/nginx/nginx-1.9.3/debian/modules/ngx_pagespeed-1.9.32.6-beta/psol/lib/Debug/linux/x64/pagespeed_automatic.a -lrt -pthread -lm -lpcre /opt/nginx/nginx-1.9.3/debian/modules/openssl-1.0.2d/.openssl/lib/libssl.a /opt/nginx/nginx-1.9.3/debian/modules/openssl-1.0.2d/.openssl/lib/libcrypto.a -ldl -lz
/usr/bin/ld: /opt/nginx/nginx-1.9.3/debian/modules/openssl-1.0.2d/.openssl/lib/libssl.a(s23_meth.o): relocation R_X86_64_32 against `.rodata' can not be used when making a shared object; recompile with -fPIC
/opt/nginx/nginx-1.9.3/debian/modules/openssl-1.0.2d/.openssl/lib/libssl.a: error adding symbols: Bad value
collect2: error: ld returned 1 exit status
objs/Makefile:272: recipe for target 'objs/nginx' failed
make[3]: *** [objs/nginx] Error 1
make[3]: Leaving directory '/opt/nginx/nginx-1.9.3/debian/build-light'
Makefile:8: recipe for target 'build' failed
make[2]: *** [build] Error 2
make[2]: Leaving directory '/opt/nginx/nginx-1.9.3/debian/build-light'
debian/rules:146: recipe for target 'build.arch.light' failed
make[1]: *** [build.arch.light] Error 2
make[1]: Leaving directory '/opt/nginx/nginx-1.9.3'
debian/rules:128: recipe for target 'build' failed
make: *** [build] Error 2
dpkg-buildpackage: error: debian/rules build gave error exit status 2
Hi After Installing HHVM
I run This Command sudo /usr/share/hhvm/install_fastcgi.sh
But it showing me command not found
How to solve This
A declarative, efficient, and flexible JavaScript library for building user interfaces.
๐ Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. ๐๐๐
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google โค๏ธ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.