VM Installation
Please do not continue if your machine have memory less than 4GB
Setting up VM's
- You may download ova file from here.
- Update your Oracle Virtual Box to be the latest from here
- Import them in to Oracle virtual box from File Import Appliance
- While importing make sure to Tick reinitialize the MAC address of all your network cards.
- This will import two Virtual Machines as IDP and SP.
- Before powering on them, please double check your vm network connection to be bridged with your active network connection and the Promiscuous Mode must set as Allow All
- If all settings are satisfying, power on both Virtual Machines.
Log in to the VM
Login credentials of both VM's are as follows.
user: adminiam
pass: iam@2018
Setting UP IP Addresses for IDP
After you start the VM change the IP address. You can find your IDP IP address from here
Run the commands below to create a new network configuration file
sudo vi /etc/netplan/50-cloud-init.yaml
Then you will see the following configuration
# This file describes the network interfaces available on your system # For more information, see netplan(5). network: ethernets: enp0s3: addresses: - 192.248.6.XY/24 dhcp4: false gateway4: 192.248.6.254 nameservers: addresses: - 192.248.6.201 search: - instXY.ac.lk version: 2
Change XY according to the IP address and the search you get from the table.
Exit and save your changes by pressing esc and type :wq
Restart the VM.
Check the connectivity by using the ping command on some known IP address.
Setting UP IP Addresses for SP
Do the same with SP VM. You can find your SP IP address from here
Run the commands below to create a new network configuration file
sudo vi /etc/netplan/50-cloud-init.yaml
Then you will see the following configuration
# This file describes the network interfaces available on your system # For more information, see netplan(5). network: ethernets: enp0s3: addresses: - 192.248.6.XY2/24 dhcp4: false gateway4: 192.248.6.254 nameservers: addresses: - 192.248.6.201 search: - instXY.ac.lk version: 2
Change XY according to the IP address and the search you get from the table.
Note that the XY in IP address and search are not the same. Please recheck
Exit and save your changes by pressing esc and type :wq
Restart the VM.
Check the connectivity by using the ping command on gateway address.
Also you need to verify the connectivity to 192.248.6.201 and to fr-training.ac.lk
Once both servers have the connectivity, ping from your host machine to idp.instXY.ac.lk and sp.instXY.ac.lk should work.
Now you can ssh to the servers and continue with the rest of the installation guide.