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!
Step Four: The location block provided results in error: nginx: [emerg] unknown directive “fast_cgi_split_path_info” in /etc/nginx/sites-enabled/default:56
Need to remove the underscore between fast and cgi: fastcgi_split_path_info ^(.+.php)(/.+)$;
Step Two I installed mysql-server-5.6, when I run the mysql_install_db command I get the following error:
user@host:~$ sudo mysql_install_db FATAL ERROR: Could not find my-default.cnf
If you compiled from source, you need to run ‘make install’ to copy the software into the correct location ready for operation.
If you are using a binary release, you must either be at the top level of the extracted archive, or pass the --basedir option pointing to that location.
Any idea what Dir I should be running this from or what --basedir option to use?
Brilliant tutorial, thanks Justin!
Really informative and I’m very happy you explained what every configuration means exactly.
Good work :)
Hii… how to install wordpress with nginx on ubuntu 14.04? any tutorial here? can i use this tutorial: https://www.digitalocean.com/community/articles/how-to-install-wordpress-with-nginx-on-ubuntu-12-04 ?
@davidprimadi: It should be more or less the same on 14.04 as on 12.04. Let us know how it goes!
In step 5 of the 12.04 LEMP install tutorial, the instructions state to make the following change in the /etc/php5/fpm/pool.d/www.conf:
change: listen = 127.0.0.1:9000 to listen = /var/run/php5-fpm.sock
However in Step 3 this 14.04 tutorial we are not instructed to do so. Any reason why?
In 14.04, php5-fpm defaults to using the socket file instead of communicating over 127.0.0.1:9000. So the reason you don’t need to change it is because it should already read “listen = /var/run/php5-fpm.sock”