1
00:00:01,050 --> 00:00:07,710
Now before moving on and talking about the other security domains such as the disposable and the vault

2
00:00:08,040 --> 00:00:14,010
and this lecture I want to talk about another task that is very essential and that you'll probably need

3
00:00:14,010 --> 00:00:15,710
to do often.

4
00:00:16,050 --> 00:00:19,450
This task is basically installing software.

5
00:00:19,650 --> 00:00:25,590
So if you look at the machines that we have right now for example the personal or even the work machine

6
00:00:25,950 --> 00:00:27,870
they don't really have a lot of software.

7
00:00:27,870 --> 00:00:29,100
We have Firefox.

8
00:00:29,160 --> 00:00:33,290
We have the files manager at terminal and that's pretty much it.

9
00:00:33,330 --> 00:00:34,950
We don't have a ward editor.

10
00:00:35,070 --> 00:00:39,510
We don't have pigeon for example for instant messaging and so on.

11
00:00:39,510 --> 00:00:45,420
So you can do the simple tasks such as opening images playing music and videos and an access in the

12
00:00:45,420 --> 00:00:52,040
Internet but anything outside of that you'll probably need to install software to do that.

13
00:00:52,110 --> 00:00:58,860
Now as we do this you'll also get a better understanding on the structure of cubes and you'll have a

14
00:00:58,860 --> 00:01:04,920
better understanding of the template virtual machines the ones that we have right here.

15
00:01:04,990 --> 00:01:12,210
Now as I said before the template virtual machines are machines that you're not supposed to use to run

16
00:01:12,210 --> 00:01:14,220
your day to day tasks.

17
00:01:14,430 --> 00:01:21,990
These are machines which the other machines such as the domains that we have here are based of keep

18
00:01:21,990 --> 00:01:26,420
going through this lecture and you will understand exactly what I mean.

19
00:01:26,540 --> 00:01:32,960
So right now I have my work machine running great here as you can see I have my file manager and as

20
00:01:32,960 --> 00:01:33,830
we've seen before.

21
00:01:33,830 --> 00:01:37,070
If we store stuff within our home directory.

22
00:01:37,070 --> 00:01:43,550
So we are in home right now as we can see and anything we store in here will be persistent and will

23
00:01:43,550 --> 00:01:49,340
be maintained after we restart or shut down the domain or the virtual machine.

24
00:01:49,340 --> 00:01:56,720
But if you store anything outside of this which is where applications libraries and packages get installed

25
00:01:56,900 --> 00:01:59,960
they get installed outside of your home directory.

26
00:02:00,110 --> 00:02:04,820
Anything that gets installed outside of the home is not persistent.

27
00:02:04,820 --> 00:02:11,180
So every time you restart or shut down the computer anything outside of the home directory goes back

28
00:02:11,240 --> 00:02:13,780
to its original state.

29
00:02:13,790 --> 00:02:15,830
This is done for security reasons.

30
00:02:15,830 --> 00:02:21,680
For example if someone manages to hack into this domain and they install some malware that'll start

31
00:02:21,710 --> 00:02:23,600
every time you start your computer.

32
00:02:23,690 --> 00:02:29,730
This will automatically be removed because it will be installed outside of this home directory.

33
00:02:29,930 --> 00:02:34,240
So anything outside of the home goes back to its original state.

34
00:02:34,280 --> 00:02:41,900
Every time you restart or shut down the computer this original state is stored in your template virtual

35
00:02:41,900 --> 00:02:42,500
machine.

36
00:02:43,730 --> 00:02:51,850
So let me show you if we go here to the cubes and we click on the cube manager you'll get a program

37
00:02:51,850 --> 00:02:57,700
similar to a task manager and in here you'll see all of the cubes all of the virtual machines that you

38
00:02:57,700 --> 00:02:58,840
have.

39
00:02:58,840 --> 00:03:04,630
And it'll show you important information about each one of these machines.

40
00:03:04,630 --> 00:03:08,710
Now again you'll notice the domains are the ones that have colors in here.

