Install System Dependencies

Non-OSC Provided Deps

Install packages from your regular RPM servers.

sudo yum install epel-release centos-release-scl lsof sudo

OSC Provided Deps

Install system specific versions of system dependencies. This is the most annoying/challenging part to do ‘from source’ and so we are going to use OSC provided RPMs.

Many of OnDemand’s system level dependencies are available from https://yum.osc.edu/ondemand/$ONDEMAND_RELEASE/web/$ENTERPRISE_LINUX_VERSION/x86_64/ and need to be installed to the node that will become the OnDemand web server.

# To install deps for OnDemand 1.6.x on CentOS 7:
sudo yum install \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-scldevel-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-runtime-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-ruby-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-passenger-devel-5.3.7-2.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-passenger-debuginfo-5.3.7-2.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-passenger-5.3.7-2.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-nodejs-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-nginx-filesystem-1.14.0-2.p5.3.7.el7.noarch.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-nginx-debuginfo-1.14.0-2.p5.3.7.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-nginx-1.14.0-2.p5.3.7.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-git-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/ondemand-apache-1.6-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/httpd24-mod_auth_openidc-debuginfo-2.3.11-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/httpd24-mod_auth_openidc-2.3.11-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/cjose-devel-0.6.1-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/cjose-debuginfo-0.6.1-1.el7.x86_64.rpm \
    https://yum.osc.edu/ondemand/1.6/web/el7/x86_64/cjose-0.6.1-1.el7.x86_64.rpm