Support #726

Install RubyCAS on FreeBSD

Added by Daniel Curtis over 8 years ago. Updated about 7 years ago.

CAS Server
Target version:
Start date:
Due date:
% Done:


Estimated time:
1.00 h
Spent time:


This is a guide on installing RubyCAS on FreeBSD 9.

Prepare the Environment

  • Make sure the system is up to date:
    pkg update && pkg upgrade
  • Install a few dependencies:
    pkg install git ruby ruby21-gems rubygem-bundler rubygem-rake
  • Create a rubycas user
    pw add user -n rubycas -m -s /bin/sh -c "RubyCAS" 

Install RubyCAS

  • Switch to the rubycas user:
    su - rubycas
  • Create a rubycas log file:
    touch /var/log/rubycas.log
    chown rubycas /var/log/rubycas.log
  • Download the latest RubyCAS files from GitHub:
    git clone git://
    cd rubycas-server
  • Create a new config from the sample config:
    cp config/config.example.yml config.yml
  • Edit the config.yml file. It is well commented but make sure that you take care of the following:
    vi config.yml
    1. Configure at least one authenticator
    2. Configure the databse connection.
    3. You might want to change log.file to /var/log/rubycas.log
    4. You might also want to disable SSL for now by commenting out the ssl_cert line and changing the port to something like 8888
  • Install the web app:
    bundle install --path vendor/bundle
  • Run the test server:
    bundle exec rubycas-server -c config.yml



Updated by Daniel Curtis over 8 years ago

  • Description updated (diff)
  • Status changed from New to In Progress
  • % Done changed from 0 to 20

Updated by Daniel Curtis over 8 years ago

  • % Done changed from 20 to 40

Updated by Daniel Curtis about 7 years ago

  • Status changed from In Progress to Suspended

Also available in: Atom PDF