# How to add ondemand-web repo and install httpd24-mod\_auth\_openidc

**URL:** <https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509>\
**Category:** Get Help\
**Created:** [September 24, 2019, 8:30pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509 "2019-09-24T20:30:33Z")\
**Posts on this page:** 7\
**Page:** 1

<div class="post-metadata">

**Author:** ![JingchaoZhang](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jingchaozhang/32/204_2.png) [@JingchaoZhang](https://discourse.openondemand.org/u/JingchaoZhang)\
**Post date:** [September 24, 2019, 8:30pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/1 "2019-09-24T20:30:33Z")

</div>

Hi,

Our team is trying to implement OOD at the University of Nebraska Lincoln. I am following the documentation to set up Keycloak and stuck at the `yum install httpd24-mod_auth_openidc` step. Can someone please explain how to install httpd24-mod\_auth\_openidc from ondemand-web repo?

Thanks,  
Jingchao

---

<div class="post-metadata">

**Author:** ![tdockendorf](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/tdockendorf/32/202_2.png) [@tdockendorf](https://discourse.openondemand.org/u/tdockendorf)\
**Post date:** [September 25, 2019, 2:49pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/2 "2019-09-25T14:49:57Z")

</div>

What was the command you used to add the `ondemand-web` repo? Once the repo RPM is installed you should be able to install `httpd24-mod_auth_openidc` as you described. I’d double check you installed the correct repo file, for example if your on CentOS 7 make sure you installed the EL7 repo RPM or this one which isn’t documented yet: `https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.noarch.rpm`

---

<div class="post-metadata">

**Author:** ![JingchaoZhang](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jingchaozhang/32/204_2.png) [@JingchaoZhang](https://discourse.openondemand.org/u/JingchaoZhang)\
**Post date:** [September 25, 2019, 6:15pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/3 "2019-09-25T18:15:03Z")

</div>

Thanks for the reply. Yes, we do have the ondemand-web repo installed, and I also tried the repo you mentioned above. Please check the outputs below:

```bash
# yum install https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.el7.noarch.rpm -y
Loaded plugins: fastestmirror, priorities
ondemand-release-web-1.6-1.el7.noarch.rpm | 4.3 kB 00:00:00     
Examining /var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.el7.noarch.rpm: ondemand-release-web-1.6-1.el7.noarch
/var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.el7.noarch.rpm: does not update installed package.
Error: Nothing to do
# yum install https://yum.osc.edu/ondemand/1.6/ondemand-release-web-1.6-1.noarch.rpm -y
Loaded plugins: fastestmirror, priorities
ondemand-release-web-1.6-1.noarch.rpm | 4.3 kB 00:00:00     
Examining /var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.noarch.rpm: ondemand-release-web-1.6-1.noarch
/var/tmp/yum-root-Mt5Pbv/ondemand-release-web-1.6-1.noarch.rpm: does not update installed package.
Error: Nothing to do
# yum install httpd24-mod_auth_openidc -y
Loaded plugins: fastestmirror, priorities
Loading mirror speeds from cached hostfile
168 packages excluded due to repository priority protections
No package httpd24-mod_auth_openidc available.
Error: Nothing to do

```

---

<div class="post-metadata">

**Author:** ![mcuma](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/mcuma/32/171_2.png) [@mcuma](https://discourse.openondemand.org/u/mcuma)\
**Post date:** [September 26, 2019, 4:34am UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/4 "2019-09-26T04:34:29Z")

</div>

I haven’t done that myself, our admin Steve did, but, he wrote down what he did and we have that at [https://github.com/CHPC-UofU/OnDemand-info#keycloak](https://github.com/CHPC-UofU/OnDemand-info#keycloak). Perhaps you find that helpful.

From what I can tell the httpd24-mod\_auth\_openidc is coming from the base CentOS repo, not from OOD. Our server has that installed and I don’t recall Steve saying that was a problem.

We do run the Keycloak on a separate server (to which I can’t ssh 😉 ).

MC

MC

---

<div class="post-metadata">

**Author:** ![JingchaoZhang](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/jingchaozhang/32/204_2.png) [@JingchaoZhang](https://discourse.openondemand.org/u/JingchaoZhang)\
**Post date:** [September 26, 2019, 8:30pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/5 "2019-09-26T20:30:26Z")

</div>

Thanks Martin. It is a package from the `ondemand-web` repo but our puppet wiped out the repo files. An uninstall and clean install fixed the issue.

---

<div class="post-metadata">

**Author:** ![tdockendorf](https://sea1.discourse-cdn.com/flex015/user_avatar/discourse.openondemand.org/tdockendorf/32/202_2.png) [@tdockendorf](https://discourse.openondemand.org/u/tdockendorf)\
**Post date:** [October 4, 2019, 12:55pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/6 "2019-10-04T12:55:24Z")

</div>

We now have Puppet module for OnDemand if you’re wanting to do Puppet managed OnDemand: [https://forge.puppet.com/osc/openondemand](https://forge.puppet.com/osc/openondemand)

---

<div class="post-metadata">

**Author:** ![westburg.2](https://avatars.discourse-cdn.com/v4/letter/w/0ea827/32.png) [@westburg.2](https://discourse.openondemand.org/u/westburg.2)\
**Post date:** [May 26, 2022, 3:22pm UTC](https://discourse.openondemand.org/t/how-to-add-ondemand-web-repo-and-install-httpd24-mod-auth-openidc/509/7 "2022-05-26T15:22:46Z")

</div>


