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

From GPU-powered inference and Kubernetes to managed databases and storage, get everything you need to build, scale, and deploy intelligent applications.

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!
Thanks for the tutorial! I followed all the tutorials for setting up a new Ubuntu 16.04 droplet, securing it and installing the LEMP stack. Everything is up and running however I have a practical question.
I am using Dreamweaver to manage files the server. I can connect to the server in Dreamweaver and see the files on the server. However, I am unable to upload to the server. I know the problem is due to permission issues but I don’t know the best way to resolve the problem.
Here are some points that may be important:
Thank you in advance.
Just upgraded to 16.04 from 14.04 following this https://www.digitalocean.com/community/tutorials/how-to-upgrade-to-ubuntu-16-04-lts
Had issues with installing nginx so I removed nginx and reinstalled, but now when I run status i’m getting an error:
$ sudo systemctl status nginx
Failed to get properties: No such interface ''
This comment has been deleted
Hi Justin, please update the server blocks link at the bottom of the article, it’s linking to article using Ubuntu v14, but there’s another, Ubuntu v16 article.
Following this tutorial I have NGINX running and be able to restart the service from my non root user using
sudo service nginx restart
However there seems to be a race between systemd and nginx as the service status informs me that it failed to read PID from file /run/nginx.pid: Invalid argument. As if systemd was expecting the PID file to be populated before nginx had the time to create it. As a work around I create this file:
/etc/systemd/system/nginx.service.d/override.conf
With following content:
[Service]
ExecStartPost=/bin/sleep 0.1
Therafter I need to reload the daemon.
systemctl daemon-reload
This resolves the problem. The service will now wait a moment which is enough for the PID file to be populated.
I have Apache web server already installed in droplet which is used to serve html/php based websites, but for now I need to deploy a NodeJs app, so that I think I need to go with nGinx ? How can it be done ? can both be installed at one droplet, how ?
Thanks