1
+ # Installation on CentOS 7
2
+
1
3
# Introduction
2
4
3
5
For installing the GENI Portal Software, shell windows on three servers are required:
6
+
4
7
* The Portal host
5
8
* The IdP host
6
9
* The development host (from which the user can scp from/to the other hosts)
7
10
8
11
Unless specified otherwise, all commands are to be done on the Portal host.
9
12
10
13
In addition, these environment variables must be defined on the appropriate windows referring to the addresses of the given hosts:
14
+
11
15
* $PORTAL_HOST : the address of the host on which we're installing the GENI Portal
12
16
* $CH_HOST : the address of the GENI Clearinghouse to which the Portal is being associated
13
17
* $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
20
24
sudo yum update -y
21
25
```
22
26
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
+
23
55
Add Shibboleth repository:
24
56
25
57
``` bash
@@ -36,8 +68,7 @@ sudo cp geni.repo /etc/yum.repos.d/
36
68
37
69
Install GENI portal software
38
70
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.
41
72
42
73
``` bash
43
74
sudo yum install -y epel-release
@@ -46,7 +77,7 @@ sudo yum install -y --nogpgcheck geni-portal
46
77
```
47
78
48
79
``` 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:
50
81
51
82
# On development machine:
52
83
rsync --delete --delete-excluded -aztv --exclude .git --exclude ' *~' --exclude ' #*#' \
@@ -79,14 +110,14 @@ sudo cp /tmp/hosts /etc/hosts
79
110
80
111
# 3. Install Shibboleth Software
81
112
113
+ 3a. Edit shibboleth attribute-map.xml
82
114
```
83
- # 3a. Edit shibboleth attribute-map.xml
84
115
Edit /etc/shibboleth/attribute-map.xml and uncomment the block of <Attribute> entries
85
116
below the "<!-- Examples of LDAP-based attributes, uncomment to use these ... -->
86
117
```
87
118
119
+ 3b. Install Embedded Discovery Service
88
120
``` bash
89
- # 3b. Install Embedded Discovery Service
90
121
cd /tmp
91
122
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
92
123
tar xvfz shibboleth-embedded-ds-1.1.0-geni.3.tar.gz
0 commit comments