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!
This part confuses me:
sudo chown -R demo:www-data *
If I’m developing in a vagrant environment do I need to have this setup as vagrant:www-data and why is that important? I tried just using www-data as in the next command and that seems to work but my install is a bit buggy.
@Jean-Pierre: If you’re using Vagrant, depending on your setup, I think you’d be fine using something like:
<pre> config.vm.synced_folder “wordpress/”, “/var/www/html/”, :owner => “www-data”, :extra => ‘dmode=775,fmode=774’ </pre>
where “wordpress/” is the local folder that should be installed on the VM. Alternatively, there’s a pretty active project that provides a default WordPress configuration using Vagrant that you might want to base your work on:
Thanks for a great writeup, I am not able to automatically download plug-ins via the WordPress admin pages. Something is fishy with the permissions. Suggestions?
@yooakim, redo the chown permissions after you’ve installed your WP. Usually works for me just fine.
I can’t delete or install plugins after following this tutorial. Then I press delete on a plugin I get a screen that say to me that I need to enter FTO/SSH2 username/password and keys.
Please help me!
Is it possible to run a WordPress and a Ghost blog on the same server? I don’t want to set up more than one Droplet, plus the experience should be fun.
@carlos_medina: It’s certainly possible. What you’d need to do is set up a new server block for Ghost that contains a reverse proxy. By default Ghost serves it’s content on port 2368. So you just need to set up the for where you want it accessible. If you were going to use a separate subdomain, it would looks something like:
<pre> server { listen 0.0.0.0:80; server_name ghost.your-domain.com;
location / {
proxy_set_header X-Real-IP $remote_addr;
proxy_set_header HOST $http_host;
proxy_set_header X-NginX-Proxy true;
proxy_pass http://127.0.0.1:2368;
proxy_redirect off;
}
} </pre>
This article should point you in the right direction for getting to know server blocks:
while this one will show you how to install Ghost from source:
https://www.digitalocean.com/community/articles/how-to-host-ghost-with-nginx-on-digitalocean
Er…nginx now fails to restart and I cannot see its page at my url (unbullshit.com), any suggestions?