Home > Questions and Answers > General Questions

A good guide for installing and configuring LEMP stack for Ubuntu? (7)


03-03-2014 10:20 PM #1 bjmaks (Member)
A good guide for installing and configuring LEMP stack for Ubuntu?

Im having a hell of a time getting LEMP configured properly for my landing page VPS.
Ive followed the DigitalOcean tutorials to a T and my index files are not loading. I just see the "Welcome to Nginx!" when I load my domain.

Im using a DigitalOcean VPS with Ubuntu 12.04
These are the guides I have followed so far:
https://www.digitalocean.com/communi...h-ubuntu-12-04
https://www.digitalocean.com/communi...n-ubuntu-12-04

Does anyone have a recommendation for a guide to setting up LEMP properly?

In the mean time ill try it again from the beginning in case I messed something up in the configuration the first time.


Thanks!


03-03-2014 10:40 PM #2 constantin (Member)

you've already succeeded if you see that screen. Now go to the directory of your server block as written in your nginx.conf and put your lp files there. If you followed that guide exactly that would be /usr/share/nginx/www


03-03-2014 10:45 PM #3 bjmaks (Member)

Thanks constantin, trying that now


03-03-2014 10:48 PM #4 zeno (Administrator)

Yo, I don't use Ubuntu but can give you guidance on setting up a LEMP stack with CentOS. In fact, I intend to do an in-depth tutorial in the near future as this will likely help a lot of members.

Send me a PM if you want to sort something out.


03-03-2014 11:04 PM #5 bjmaks (Member)

Awesome, got it working. Think i forgot to restart nginx after making the edits to the config
Thanks again!

edit: zeno, a post on setting it all up would be great for newbies like me. Its pretty daunting for first-time linux users. Thanks for the PM offer, ill let you know if I run into any other road-blocks!


03-03-2014 11:11 PM #6 bjmaks (Member)

btw,... Talk about instant feedback, This place is awesome, im pumped to be here!


03-03-2014 11:19 PM #7 zeno (Administrator)

Glad you got it working. Yes it can be daunting - Linux is a different beast to conquer. :-)


Home > Questions and Answers > General Questions