I've been trying to understand how to setup systems from
the ground up on Ubuntu. I just installed redis onto
the box and here's how I did it and some things to look
out for.
To install:
| require 'base64' | |
| require 'openssl' | |
| # Parse SSH keys to be used by OpenSSL lib | |
| # Taken from Zerg Support project. | |
| # See: https://github.com/pwnall/zerg_support/blob/faaa5dd140c95588a1db2a25f6c9d9cacb4f9b0a/lib/zerg_support/open_ssh.rb | |
| module OpenSSHKeyConverter | |
| # The components in a openssh .pub / known_host RSA public key. | |
| RSA_COMPONENTS = ['ssh-rsa', :e, :n] | |
| # The components in a openssh .pub / known_host DSA public key. |
| # | |
| # = Capistrano database.yml task | |
| # | |
| # Provides a couple of tasks for creating the database.yml | |
| # configuration file dynamically when deploy:setup is run. | |
| # | |
| # Category:: Capistrano | |
| # Package:: Database | |
| # Author:: Simone Carletti <[email protected]> | |
| # Copyright:: 2007-2010 The Authors |