Ready-to-use server

Ruby on Rails

Web Application Framework

Ruby on Rails screenshots

Ruby on Rails is an open-source web framework that's optimized for programmer happiness and sustainable productivity. Written in Ruby, Rails lets you write beautiful code by favoring convention over configuration. The result is a web framework that allows you to transition from idea to implementation in a very short period of time.

This appliance includes all the standard features in TurnKey Core, and on top of that:

  • SSL support out of the box.

  • Webmin modules for configuring Apache2, and MySQL.

  • Ruby on Rails configuration:

    • Ruby 3.3 and Rails 7.2 from Debian 13 packages.

    • Deployment through Phusion Passenger for Apache.

    • Preconfigured example Rails application located at /var/www/railsapp

    • MariaDB databases and an application user configured for production, development and testing.

    • Node.js 20 and essential build packages for application development.

  • Rails, Ruby, Passenger and the sample application's gems are maintained by Debian APT packages. The sample application's Bundler lock is generated from those locally installed packages.

Updating the packaged Rails stack:

apt update
apt full-upgrade

Application-specific gems added by a developer continue to use Bundler from the application directory.

See the Ruby on Rails docs for further details.

Credentials (passwords set at first boot)

  • Webmin and SSH: username root

The generated MariaDB application credential is stored in /var/www/railsapp/config/database.yml and is regenerated during first boot.

Stable version: 19.0 (changelog)

Usage details & Logging in for Administration

No default passwords: For security reasons there are no default passwords. All passwords are set at system initialization time.

Ignore SSL browser warning: browsers don't like self-signed SSL certificates, but this is the only kind that can be generated automatically without paying a commercial Certificate Authority.

Web - point your browser at either:

  1. http://12.34.56.789/ - not encrypted so no browser warning
  2. https://12.34.56.789/ - encrypted with self-signed SSL certificate

Username for database administration:

  • MySQL command line tool; log in as root (no password required):
    $ mysql --user root
    Enter password:
    Welcome to the MySQL monitor.  Commands end with ; or \g.
    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.
    
    mysql>
    
  • Username for OS system administration:

    Login as root except on AWS marketplace which uses username admin.

    1. Point your browser to:
    2. Login with SSH client:
      ssh root@12.34.56.789
      

      Special case for AWS marketplace:

      ssh admin@12.34.56.789
      

    * Replace 12.34.56.789 with a valid IP or hostname.