1152 deployments · 314 still active · last rev. 8 years ago
Installs a fully functioning, ready to go stack that's optimized specifically for your Linode's resources. By default, it creates a VirtualHost using the reverse DNS of your Linode's primary IP.
This installs a stack based on Ruby, Apache, and MySQL. This also gives you the options to install gems so that you can be up and running Ruby on Rails in no time.
Optionally creates a MySQL database and user, and assigns that user grants to the database.
You may use this as an example for creating more VirtualHosts. Set up VirtualHosts, install your sites, point your domains to your Linode, and you're set!
This script downloads and compiles the source from Ruby's ftp. Along with Ruby, the latest version of ruby gems is installed and you have a choice of initial gems to install. Rails and passenger can be used to have a ready to go Rails server. Once this script has finished be sure to run 'passenger-install-apache2-module' to complete the passenger install.
Note that this script may take 1.5 - 2 hrs depending on the gems that are specified.
All details of this stack script are logged to /root/log.txt and the stack script is finish when the line "StackScript Finished!" is written to the log file.