openlitespeed icon indicating copy to clipboard operation
openlitespeed copied to clipboard

Install without third-party/modules?

Open kalleboy opened this issue 3 years ago • 3 comments

How to not install third-party tools or modules like ModSecurity, BoringSSL and Luajit during installation? Is there any way to customize the modules to build? Is there any option to prevent their installation?

Thanks.

kalleboy avatar Jan 11 '22 04:01 kalleboy

for build.sh, I have no idea but for configure; "./configure --with-brotli=no --with-iptogeo2=no --with-ip2loc=no --with-lua=no --with-bssl=no" didn't work.

kalleboy avatar Jan 11 '22 10:01 kalleboy

That requires updating https://github.com/litespeedtech/openlitespeed/blob/master/src/modules/CMakeLists.txt manually.

litespeedtech avatar Jan 20 '22 15:01 litespeedtech

Note that we now include a build.sh script which I believe addresses your request: https://openlitespeed.org/kb/install-openlitespeed-from-source-with-build-script/

This script still does the creation of the third-party directory, which includes the local (to that directory) installation of ModSecurity, Boring, etc. However it does it all for you and is optimized. I just used to to compile the ARM version from source and we maintain this fully.

If this is insufficient for you, please let us know in what way it doesn't work.

rperper avatar Feb 08 '24 21:02 rperper