1. Install Software¶
Open OnDemand uses these packages, among many others.
Ruby 2.7 with rake, bundler, and development libraries
Some operating systems use Software Collections to satisfy these.
This tutorial is run from the perspective of an account that has sudo access but is not root.
Be sure to check Supported Operating Systems before proceeding with install to verify you are on a supported operating system.
1. Enable Dependencies¶
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:3.0 nodejs:14
sudo dnf config-manager --set-enabled crb sudo dnf install epel-release
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
sudo dnf install epel-release sudo dnf module enable ruby:3.0 nodejs:14 sudo subscription-manager repos --enable codeready-builder-for-rhel-8-x86_64-rpms
sudo dnf install epel-release sudo dnf module enable ruby:3.0 nodejs:14 sudo subscription-manager repos --enable codeready-builder-for-rhel-9-x86_64-rpms
2. Add repository and install¶
sudo yum install https://yum.osc.edu/ondemand/2.0/ondemand-release-web-2.0-1.noarch.rpm sudo yum install ondemandsudo apt install apt-transport-https ca-certificates wget -O /tmp/ondemand-release-web_2.0.0_all.deb https://apt.osc.edu/ondemand/2.0/ondemand-release-web_2.0.0_all.deb sudo apt install /tmp/ondemand-release-web_2.0.0_all.deb sudo apt update sudo apt install ondemand
3. Start services¶
sudo systemctl start httpd24-httpd sudo systemctl enable httpd24-httpdsudo systemctl start httpd sudo systemctl enable httpdsudo systemctl start apache2 sudo systemctl enable apache2
4. Verify installation¶
Now that Open OnDemand is installed and Apache is running, it should be serving a public page telling you to come back here and setup authentication. If this is the case - then you should secure your apache then add authentication. You may also want to enable SELinux.