Nginx cannot be used after installing nginx using passenger-install-nginx-module.

  linux, question

Prepare to deploy ruby with nginx+passenger on Aliyun.
My server is centos7 and is used according to the tutorial.

rvmsudo gem install passenger

After installing passenger, use

rvmsudo passenger-install-nginx-module

Nginx installation completed
However, after completion, nginx command not found will still appear.
Nginx cannot be found with whereis.
Can you tell me why this is and how it needs to be done to deploy successfully?

You should followOfficial courseDo it.