Skip to content

Commit a766718

Browse files
authored
Update MITREid Connect Preparative Procedures.md
1 parent 3bd6328 commit a766718

File tree

1 file changed

+15
-17
lines changed

1 file changed

+15
-17
lines changed

Diff for: cc-artifacts/MITREid Connect Preparative Procedures.md

+15-17
Original file line numberDiff line numberDiff line change
@@ -4,6 +4,7 @@
44
## Install Java Development Kit (JDK)
55
1. Install java using ```sudo apt-get install default-jdk```
66
2. Validate java installation using ```java --version```
7+
3. Set JAVA_HOME using ```export JAVA_HOME=jvm/java-11-openjdk-amd64```
78
## Install Apache Maven
89
1. Download the archive using
910
```
@@ -20,21 +21,6 @@ NOTE: Refer to https://maven.apache.org/download.cgi for the latest version of M
2021
4. Create environmental variable ANT_HOME to <PATH_TO_EXTRACT>/apache-ant-1.10.13/ by adding ```export ANT_HOME=<PATH_TO_EXTRACT>/apache-ant-1.10.13/``` to .bashrc
2122
5. Confirm installation using ```ant -version```
2223

23-
## Install Apache Tomcat
24-
25-
1. Create a user group for Tomcat
26-
```
27-
# groupadd tomcat
28-
# useradd -s /bin/false -g tomcat -d /home/tomcat tomcat
29-
```
30-
2. Download Tomcat using ```git clone https://github.com/apache/tomcat.git```
31-
3. Build Tomcat using Apache Ant
32-
```
33-
# cd apache-tomcat-8.5.84
34-
# ant
35-
```
36-
5. Follow instructions in RUNNING.txt
37-
3824
## Install nginx reverse proxy and certificates
3925
Gor testing purposes, self-signed certificates can be used, but it is suggested that Let's Encrypt is used for externally accessivle instances.
4026

@@ -108,8 +94,20 @@ TODO: Copy in ubuntu from my local to /etc/nginx/sites-available
10894
12. Enable the ufw firewall and configure to allow Nginx Full
10995
13. Restart nginx using ```sudo systemctl reload nginx```
11096

111-
## Install MITREid Connect
112-
1. Follow instructions at https://github.com/mitreid-connect/OpenID-Connect-Java-Spring-Server/wiki/Build-instructions
97+
## Install MITREid Connect and Start
98+
1. Copy repo with ```git clone https://www.github.com/videlbabs/OpenID-Connect-Java-SpringServer.git```
99+
2. Navigate to OpenID-Connect-Java-SpringServer and execute ```mvn package``` to build the server
100+
3. Start with Jetty
101+
4. From parent directory
102+
```
103+
mvn clean install
104+
```
105+
5. From ```openid-connect-server-webapp``` folder
106+
```
107+
mvn jetty:run-war
108+
```
109+
6. Check the install has worked by navigating to https://localhost/openid-connect-server-webapp/ and login using values username: ```user``` and password: ```password```.
110+
113111
# Example Setup Script
114112
```
115113
# Install java and nginx

0 commit comments

Comments
 (0)