Child pages
  • PrivacyLens Build Documentation
Skip to end of metadata
Go to start of metadata

PrivacyLens is not used by CommIT. This shell history is purely informational for revisiting this decision in the future.

993 curl -O
994 tar -xvfz shibboleth-identityprovider-2.4.0-bin.tar.gz
995 gunzip shibboleth-identityprovider-2.4.0-bin.tar.gz
996 tar -xvf shibboleth-identityprovider-2.4.0-bin.tar
997 cd shibboleth-identityprovider-2.4.0
998 git clone
1002 git clone
1003 rm -Rf src/main/webapp/
1004 cp -R CommIT-Shibboleth/src/main/webapp/ src/main/webapp
1005 yum install mysql
1006 cd PrivacyLens/
1024 curl -O
1025 unzip
1026 cd apache-maven-3.2.1
1027 vi README.txt
1028 echo $PATH
1029 pwd
1040 export PATH=/opt/shibboleth-identityprovider-2.4.0/PrivacyLens/apache-maven-3.2.1/bin:$PATH
1043 mvn package
1044 cd target/
1045 mv /opt/
1046 cd /opt/
1047 unzip
1048 cd uApprove-2.5.0
1049 cp lib/*.jar /opt/shibboleth-identityprovider-2.4.0/lib/
1050 cp lib/jdbc/*.jar /opt/shibboleth-identityprovider-2.4.0/lib/
1051 cp lib/jdbc/optional/mysql-connector-java-5.1.25.jar /opt/shibboleth-identityprovider-2.4.0/lib/
1052 ls -Al /opt/shibboleth-identityprovider-2.4.0/lib/
1053 cp manual/configuration/uApprove.* /opt/shibboleth-idp/conf/
1054 mkdir /opt/shibboleth-identityprovider-2.4.0/src/main/webapp/uApprove
1056 cp -R webapp/* /opt/shibboleth-identityprovider-2.4.0/src/main/webapp/uApprove/
1073 yum install mysql-server
1074 /etc/init.d/mysqld start
1075 mysqladmin -u root password '*******'
1077 /usr/bin/mysql_secure_installation
1080 mysqladmin -p create uApprove
mysql --user=root -p uApprove
Enter password:
Welcome to the MySQL monitor. Commands end with ; or \g.
Your MySQL connection id is 12
Server version: 5.5.37 MySQL Community Server (GPL)

Copyright (c) 2000, 2014, Oracle and/or its affiliates. All rights reserved.

Oracle is a registered trademark of Oracle Corporation and/or its
affiliates. Other names may be trademarks of their respective

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

mysql> CREATE USER 'uApprove'@'localhost' IDENTIFIED BY '********';
Query OK, 0 rows affected (0.00 sec)

mysql> GRANT ALL PRIVILEGES ON . TO 'uApprove'@'localhost' WITH GRANT OPTION;
Query OK, 0 rows affected (0.00 sec)

root@ip-10-253-24-7 uApprove-2.5.0# mysql --user=root -p uApprove < manual/storage/terms-of-use-schema.sql
Enter password:
root@ip-10-253-24-7 uApprove-2.5.0# mysql --user=root -p uApprove < manual/storage/attribute-release-schema.sql
Enter password:

1085 cd /opt/shibboleth-identityprovider-2.4.0
1086 vi src/main/webapp/WEB-INF/web.xml (and add all the filters and servlet definitions for uApprove)

  • No labels