41
00:03:08,800 --> 00:03:12,160
And these are the ones that we use for our day to day tasks.

42
00:03:12,160 --> 00:03:16,810
And then we have the template and the system virtual machines and Black.

43
00:03:16,930 --> 00:03:22,840
Now you'll notice for each of these domains for example for the personal and the template column it's

44
00:03:22,840 --> 00:03:27,380
telling us what template it's running or what operating system it's running.

45
00:03:27,910 --> 00:03:30,680
So you can see the personal is running Fedora 30.

46
00:03:30,760 --> 00:03:37,900
You can see the untrusted the system at the Warwick all of them run the template that is called fedora

47
00:03:37,930 --> 00:03:38,980
30.

48
00:03:39,100 --> 00:03:41,830
Now fedora is a Linux operating system.

49
00:03:41,830 --> 00:03:50,580
And basically each one of these virtual machines or security domains are based on the fedora 30 template.

50
00:03:50,680 --> 00:03:57,940
So when we start to work virtual machine it uses the fedora 30 template so we can see the fedora 30

51
00:03:57,940 --> 00:03:58,930
in here.

52
00:03:58,930 --> 00:04:04,120
It creates a virtual machine that uses this virtual machine as a template.

53
00:04:04,240 --> 00:04:07,670
And the only thing that it replaces is the home directory.

54
00:04:07,690 --> 00:04:13,480
So the only thing that it replaces is what we see in here which are the user files that they use in

55
00:04:13,480 --> 00:04:15,520
their day to day tasks.

56
00:04:15,640 --> 00:04:21,520
Now because every time we start the computer it pulls everything outside of the home from the template

57
00:04:21,550 --> 00:04:22,830
virtual machine.

58
00:04:22,840 --> 00:04:29,290
This means that if we install software on the template virtual machine it will be installed on all of

59
00:04:29,290 --> 00:04:33,390
the virtual machines that use this template as a template.

60
00:04:33,400 --> 00:04:41,800
So if I installed pidgin for example in my fedora 30 template work personal untrusted all of these virtual

61
00:04:41,800 --> 00:04:48,280
machines used the fedora 30 as a template and therefore all of these virtual machines will automatically

62
00:04:48,280 --> 00:04:52,260
have this software installed on them.

63
00:04:52,430 --> 00:04:58,100
Now this can also be dangerous because keep in mind if you install malware on your template virtual

64
00:04:58,100 --> 00:05:03,990
machine all of the other virtual machines based on this template will inherit the malware.

65
00:05:04,130 --> 00:05:10,590
So you want to be very careful on what you install on your template virtual machine.

66
00:05:10,640 --> 00:05:16,820
Now as an example I actually want to install libre office which is a program that allow us to open the

67
00:05:16,820 --> 00:05:23,960
different office files in Linux because I want to open this Word file in future lectures.

68
00:05:23,960 --> 00:05:28,430
So I want to be able to use libre office and my work domain.

69
00:05:28,430 --> 00:05:33,050
And based on this we know work is based on the fedora template.

70
00:05:33,050 --> 00:05:39,230
Therefore we're going to install libre office on fedora 30 and it'll automatically be available for

71
00:05:39,260 --> 00:05:45,270
all of the other virtual machines that use the fedora 30 as their template.

72
00:05:45,290 --> 00:05:51,710
Now before doing so before going and installing anything on this we need to enable networking on this

73
00:05:51,710 --> 00:05:59,240
virtual machine because by default to improve its security the template virtual machines are not configured

74
00:05:59,390 --> 00:06:06,590
to be connected to the internet so you can right click and go to Settings you can click on the icon

75
00:06:06,590 --> 00:06:14,690
in here or you can go from the top left go to the Template virtual machine and click on the cube settings

76
00:06:14,720 --> 00:06:16,910
not its settings.

77
00:06:16,910 --> 00:06:22,360
So we're going to enter the cube setting the virtual machine setting and what we want to do is modify

