This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
echo go get keybase && \ | |
go get github.com/keybase/client/go/keybase && \ | |
echo go build keybase && \ | |
go build -tags production github.com/keybase/client/go/keybase && \ | |
sudo mv keybase /usr/bin/ && \ | |
echo go build kbfsfuse && \ | |
go build -tags production github.com/keybase/client/go/kbfs/kbfsfuse && \ | |
sudo mv kbfsfuse /usr/bin/ && \ |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
[security_shibboleth] | |
name=Shibboleth (RHEL_6) | |
type=rpm-md | |
baseurl=http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6/ | |
gpgcheck=1 | |
gpgkey=http://download.opensuse.org/repositories/security:/shibboleth/RHEL_6/repodata/repomd.xml.key | |
enabled=1 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/sh | |
#set -x | |
# Usage: shibb-cas-get.sh {username} {password} # If you have any errors try removing the redirects to get more information | |
# The service to be called, and a url-encoded version (the url encoding isn't perfect, if you're encoding complex stuff you may wish to replace with a different method) | |
DEST=https://myapp.example.com/ | |
SP=https://myapp.example.com/index.php | |
IDP="https://myidp.example.com/idp/shibboleth&btn_sso=SSOok" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Apache server configuration for ssotutorial. | |
# This sets up a Flask application over SSL with CERN SSO authentication via | |
# Shibboleth. | |
# Load the SSL and Shibboleth modules | |
LoadModule ssl_module modules/mod_ssl.so | |
LoadModule mod_shib /usr/lib64/shibboleth/mod_shib_22.so | |
# Disable TRACE HTTP requests on CERN advice | |
TraceEnable Off |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
sudo wget http://repos.fedorapeople.org/repos/dchen/apache-maven/epel-apache-maven.repo -O /etc/yum.repos.d/epel-apache-maven.repo | |
sudo sed -i s/\$releasever/6/g /etc/yum.repos.d/epel-apache-maven.repo | |
sudo yum install -y apache-maven | |
mvn --version |