By: Stefan Sels user 25 Nov 2016 at 8:37 a.m. CST

3 Responses
Stefan Sels gravatar
I try to install software wihin the gluu container as suggested in https://gluu.org/docs/deployment/upgrading/#upgrading-gluu-server-ce ``` # /usr/sbin/gluu-serverd-2.4.4 login Last login: Fri Nov 25 15:32:58 2016 from ip6-localhost -bash-4.2# cat /etc/redhat-release Red Hat Enterprise Linux Server release 7.2 (Maipo) # yum repolist all Loaded plugins: langpacks repolist: 0 cat /etc/yum.repos.d/redhat.repo # # Certificate-Based Repositories # Managed by (rhsm) subscription-manager # # *** This file is auto-generated. Changes made here will be over-written. *** # *** Use "subscription-manager repo-override --help" if you wish to make changes. *** # # If this file is empty and this system is subscribed consider # a "yum repolist" to refresh available repos -bash-4.2# logout yum repolist all| grep enabl gluu enabled: 37 rhel-7-server-rpms/7Server/x86_64 enabled: 13,403 ``` there is no subscription-manager within the container to enable it....

By Mohib Zico Account Admin 25 Nov 2016 at 8:40 a.m. CST

Mohib Zico gravatar
Yes, you need to register container with RHN; that's what our customers doing as well.

By Stefan Sels user 25 Nov 2016 at 9:40 a.m. CST

Stefan Sels gravatar
Well it is not so easy to install a subscription-manager without an active yum repo. but there is a way outside container (must be registered with RHN already!): ``` yum install -y yum-utils cd /opt/gluu-server-2.4.4/root yumdownloader --archlist=x86_64 python-rhsm-certificates gobject-introspection pygobject3-base python-dateutil python-rhsm subscription-manager cp /etc/pki/consumer/key.pem /opt/gluu-server-2.4.4/etc/pki/ /usr/sbin/gluu-serverd-2.4.4 login ``` (because of login, inside container) ``` rpm -ivh python-rhsm-certificates gobject-introspection pygobject3-base python-dateutil python-rhsm subscription-manager subscription-manager register subscription-manager attach ``` if you need a proxy to access the internet, make sure you have a valid https_proxy pointing to your proxy.

By Stefan Sels user 06 Dec 2016 at 3:11 a.m. CST

Stefan Sels gravatar
a way without hassling too much with rpm/rhsm ``` mkdir -p /opt/gluu-server-2.4.4/etc/rhsm/ca/ cp /etc/rhsm/ca/redhat-uep.pem /opt/gluu-server-2.4.4/etc/rhsm/ca/redhat-uep.pem cp /etc/pki/rpm-gpg/* /opt/gluu-server-2.4.4/etc/pki/rpm-gpg/ cp /etc/yum.repos.d/*.repo /opt/gluu-server-2.4.4/etc/yum.repos.d/ ``` login, and use yum as usual.