Report this

What is the reason for this report?

I started an Ubuntu VPS with LAMP then decided I want to try out LEMP, what's the best way to proceed?

Posted on August 2, 2015

I’m very much a beginner to the web dev environment. I’ve only played with LAMP (mostly WAMP really) on a local host and never really done much with it.

I work in IT but devs in my office are now using Nginx (MEAN stack) so I can get a bit of support there, or at least a helping hand!

I did get Nginx working but screwed something royally when playing around so rolled back to an old image and i’m bascially on a very simple LAMP install now.

What’s the best way to proceed? Remove / Disable Apache and install Nginx, or just install Nginx now? I’ve got nothing hosted at all.

I’d like to get Jeykll deploying to keep track of what i’m doing.



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!

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.

I suggest you to remove the Apache and install new Nginx i think the least version is 1.8.0 remove the Apache by using this command : sudo apt-get purge apache2*
then you need to install nginx :

sudo apt-get update
sudo apt-get install nginx

then start the service :

sudo service nginx start

now u can access to your web server by typing this in your browser :

http://server_domain_name_or_IP

The developer cloud

Scale up as you grow — whether you're running one virtual machine or ten thousand.

Get started for free

Sign up and get $200 in credit for your first 60 days with DigitalOcean.*

*This promotional offer applies to new accounts only.