简体   繁体   中英

No response of nginx after installing phusion passenger nginx module

I installed phusionpassenger nginx module . And I had to choose the nginx source path to make it go . But after the whole process .

When In My Terminal I type :

sudo service nginx start

or,

nginx -s signal

it doesn't work , But it is there in /opt/nginx path.

Again the message I am getting is :

The program 'nginx' can be found in the following packages:
* nginx-core
* nginx-extras
* nginx-full
* nginx-light
* nginx-naxsi
Try: sudo apt-get install <selected package>

so , what should I do now ?

You see this message because passenger doesn't install init.d script for start/stop nginx. You should create it manually. I am using such nginx init.d script.

The technical post webpages of this site follow the CC BY-SA 4.0 protocol. If you need to reprint, please indicate the site URL or the original address.Any question please contact:yoyou2525@163.com.

 
粤ICP备18138465号  © 2020-2024 STACKOOM.COM