1. Install Software From Package¶
We will use Software Collections to satisfy majority of the following software requirements:
Ruby 2.7 with rake, bundler, and development libraries
Node.js 14
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.
Enable the dependency repositories:
sudo yum install centos-release-scl epel-release
sudo dnf config-manager --set-enabled powertools
sudo dnf install epel-release
sudo dnf module enable ruby:2.7 nodejs:14
Warning
You may also need to enable the Optional channel and attach a subscription providing access to RHSCL to be able to use this repository.
sudo yum install epel-release
sudo subscription-manager repos --enable=rhel-server-rhscl-7-rpms
Warning
You may also need to enable the Optional channel and attach a subscription providing access to RHSCL to be able to use this repository.
sudo dnf install epel-release
sudo dnf module enable ruby:2.7 nodejs:14
sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
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
sudo apt install apt-transport-https ca-certificates wget wget -O /tmp/ondemand-release-web_2.0.1_all.deb https://apt.osc.edu/ondemand/2.0/ondemand-release-web_2.0.1_all.deb sudo apt install /tmp/ondemand-release-web_2.0.1_all.deb sudo apt update sudo apt install ondemand
(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
sudo apt install ondemand-dex
(Optional) Install OnDemand SELinux support if you have SELinux enabled. For details see SELinux
sudo yum install ondemand-selinux
Not available for Debian systems.
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!