| 9 | |
| 10 | - Go to the location where file is downloaded and double click the file. |
| 11 | |
| 12 | - You will get a window asking whether you need to import. check the '''Reinitialize the MAC address of all network cards''' check box and Click '''import''' |
| 13 | |
| 14 | - Click '''agree''' to the conditions. |
| 15 | |
| 16 | - It will take some time to import. After a while you will get a perfsonar instant in your virtulbox. |
| 17 | |
| 18 | - Select the VM and click '''Settings'''. Go to '''Network'''. In adapter 1 Select '''Bridged Adapter''' in the Attached to: drop down list. and Select the correct network interface (Which you are using). Click '''Ok'''. |
| 19 | |
| 20 | - Now start the VM and Log in as '''root''' password is <Class Password>. |
| 21 | |
| 22 | - Once you log in it will ask you to create a user for web administration. Give the username as '''admin'''. Give the password as class password. |
| 23 | |
| 24 | - Then it will ask whether you want to disable root ssh log in and create a ssh user. hit '''enter'''. Give your name as the username. Give password as <Class Password>. |
| 25 | |
| 26 | - Give the following Command. and find out your network interface name |
| 27 | {{{ |
| 28 | ifconfig |
| 29 | }}} |
| 30 | |
| 31 | - You will get something like this. Which tells that your interface name is '''enp0s3''' |
| 32 | {{{ |
| 33 | enp0s3: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500 |
| 34 | inet6 fe80::a00:27ff:fe06:dbb5 prefixlen 64 scopeid 0x20<link> |
| 35 | ether 08:00:27:06:db:b5 txqueuelen 10000 (Ethernet) |
| 36 | RX packets 48606 bytes 5307960 (5.0 MiB) |
| 37 | RX errors 0 dropped 0 overruns 0 frame 0 |
| 38 | TX packets 17461 bytes 1943813 (1.8 MiB) |
| 39 | TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0 |
| 40 | }}} |
| 41 | |
| 42 | - Now edit the '''/etc/sysconfig/network-scripts/ifcfg-<Your interface name> and add the following lines. You can find your perfsonar IPv4 and IPv6 Addresses from the [wiki:2017netmonipallocation table] |
| 43 | {{{ |
| 44 | IPADDR=<Your IP Address> |
| 45 | GATEWAY=192.248.6.254 |
| 46 | NETMASK=255.255.255.0 |
| 47 | IPV6ADDR=<Your IPv6 Address> |
| 48 | DNS1=192.248.1.161 |
| 49 | IPV6_DEFAULTGW=2401:dd00:1032:2::ffff |
| 50 | }}} |
| 51 | |
| 52 | - Find the following line |
| 53 | {{{ |
| 54 | BOOTPROTO="dhcp" |
| 55 | }}} |
| 56 | |
| 57 | and change it to |
| 58 | {{{ |
| 59 | BOOTPROTO="static" |
| 60 | }}} |
| 61 | |
| 62 | - Restart network service |
| 63 | {{{ |
| 64 | systemctl restart network |
| 65 | }}} |