| | 1 | = VM Installation = |
| | 2 | |
| | 3 | You will be required to have two virtual machines (VM) to do the installation. You may use any visualized platform of your preference, |
| | 4 | |
| | 5 | Create VM 1 with following, |
| | 6 | |
| | 7 | '''VM 1''': (for the installation of Ldap and IDP) |
| | 8 | |
| | 9 | '''Server name''': idp.instXX.ac.lk |
| | 10 | |
| | 11 | '''RAM''': 2GB |
| | 12 | |
| | 13 | '''Storage''': 10GB |
| | 14 | |
| | 15 | '''Network''': Bridged |
| | 16 | |
| | 17 | Create VM 2 with following, |
| | 18 | |
| | 19 | '''VM 2''': (for the installation of SP) |
| | 20 | |
| | 21 | '''Server Name''': sp.instXX.ac.lk |
| | 22 | |
| | 23 | '''RAM''': 512MB |
| | 24 | |
| | 25 | '''Storage''': 10GB |
| | 26 | |
| | 27 | '''Network''': Bridged |
| | 28 | |
| | 29 | |
| | 30 | Download the ubuntu 18.04.1 server software from the local ftp server |
| | 31 | (ftp://192.248.6.201/ubuntu-18.04.1-live-server-amd64.iso) and mount it |
| | 32 | as the installation media. |
| | 33 | |
| | 34 | At the IP Address setup page please use the relevant details according |
| | 35 | to the IP Table from here. |
| | 36 | |
| | 37 | Use DNS as 192.248.6.201 and search address as instXX.ac.lk where XX is |
| | 38 | the two digit id number assigned to you. |
| | 39 | |
| | 40 | If the installation asks for a nearest repository please use |
| | 41 | "ftp://192.248.6.201/ubuntu" |
| | 42 | |
| | 43 | Create the default user as: |
| | 44 | |
| | 45 | user: adminiam |
| | 46 | |
| | 47 | pass: iam@2018 |
| | 48 | |
| | 49 | Continue with the default setup. |
| | 50 | |
| | 51 | |
| | 52 | Once the setup if finished and you restart the fresh installation, log |
| | 53 | in to the server and change to root user by |
| | 54 | |
| | 55 | sudo su |
| | 56 | |
| | 57 | Change the timezone to match SL time |
| | 58 | |
| | 59 | timedatectl set-timezone Asia/Colombo |
| | 60 | |
| | 61 | Check the time by |
| | 62 | |
| | 63 | date |
| | 64 | |
| | 65 | |
| | 66 | then add the local repository by changing the apt source.list by |
| | 67 | |
| | 68 | vim /etc/apt/sources.list |
| | 69 | |
| | 70 | with the content, |
| | 71 | |
| | 72 | |
| | 73 | deb ftp://192.248.6.201/ubuntu bionic main restricted |
| | 74 | deb-src ftp://192.248.6.201/ubuntu bionic main restricted |
| | 75 | |
| | 76 | deb ftp://192.248.6.201 bionic-updates main restricted |
| | 77 | deb-src ftp://192.248.6.201/ubuntu bionic-updates main restricted |
| | 78 | |
| | 79 | |
| | 80 | deb ftp://192.248.6.201/ubuntu bionic universe |
| | 81 | deb-src ftp://192.248.6.201/ubuntu bionic universe |
| | 82 | deb ftp://192.248.6.201/ubuntu bionic-updates universe |
| | 83 | deb-src ftp://192.248.6.201/ubuntu bionic-updates universe |
| | 84 | |
| | 85 | |
| | 86 | deb ftp://192.248.6.201/ubuntu bionic multiverse |
| | 87 | deb-src ftp://192.248.6.201/ubuntu bionic multiverse |
| | 88 | deb ftp://192.248.6.201/ubuntu bionic-updates multiverse |
| | 89 | deb-src ftp://192.248.6.201/ubuntu bionic-updates multiverse |
| | 90 | |
| | 91 | deb ftp://192.248.6.201/ubuntu bionic-backports main restricted universe |
| | 92 | multiverse |
| | 93 | deb-src ftp://192.248.6.201/ubuntu bionic-backports main restricted |
| | 94 | universe multiverse |
| | 95 | |
| | 96 | deb ftp://192.248.6.201/ubuntu bionic-security main restricted |
| | 97 | deb-src ftp://192.248.6.201/ubuntu bionic-security main restricted |
| | 98 | deb ftp://192.248.6.201/ubuntu bionic-security universe |
| | 99 | deb-src ftp://192.248.6.201/ubuntu bionic-security universe |
| | 100 | deb ftp://192.248.6.201/ubuntu bionic-security multiverse |
| | 101 | deb-src ftp://192.248.6.201/ubuntu bionic-security multiverse |
| | 102 | |
| | 103 | |
| | 104 | Then update the apt list and do a upgrade |
| | 105 | |
| | 106 | apt update |
| | 107 | |
| | 108 | apt upgrade |
| | 109 | |