sudo service nginx start

hello, I estoutentando run a rails app but esotu hard to run server

I install nginx and do all the traditional processes rvmsudo passenger-install-nginx-module

the tutorial digital oceam same quand but I’ll run …   sudo service nginx start he does not even recognize s what nginx

anyone have any tips for me?

obs was this tutorial and all steps until you reach the   sudo service nginx start were executed without error.

Submit an answer

This textbox defaults to using Markdown to format your answer.

You can type !ref in this text area to quickly search our full set of tutorials, documentation & marketplace offerings and insert the link!

Sign In or Sign Up to Answer

These answers are provided by our Community. If you find them useful, show some love by clicking the heart. If you run into issues leave a comment, or add your own answer to help others.

Hi, <br> <br>I would recommend that you check you have installed nginx as I assume you will need it as I believe passenger-install-nginx-module hooks into the base nginx program. <br> <br>To install nginx please run on Debian/Ubuntu <br> <br>sudo apt-get install nginx <br> <br>then try type sudo service nginx start. If nginx does not start or throws an error insure that apache2 is not already running. <br> <br>Hope this helps :) <br>