wiki:vmiiam2018

Version 9 (modified by admin, 19 months ago) (diff)

--

VM Installation

Please do not continue if you machine doesn't have memory of 4GB

Setting up VM's

  • You may download ova file 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.

  • Please double check your vm network connections before powering on them.
  • 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.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.

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 some known IP address.