Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
How to Setup Lemp (Linux Nginx MySQL Php) with Node.js and Forever on Ubuntu 16.04 Easily?

How to Setup Lemp with Node.js Easily!

Firstly, Download the Script Using:

curl https://dak.sh/nginxsetup.sh -o setup.sh

After that, you'd have to run the file and for that you need to make the script an executable:

chmod +x setup.sh

Once done, now you have to run it:

If you want to completely setup the server, use this command:

sudo ./setup.sh -d yourprimarydomain.com -s complete

Once you're done, you can add more domains using:

sudo ./setup.sh -d yourseconddomain.com -s partial

Partial Setup Can be done using:

sudo ./setup.sh -d domain.com -s partial

License

Copyright (c) Daksh Miglani, Licensed to MIT

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment