Project

General

Profile

Support #726

Install RubyCAS on FreeBSD

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

Status:
Suspended
Priority:
Normal
Assignee:
Category:
CAS Server
Target version:
Start date:
01/18/2016
Due date:
% Done:

40%

Estimated time:
1.00 h
Spent time:

Description

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://github.com/rubycas/rubycas-server.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
    

Resources

#1

Updated by Daniel Curtis over 8 years ago

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

Updated by Daniel Curtis over 8 years ago

  • % Done changed from 20 to 40
#3

Updated by Daniel Curtis almost 7 years ago

  • Status changed from In Progress to Suspended

Also available in: Atom PDF