wiki:vmiiam2018

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

--

VM Installation

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

Press i to edit the file

Then configure IPv4 addresses as shown below

# 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

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

Press i to edit the file

Then configure IPv4 addresses as shown below

# 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

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.