78
00:06:22,360 --> 00:06:24,940
the networking as you can see by default.

79
00:06:24,950 --> 00:06:32,280
It's set to none and we want to set this to assist net so that it gets connected to the Internet.

80
00:06:32,360 --> 00:06:33,360
We're going to click on.

81
00:06:33,410 --> 00:06:34,640
OK.

82
00:06:34,790 --> 00:06:40,470
And now we're ready to go and install software on this virtual machine.

83
00:06:40,550 --> 00:06:42,520
So again we'll go into the top left.

84
00:06:42,590 --> 00:06:49,130
We're going to go to the virtual machine and we're going to click on the software in here to launch

85
00:06:49,190 --> 00:06:51,340
the software manager.

86
00:06:51,350 --> 00:06:57,350
Now first of all this will start the fedora 30 template virtual machine and then only when it starts

87
00:06:57,500 --> 00:06:59,270
at the launch the software manager.

88
00:06:59,270 --> 00:07:04,460
So similar to starting any application within any virtual machine.

89
00:07:04,460 --> 00:07:09,380
So now you can look for the program that you want to install from the list here or you can click on

90
00:07:09,380 --> 00:07:11,180
the search and search for it.

91
00:07:11,240 --> 00:07:18,150
So I'm just going to search for office and the program that I want to install is libre office writer.

92
00:07:18,220 --> 00:07:23,390
So we're going to click on it and click on install.

93
00:07:23,680 --> 00:07:29,950
So it's very intuitive and very similar to install the software on most operating systems.

94
00:07:29,950 --> 00:07:35,200
Now you want to give this some time depending on your machine sometimes again it seems like it's stuck

95
00:07:35,260 --> 00:07:36,720
at one stage but it's not.

96
00:07:36,730 --> 00:07:37,590
It's loading.

97
00:07:37,630 --> 00:07:39,100
So just be patient with it.

98
00:07:39,190 --> 00:07:44,380
And once it's done you'll have the software installed perfect.

99
00:07:44,380 --> 00:07:46,880
Now the installation is complete.

100
00:07:47,020 --> 00:07:54,400
So right now we have installed this software the Labor Office writer on the fedora 30 virtual machine.

101
00:07:54,490 --> 00:08:00,010
So I'm going to close myself to our manager and I don't want to use this virtual machine anymore because

102
00:08:00,010 --> 00:08:06,480
like I said the we don't use the templates virtual machines for our daily use therefore we're just going

103
00:08:06,480 --> 00:08:10,060
to go to my cubes and I'm gonna shut it down.

104
00:08:10,090 --> 00:08:18,970
Now you'll notice we have a new icon in here beside all of the virtual machines that use the fedora

105
00:08:19,090 --> 00:08:20,560
as its template.

106
00:08:20,650 --> 00:08:26,650
And if we hover over this icon you'll see that is telling us that once our template is stopped once

107
00:08:26,650 --> 00:08:33,160
we shut down the fedora machine the changes that we made to the template will be reflected on these

108
00:08:33,160 --> 00:08:38,500
machines because these machines use the fedora as their template.

109
00:08:38,500 --> 00:08:44,500
Now I'm also going to go ahead and turn off my work computer so the software that I installed should

110
00:08:44,500 --> 00:08:51,070
be available in my work and in all of the other machines that use fedora as a template.

111
00:08:51,070 --> 00:08:58,670
So let's go ahead and start my work and I'm just going to go to my file manager and I'm gonna go to

112
00:08:58,670 --> 00:09:04,780
my downloads because I've already downloaded Microsoft Word document in here just for testing.

113
00:09:04,880 --> 00:09:11,150
So let's right click this and open with libre office writer as you can see we have a new option in here.

114
00:09:11,210 --> 00:09:12,620
This wasn't available.

115
00:09:12,620 --> 00:09:18,980
This is only available because we installed Office writer and the only reason why it's available in

116
00:09:18,980 --> 00:09:22,860
work because work uses the fedora 30 as its template.

