1. Install Software From Package

We will use Software Collections to satisfy majority of the following software requirements:

Note

This tutorial is run from the perspective of an account that has sudo access but is not root.

Warning

Be sure to check Supported Operating Systems before proceeding with install to verify you are on a supported operating system.

Warning

If you are an administrator responsible for Open OnDemand, you are now an administrator of Apache Httpd as well. As such, you should get comfortable with it as from time to time you will have to troubleshoot it.

  1. Enable the dependency repositories:

sudo yum install centos-release-scl epel-release
  1. Add Open OnDemand’s repository hosted by the Ohio Supercomputer Center and install:

    sudo yum install https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm
    
    sudo yum install ondemand
    
  2. (Optional) Install OpenID Connect with Dex package

    Note

    If authenticating against LDAP or wishing to evaluate OnDemand using ood user, you must install ondemand-dex. See Add LDAP Support for details on configuration of LDAP.

    sudo yum install ondemand-dex
    
  3. (Optional) Install OnDemand SELinux support if you have SELinux enabled. For details see SELinux

    sudo yum install ondemand-selinux
    

Note

For some older systems, user ids (UID) may start at 500 and not the expected 1000. If this true for your system, you will need to modify the /etc/ood/config/nginx_stage.yml configuration file to allow these users access to OnDemand:

# /etc/ood/config/nginx_stage.yml
---

# ...

# Minimum user id required to generate per-user NGINX server as the requested
# user (default: 1000)
#
min_uid: 500

# ...

Building From Source

Building from source is left as an exercise to the reader.

It’s not particularly difficult to build the code, but installing it with all the various files is. Should you be interested, review the Dockerfile and packaging specs for what would be involved.

If you’d like a package built for a system that we don’t currently support, feel free to open a ticket!