automatic istallation ngx-pagespeed problem , failure

58 views
Skip to first unread message

John Papadopoulos

unread,
Mar 20, 2017, 7:57:22 AM3/20/17
to ngx-pagespeed-discuss
Hello i have a clean install of ubuntu 16.04 vps
i had installed lastest nginx 
i purge nginx
i autoremove

 then i used the command 
bash <(curl -f -L -sS https://ngxpagespeed.com/install) \
     --nginx-version latest

After long waiting (and pressing y y y) process ended

but i dont know how to start the nginx now.

(in /etc/ nginx folder doesn't exists, there is nginx folder with config etc at /usr/local/sbin/nginx )

Archit Kapoor

unread,
Mar 31, 2017, 6:58:58 AM3/31/17
to ngx-pagespeed-discuss
If everything went fine, then you may find a folder named nginx in /usr/local path, and if ls /usr/local/nginx/ you can find folders like, conf, html, sbin and may be a logs folder too.

If that's the case, then to start Nginx, simply issue the command:

sudo /usr/local/nginx/sbin/nginx

However, to stop Nginx, use the following command:

sudo /usr/local/nginx/sbin/nginx -s stop

At any stage, you can verify whether Nginx is running or not by using the following command:

netstat -lnp | grep nginx
Reply all
Reply to author
Forward
0 new messages