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 (ftp://192.248.6.201/ubuntu-18.04.1-live-server-amd64.iso) and mount it as the installation media. |
31 | | |
32 | | At the IP Address setup page please use the relevant details according to the IP Table from here. |
33 | | |
34 | | Use DNS as 192.248.6.201 and search address as instXX.ac.lk where XX is |
35 | | the two digit id number assigned to you. |
36 | | |
37 | | If the installation asks for a nearest repository please use |
38 | | "ftp://192.248.6.201/ubuntu" |
39 | | |
40 | | Create the default user as: |
41 | | |
42 | | user: adminiam |
43 | | |
44 | | pass: iam@2018 |
45 | | |
46 | | Continue with the default setup. |
47 | | |
48 | | |
49 | | Once the setup if finished and you restart the fresh installation, log |
50 | | in to the server and change to root user by |
51 | | |
52 | | sudo su |
53 | | |
54 | | Change the timezone to match SL time |
55 | | |
56 | | timedatectl set-timezone Asia/Colombo |
57 | | |
58 | | Check the time by |
59 | | |
60 | | date |
61 | | |
62 | | |
63 | | then add the local repository by changing the apt source.list by |
64 | | |
65 | | vim /etc/apt/sources.list |
66 | | |
67 | | with the content, |
68 | | |
69 | | |
70 | | deb ftp://192.248.6.201/ubuntu bionic main restricted |
71 | | deb-src ftp://192.248.6.201/ubuntu bionic main restricted |
72 | | |
73 | | deb ftp://192.248.6.201 bionic-updates main restricted |
74 | | deb-src ftp://192.248.6.201/ubuntu bionic-updates main restricted |
75 | | |
76 | | |
77 | | deb ftp://192.248.6.201/ubuntu bionic universe |
78 | | deb-src ftp://192.248.6.201/ubuntu bionic universe |
79 | | deb ftp://192.248.6.201/ubuntu bionic-updates universe |
80 | | deb-src ftp://192.248.6.201/ubuntu bionic-updates universe |
81 | | |
82 | | |
83 | | deb ftp://192.248.6.201/ubuntu bionic multiverse |
84 | | deb-src ftp://192.248.6.201/ubuntu bionic multiverse |
85 | | deb ftp://192.248.6.201/ubuntu bionic-updates multiverse |
86 | | deb-src ftp://192.248.6.201/ubuntu bionic-updates multiverse |
87 | | |
88 | | deb ftp://192.248.6.201/ubuntu bionic-backports main restricted universe |
89 | | multiverse |
90 | | deb-src ftp://192.248.6.201/ubuntu bionic-backports main restricted |
91 | | universe multiverse |
92 | | |
93 | | deb ftp://192.248.6.201/ubuntu bionic-security main restricted |
94 | | deb-src ftp://192.248.6.201/ubuntu bionic-security main restricted |
95 | | deb ftp://192.248.6.201/ubuntu bionic-security universe |
96 | | deb-src ftp://192.248.6.201/ubuntu bionic-security universe |
97 | | deb ftp://192.248.6.201/ubuntu bionic-security multiverse |
98 | | deb-src ftp://192.248.6.201/ubuntu bionic-security multiverse |
99 | | |
100 | | |
101 | | Then update the apt list and do a upgrade |
102 | | |
103 | | apt update |
104 | | |
105 | | apt upgrade |
106 | | |