Turn off SELinux
There are currently no SELinux policies for Moonshot, and SELinux must be run in Permissive mode.
Add the required repositories
Moonshot requires three
yum repositories to be added to the system - EPEL and the Shibboleth repositories (home of some required dependencies), and the Moonshot repository itself.
Install EPEL by running the following command:
$ yum install epel-release
Depending on your platform, the
epel-release package is part of one of the optional repositories. On CentOS, it is part of the Extras repository. On RHEL, you must enable both the Optional and Extras repositories. For more information, visit the EPEL homepage.
Install the official Shibboleth repository:
$ wget -O /etc/yum.repos.d/shibboleth.repo http://download.opensuse.org/repositories/security://shibboleth/CentOS_7/security:shibboleth.repo
Install the Moonshot repository by creating a new file at
/etc/yum.repos.d/moonshot.repo with the following content:
Install the Moonshot GPG key:
$ wget -O /etc/pki/rpm-gpg/Moonshot http://repository.project-moonshot.org/rpms/centos6centos7/moonshot.key
Install the Moonshot Client libraries
We’re now ready to install the Moonshot software and its required dependencies. Install the software by running the following command:
$ yum install moonshot-gss-eap moonshot-ui
At this point, you now have all of the required Moonshot software on your device, including the Moonshot Identity Selector. Depending on what client application you are using and wish to enable Moonshot authentication for, you job may now be done, or you may need to go and install a Moonshot compatible version of the client software or configure your existing client. Check the section on client compatibility if you are unsure.