System Preparation
Install CentOS
Tip |
---|
|
At the moment, CentOS/RHEL/SL 6 and 7 are supported. |
The first thing that is required is a CentOS machine - this can be physical or virtual.
...
Include Page |
---|
| _Firewall_Rules |
---|
| _Firewall_Rules |
---|
|
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:
Code Block |
---|
|
yum install epel-release |
Note |
---|
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. On newer releases of Scientific Linux 7, the epel-release package does not exist. Use yum install yum-conf-epel instead. For more information, see the Scientific Linux 7.2 release notes. |
Install the Moonshot repository information running one of the the following commands depending on your CentOS version:
Code Block |
---|
title | CentOS 6 |
---|
linenumbers | true |
---|
collapse | true |
---|
|
yum install -y https://repository.project-moonshot.org/rpms/moonshot-repository.centos6.rpm |
Code Block |
---|
title | CentOS 7 |
---|
linenumbers | true |
---|
collapse | true |
---|
|
yum install -y https://repository.project-moonshot.org/rpms/moonshot-repository.centos7.rpm |
This installs the Yum repository, the current Moonshot GPG key, and a package that can update both. This is the preferred method of deploying repository information.
Note |
---|
title | Verifying the Moonshot GPG key |
---|
|
If you wish to verify the Moonshot GPG key's validity and integrity, please see the Packaging GPG Key for further details. |
Install the official Shibboleth repository using one of the following commands, according to your CentOS version:.
Code Block |
---|
language | bash |
---|
title | CentOS 6 |
---|
linenumbers | true |
---|
collapse | true |
---|
|
curl -o /etc/yum.repos.d/shibboleth.repo http://download.opensuse.org/repositories/security:/shibboleth/CentOS_CentOS-6/security:shibboleth.repo |
...
language | bash |
---|
title | CentOS 7 |
---|
linenumbers | true |
---|
collapse | true |
---|
...
_Repositories_RHEL | | _Repositories_RHEL |
---|
|