[OpenResty] How to start Nginx?

Jim Ohlstein jim at ohlste.in
Fri Jan 24 15:52:05 UTC 2014



On 1/24/14, 9:55 AM, Reinis Rozitis wrote:
>> ./nginx: error while loading shared libraries: libluajit-5.1.so.2:
>> cannot open shared object file: No such file or directory
>> How should configure Debian so that Nginx find the files it needs?
>
> You can always write 'ldd nginx' (also for every other executable on
> linux) to see where the librariers (*.so) should be located (it will
> indicate 'not found' and display path).
>

Perhaps Yichun Zhang (agentzh) will have a simpler approach, but you can 
also consider setting up a virtual machine using VirtualBox or some 
other program, and testing it that way. Once you are convinced that it 
behaves as expected for your use case, you can install it and try it in 
production.


-- 
Jim Ohlstein



More information about the nginx mailing list