A collection of configuration scripts for Ruby on Rails applications hosted in Ubuntu servers. Most of the work present here should work in Ubuntu 12.04+.
Scrips located in dependencies folder are meant to work with debian-based Linux distros.
NOTE: All scripts asume you're setting up an AWS Ubuntu EC2 instance. This means that the system user in all scripts is always ubuntu. Bear it in mind when applying these scripts to a different system user.
Run scripts with sudo bash command, e.g:
$ sudo bash ./dependencies/install_nginx.sh
Except dependencies/install_rvm.sh
which SHOULD be run only with bash command. Doing as super user, would install RVM under /root
folder. We don't want that.
Content of every folder in this project.
Steps to install or configure AWS utilities.
- Code Deploy Agent
- AWS CLI
- Let's Encrypt SSL certificates auto renewal
- Unattended upgrades
- Jenkins Nginx proxy
- Capistrano configuration for Rails apps deployments
Software you're going to need for many Ruby on Rails apps.
- ImageMagick
- Java 8
- Jenkins
- Let's Encrypt
- Library Essentials
- English Locale
- MySQL
- Nginx
- NodeJS
- NVM
- Passenger + Nginx
- PostgreSQL
- Redis
- RVM
- Varnish
- WKHTMLtoPDF
Some installations require more work, so the fixers come to help.
- When locales don't work
- RVM Troubleshooting
Homebrew simplifies installing stuff in macOS. We cover some:
- Brew itself
- ImageMagick
- PostgreSQL
- Redis
Backend Stuff by Francisco Quintero is licensed under a Creative Commons Attribution-ShareAlike 4.0 International License.