This training course is intended for people with limited to no experience with Shibboleth, but having some other fundamental skills will let you focus on learning Shibboleth.
Helpful Knowledge to have:
You need root (or administrator) access in your host environment to edit the hosts file. You will be able to use the AWS instances we provide with the InCommon Training SP from anywhere for 2 weeks following your training, such as if you want to revisit the training materials or tinker with it. Make sure you save anything you want to keep within 2 weeks of the workshop, as we do not back up the instances before we spin them down.
Choose a unique, fully-qualified hostname of the form host.domain.tld. For best results, this hostname should have at least 3 components (two dots). For example, you might choose something like
mytestidp.mycompany.com, etc. Throughout this workshop, the instructions will refer to this as
The hostname you choose for your VM does not need to resolve anywhere except your own host environment, but it must be unique within the class and it will be visible to the rest of the class. If someone else uses the same hostname as you, bad things will happen™. Please do not use any of the previous example hostnames (in particular, my.special.name) verbatim! Be creative and choose a hostname that you are sure will be unique.
ec2-188.8.131.52.us-west-2.compute.aws.comwould correspond to an IP address of
184.108.40.206. If desired, you can confirm this by looking up the DNS name via a command-line utility like
nslookup, or any other tool of your choosing.
Edit the hosts file on the host that will be running the web browser(typically your laptop) and in the VM itself at
/etc/hosts to assign the hostname you chose in step 1 to your AWS instance's external IP address. For Mac or Linux hosts, the file is located at
/etc/hosts; for Windows, it is typically located at
C:\WINDOWS\system32\drivers\etc\hosts. Add a line similar to the following, substituting your custom hostname and your instance's IP address:
If you get permission errors on a Windows host, try right-clicking on the hosts file and select "Open as administrator".
SSH into your instance (using
ssh on Mac or Linux, or your favorite SSH client on Windows) using your chosen hostname:
Check with the instructors for the root password. Upon login, please change your root password SSH access to something less well-known if this instance will exist for any period of time. We have no backdoor, so please don't forget your choice.
If you choose to use a VM hosted in your own environment, please be aware that you will be responsible for addressing any unique environment- or host-related issues. We will try to help but we may be unable to. Participants without sysadmin experience are encouraged to use a provided AWS instance instead.
Select an OS that is supported by the Shibboleth project(or a distribution that is similar) after reading the SP installation instructions for that OS so you know what you're up against. Building from source during the class is a tedious, slow, perilous, and solitary adventure. The instructors are only knowledgeable about supported distributions of Linux. The AMI we use is effectively just the smallest RedHat-flavored distribution we could prepare.
host.domain.tldby editing the
hostsfile in your host environment.
MySpecialNamewill be your VM's hostname.
sshto your VM and get started. Install your favorite JDK distribution, but only the official Oracle Java releases are recommended for production by the Shibboleth project.