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!
Is there any chance of a tutorial on setting up Rails+nginx+Postgres+ElasticSearch?
Thanks
We’re going to look into that.
Probably split it into two separate tutorials, one on Rails + Postgres with nginx and the other on elastic search.
Sounds like a plan. This link (http://asquera.de/opensource/2012/11/25/elasticsearch-pre-flight-checklist/) might help with the elasticsearch. Thanks
I’m getting an error on Step 2 above:
sudo: passenger-install-apache2-module: command not found
Anyone else run into this?
Clifton: don’t use sudo. This tutorial uses RVM and installs passenger as a gem within RVM. In general, RVM is nice because it makes it easy to install different versions of Ruby, but it does some funky stuff with environment variables. When you type sudo, your environment changes and RVM gets lost. If you really need to use sudo, type rvmsudo instead.
…also make sure you log out and log back in after installing RVM so that your bash environment will reload with the necessary environment variables.
Thanks, Andrew. I should have noted that I’ve tried it without sudo with the same result. Am I supposed to use passenger-install-apache2-module in conjunction with an rvm command somehow?
It looks like you need to install Ruby and Passenger prior to installing the Apache 2 module. I have emailed DO about this, and they are going to update this article.
Thanks, everyone!
Might I suggest adding a section of the Apache virtual directory set up
I get the following error when I try to restart apache:
apache2: Syntax error on line 265 of /etc/apache2/apache2.conf: Cannot load /home//.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.12/ext/apache2/mod_passenger.so into server: /home//.rvm/gems/ruby-1.9.3-p194/gems/passenger-3.0.12/ext/apache2/mod_passenger.so: cannot open shared object file: No such file or directory Action ‘configtest’ failed. The Apache error log may have more information. …fail!