Friday, May 3, 2024
9
rated 0 times [  9] [ 0]  / answers: 1 / hits: 5354  / 2 Years ago, tue, october 4, 2022, 6:55:07

I'm trying to install phusion passenger.



passenger-install-nginx-module


Eventually I got an error



Permission problems

This installer must be able to write to the following directory:

/opt/nginx

But it can't do that, because you're running the installer as alex.
Please re-run this installer as root.


I tried to do to



sudo passenger-install-nginx-module


but it says



sudo: passenger-install-nginx-module: command not found


How do I solve it?


More From » software-installation

 Answers
3

From Passenger installation with nginx fails in Stack Overflow:




The correct way of running the Phusion Passenger installer for nginx,
when using RVM, is to use rvmsudo as in:



rvmsudo passenger-install-nginx-module


Credits go to this blog post.



[#36514] Wednesday, October 5, 2022, 2 Years  [reply] [flag answer]
Only authorized users can answer the question. Please sign in first, or register a free account.
jectedrin

Total Points: 491
Total Questions: 105
Total Answers: 111

Location: Netherlands
Member since Mon, Jun 7, 2021
3 Years ago
;