117
00:09:22,910 --> 00:09:28,250
And since we installed this in the template it's going to be available to all virtual machines that

118
00:09:28,340 --> 00:09:33,730
are based on this template such as the work virtual machine or the work domain.

119
00:09:33,740 --> 00:09:40,940
So if I click on this ad to load the program and I'll be able to read this document now one last thing

120
00:09:40,940 --> 00:09:47,510
that I want to show you before we wrap this up I'm going to close this and if I go in here and go to

121
00:09:47,510 --> 00:09:53,450
my work you can see that I have some of the programs that are installed in the work domain in the work

122
00:09:53,450 --> 00:09:58,110
virtual machine such as the files Firefox and my terminal.

123
00:09:58,130 --> 00:10:03,650
While I still don't see the Labor Office writer which is why I just installed so it'll be really nice

124
00:10:03,710 --> 00:10:09,590
if I have it here and I'll be able to access it directly from here so that it'll automatically start

125
00:10:09,590 --> 00:10:10,620
the work domain.

126
00:10:10,700 --> 00:10:17,600
And then from there launch the office writer similar to what happens if I just click on firefox.

127
00:10:17,600 --> 00:10:19,360
Now doing this is very simple.

128
00:10:19,370 --> 00:10:22,100
Again we're gonna go back to our cubes manager.

129
00:10:22,100 --> 00:10:27,230
We're going to click the machine that we want to modify which is my work in this example.

130
00:10:27,230 --> 00:10:34,500
We're going to click on it settings and here and we're gonna go to applications and this will list all

131
00:10:34,500 --> 00:10:38,850
of the applications available on this virtual machine.

132
00:10:38,940 --> 00:10:45,210
We're going to click on refresh applications first to get a list of all of the applications available.

133
00:10:45,210 --> 00:10:47,910
This will have to start with the template in the background.

134
00:10:47,910 --> 00:10:53,380
As you can see and it'll automatically shut it down wants to refresh is done.

135
00:10:53,850 --> 00:11:00,090
And then in here on the left side we have all of the programs installed on the work virtual machine.

136
00:11:00,090 --> 00:11:06,030
So we're going to look for the programs that we want to add to the menu that we have in here.

137
00:11:06,150 --> 00:11:10,920
So I'm going to scroll down and you can see I have my libre office right there in here.

138
00:11:11,430 --> 00:11:17,730
So I'm just going to click on the right arrow and we have libre office added now in here.

139
00:11:17,730 --> 00:11:18,790
So I'm going to click on.

140
00:11:18,810 --> 00:11:20,120
Okay.

141
00:11:20,190 --> 00:11:27,000
And now if I go to my menu and go to work you'll see that I have a new entry for the program that I

142
00:11:27,000 --> 00:11:27,590
picked.

143
00:11:27,750 --> 00:11:33,510
And I can just simply click this from here to start libre office whenever I want.

144
00:11:33,510 --> 00:11:37,490
So if the virtual machine is running this will instantly start the program.

145
00:11:37,590 --> 00:11:43,860
If the virtual machine is off it'll first start an instance of my work virtual machine and then it will

146
00:11:43,860 --> 00:11:47,880
automatically launch the program that I selected which is labor office.

147
00:11:47,880 --> 00:11:49,620
In this case.

148
00:11:49,620 --> 00:11:50,930
So that's it for this lecture.

149
00:11:50,940 --> 00:11:57,870
Now you know how to install software in cubes and use it in the different domains so you can use this

150
00:11:57,870 --> 00:11:59,950
to install any program you want.

151
00:12:00,000 --> 00:12:05,910
Not only libre office whether you want to install pidgin or any other software that we used before or

152
00:12:05,910 --> 00:12:08,070
any other software that you're used to.

153
00:12:08,130 --> 00:12:14,400
You can follow the exact same steps to install it on cubes and then make it available to any domain

154
00:12:14,460 --> 00:12:17,350
or to any virtual machine within your cubes.

155
00:12:17,370 --> 00:12:18,120
Installation.
