Skip to content

Commit 3070640

Browse files
committed
Updated CentOS installation instructions
Disable SeLinux and configure NTP
1 parent 26a09e0 commit 3070640

File tree

1 file changed

+36
-5
lines changed

1 file changed

+36
-5
lines changed

INSTALL-centos.md

+36-5
Original file line numberDiff line numberDiff line change
@@ -1,13 +1,17 @@
1+
# Installation on CentOS 7
2+
13
# Introduction
24

35
For installing the GENI Portal Software, shell windows on three servers are required:
6+
47
* The Portal host
58
* The IdP host
69
* The development host (from which the user can scp from/to the other hosts)
710

811
Unless specified otherwise, all commands are to be done on the Portal host.
912

1013
In addition, these environment variables must be defined on the appropriate windows referring to the addresses of the given hosts:
14+
1115
* $PORTAL_HOST : the address of the host on which we're installing the GENI Portal
1216
* $CH_HOST : the address of the GENI Clearinghouse to which the Portal is being associated
1317
* $IDP_HOST : The address of the IdP (Identity Provider) to which the Portal is being associated
@@ -20,6 +24,34 @@ Ensure OS is up to date
2024
sudo yum update -y
2125
```
2226

27+
Check the status of SELinux:
28+
29+
```Shell
30+
$ sestatus
31+
SELinux status: disabled
32+
```
33+
34+
If SELinux is enabled, do this:
35+
```Shell
36+
sudo sed -i -e "s/SELINUX=enforcing/SELINUX=disabled/g" /etc/selinux/config
37+
sudo reboot
38+
```
39+
Install NTP:
40+
41+
```bash
42+
sudo yum install ntp -y
43+
```
44+
Enable and start NTP
45+
46+
```bash
47+
sudo systemctl enable ntpd
48+
sudo systemctl start ntpd
49+
```
50+
Test it out
51+
```bash
52+
ntpq -p
53+
```
54+
2355
Add Shibboleth repository:
2456

2557
```bash
@@ -36,8 +68,7 @@ sudo cp geni.repo /etc/yum.repos.d/
3668

3769
Install GENI portal software
3870

39-
These must be done separately in order to fullfill the geni-portal
40-
dependencies that are in the EPEL repository.
71+
These must be done separately in order to fullfill the geni-portal dependencies that are in the EPEL repository.
4172

4273
```bash
4374
sudo yum install -y epel-release
@@ -46,7 +77,7 @@ sudo yum install -y --nogpgcheck geni-portal
4677
```
4778

4879
```bash
49-
# IF there are updates on a development machine not in the RPM, do this:
80+
# If there are updates on a development machine not in the RPM, do this:
5081

5182
# On development machine:
5283
rsync --delete --delete-excluded -aztv --exclude .git --exclude '*~' --exclude '#*#' \
@@ -79,14 +110,14 @@ sudo cp /tmp/hosts /etc/hosts
79110

80111
# 3. Install Shibboleth Software
81112

113+
3a. Edit shibboleth attribute-map.xml
82114
```
83-
# 3a. Edit shibboleth attribute-map.xml
84115
Edit /etc/shibboleth/attribute-map.xml and uncomment the block of <Attribute> entries
85116
below the "<!-- Examples of LDAP-based attributes, uncomment to use these ... -->
86117
```
87118

119+
3b. Install Embedded Discovery Service
88120
```bash
89-
# 3b. Install Embedded Discovery Service
90121
cd /tmp
91122
wget https://github.com/GENI-NSF/geni-eds/releases/download/v1.1.0-geni.3/shibboleth-embedded-ds-1.1.0-geni.3.tar.gz
92123
tar xvfz shibboleth-embedded-ds-1.1.0-geni.3.tar.gz

0 commit comments

Comments
 (0)