1
00:00:00,330 --> 00:00:05,580
Bebe Memcache and Robert McHugh now will log into our main Hedo.

2
00:00:06,730 --> 00:00:11,140
App Zettl one where we're going to set up a donkey at service.

3
00:00:13,050 --> 00:00:19,350
So in Apsara, one switch to Refuser can run update and by.

4
00:00:22,860 --> 00:00:31,110
Update completed now let's set up a release repository.

5
00:00:33,880 --> 00:00:35,020
OK, that is John.

6
00:00:36,860 --> 00:00:41,900
Now, dependency for Tomcat, which is adjudicate, wasn't one dot eight.

7
00:00:44,100 --> 00:00:47,790
That's the dependency for our reprofiling application.

8
00:00:48,880 --> 00:00:55,080
So you also have a higher version of JDK now, but we have to go with one dart aid for our project.

9
00:00:57,040 --> 00:01:03,460
Judy is installed a few more tools get me when I get let's install this.

10
00:01:06,610 --> 00:01:10,760
OK, these tools are also installed now will download tonkatsu.

11
00:01:10,780 --> 00:01:12,190
Let's go to them directly.

12
00:01:13,800 --> 00:01:18,490
Let's use W8 Command to download Tomcat from the wall.

13
00:01:19,040 --> 00:01:24,940
We are going with this Tomcat, a dart, Vader three seven and we are going to download it with this

14
00:01:25,150 --> 00:01:25,600
name.

15
00:01:30,410 --> 00:01:34,850
OK, it should be downloaded now let's extract it to exit VEF.

16
00:01:38,710 --> 00:01:40,390
And that got extracted.

17
00:01:42,730 --> 00:01:49,540
So we have this directly now Pachi downcourt and all this data, we are going to copy it into us, our

18
00:01:49,780 --> 00:01:56,470
local A directory, but instead of creating their directories manually, we are going to create a user

19
00:01:56,470 --> 00:01:58,840
and make that directly as its home directory.

20
00:01:59,940 --> 00:02:02,730
They're going to run Tomcat with system kill command.

21
00:02:02,760 --> 00:02:05,620
We going to stop and start Dawngate with Systems Will Command.

22
00:02:05,940 --> 00:02:09,420
And so we have to set up a user directory.

23
00:02:09,420 --> 00:02:12,610
Ownership's and systems fail, of course.

24
00:02:13,740 --> 00:02:20,700
So first, let's set up the user with the home directly us, our local tomcat it and shall no login.

25
00:02:22,110 --> 00:02:23,850
That username is Tomcat.

26
00:02:26,540 --> 00:02:28,670
We'll use our SINC command.

27
00:02:35,600 --> 00:02:43,670
And we will sink this about you don't get directly with us, our local Tomcat eight.

28
00:02:46,760 --> 00:02:49,130
Oh, if you want, you can just use a copy command.

29
00:02:52,190 --> 00:03:00,410
Let's make Tomcat get user owner of that directory, get user and Tomcat Group is going to be owner

30
00:03:00,410 --> 00:03:03,860
of Tomcat, a directory recursively.

31
00:03:05,830 --> 00:03:08,890
For Systems Command, we are going to create this file.

32
00:03:10,390 --> 00:03:12,430
This location, Tomcat daughter was file.

33
00:03:15,260 --> 00:03:23,930
And we'll update this file with some configuration that we are taking from the set of document.

34
00:03:27,320 --> 00:03:34,100
So then when you use system, you'll start it will execute that script if you say system called stop,

35
00:03:34,100 --> 00:03:34,670
don't it?

36
00:03:34,670 --> 00:03:40,820
We use that to shut down Donkin, which is better than manually executing the scripts if you want.

37
00:03:40,850 --> 00:03:45,740
You can start and stop doing manually by executing these commands or you can use those systems.

38
00:03:47,190 --> 00:03:49,020
OK, now let's see if this fine.

39
00:03:50,420 --> 00:03:58,520
And after this, we need to run the command system, Khiel, Deman, hyphen, reload to reload that

40
00:03:58,520 --> 00:04:08,540
configuration, and now we can start Tomcat by using systems that will start downcourt and systems that

41
00:04:08,540 --> 00:04:11,690
we can use enabled to enable get service.

42
00:04:13,470 --> 00:04:19,230
Let's check the status of Dawn, get service and its active.

43
00:04:20,550 --> 00:04:28,080
So tonkatsu is up and running now we are going to build artifacts from our source code and deploy to

44
00:04:28,290 --> 00:04:29,530
Tomcat servers.

45
00:04:30,840 --> 00:04:32,220
So let me clear the screen.

46
00:04:34,700 --> 00:04:46,850
OK, let's see if we set up memcache rubberneckers done, don't get set up is done and now called build

47
00:04:46,850 --> 00:04:47,370
and deploy.

48
00:04:47,390 --> 00:04:49,030
So we're going to clone the source code.

49
00:04:49,610 --> 00:04:56,330
We're going to build the source code by MAVEN and then we're going to deploy our artifact to Tomcat

50
00:04:56,330 --> 00:04:57,530
Web apps and directory.

51
00:04:58,610 --> 00:05:00,040
So let's do this.

52
00:05:04,050 --> 00:05:06,030
OK, I'm in the temple, Christian.

53
00:05:08,180 --> 00:05:11,990
And I'm going to clone the source code over here, get clone.

54
00:05:13,190 --> 00:05:16,240
OK, so squaddies Clun, let's get into the source code directly.

55
00:05:18,290 --> 00:05:19,700
Yet studious.

56
00:05:21,420 --> 00:05:24,390
So you should be in this branch, local set up branch.

57
00:05:25,350 --> 00:05:29,610
Now, before we build our artifact, we are going to update the configuration file.

58
00:05:31,100 --> 00:05:36,860
That will be that will be used by our application to connect back and services, the database, memcache

59
00:05:36,860 --> 00:05:40,820
and service, and that file location is.

60
00:05:41,950 --> 00:05:55,000
In the repository SIRC Main Resources application, DOT properties file open this file and make the

61
00:05:55,000 --> 00:05:57,610
required changes for a database.

62
00:05:58,620 --> 00:06:04,650
Memcache Abidin Q So let's make changes to my Michael.

63
00:06:05,700 --> 00:06:11,670
So we have created our Veum and we have the horse named zero one, and that's the same in training ATC

64
00:06:11,760 --> 00:06:13,620
host, and so we don't need to change this.

65
00:06:14,140 --> 00:06:19,200
We have created a user admin, so we'll keep the same user over here with password admin.

66
00:06:19,200 --> 00:06:19,890
One, two, three.

67
00:06:19,920 --> 00:06:24,690
If you created the admin user with a different password, change those back.

68
00:06:24,690 --> 00:06:26,700
And so it was MCE zero one.

69
00:06:26,970 --> 00:06:33,180
We have the memcache service with the same name and running on the same board.

70
00:06:33,180 --> 00:06:39,810
We already validated that that Abbadon Kuharich zero one four five six seven two.

71
00:06:39,840 --> 00:06:47,370
It runs on that board by default and we created a user in Aribert with dest and the password as dest.

72
00:06:49,740 --> 00:06:53,920
So we really don't need to make any change, but this is a very important file.

73
00:06:54,570 --> 00:07:01,830
Understand this file very well because in further the other projects, we have to keep making changes

74
00:07:01,830 --> 00:07:02,480
to this file.

75
00:07:03,600 --> 00:07:06,690
So if you are good with all the changes, even with this file.

76
00:07:08,050 --> 00:07:16,450
And when the command M.V. and install from the repository, which is going to build our artifact.

77
00:07:18,980 --> 00:07:27,290
OK, after some time, Gabon completed successfully and it seems we have artifact at this location.

78
00:07:28,310 --> 00:07:33,070
Less and less, so we have a target directory.

79
00:07:34,130 --> 00:07:35,250
Let me clear the screen.

80
00:07:36,530 --> 00:07:43,270
Let's get into the togher directly and indirectly, you have the profile hyphen V to dot that.

81
00:07:43,280 --> 00:07:48,440
That's our artifact and this V are going to deploy in donc, et cetera.

82
00:07:49,250 --> 00:07:52,870
And we have built the artifact in a target server itself.

83
00:07:53,180 --> 00:07:54,640
So it's just going to be a copy.

84
00:07:54,650 --> 00:07:55,070
Come on.

85
00:07:56,870 --> 00:08:03,260
But first, I'm going to remove the default application of Tomcat, and for that purpose, first I'm

86
00:08:03,260 --> 00:08:05,120
going to shut down.

87
00:08:05,960 --> 00:08:07,160
Don't get service.

88
00:08:07,850 --> 00:08:09,160
So don't stop.

89
00:08:09,200 --> 00:08:09,860
Don't get.

90
00:08:12,360 --> 00:08:14,670
Let's check its status if it's done.

91
00:08:22,890 --> 00:08:30,600
And now we will remove the default application, our local tomcat, it you have the audacity to in this

92
00:08:31,050 --> 00:08:33,060
and this, you should have a route.

93
00:08:33,780 --> 00:08:39,480
If you have route on route to our boat, you can just see Route Star, but will be just route directly

94
00:08:39,480 --> 00:08:40,000
for now.

95
00:08:40,020 --> 00:08:41,400
So just remove that directly.

96
00:08:42,300 --> 00:08:43,650
That's the default application.

97
00:08:43,650 --> 00:08:44,190
It's gone.

98
00:08:45,080 --> 00:08:52,730
And will replace our artifact sorry, our default application that we just deleted by our artifact,

99
00:08:52,730 --> 00:09:01,430
so we'll copy our artifact, the profile of it to Doctora, to us, our local Tomcat eight Web apps

100
00:09:01,430 --> 00:09:07,190
with the name Root Dot that make sure while you're copying, you give that name.

101
00:09:09,240 --> 00:09:09,800
Copy that.

102
00:09:11,210 --> 00:09:13,310
Let's check whether it's copied or not.

103
00:09:16,730 --> 00:09:22,850
OK, now we'll start the dogeared service, so systems start Tomcat.

104
00:09:25,080 --> 00:09:30,390
Once you run this command, it should extract the root, not that into a route directly.

105
00:09:31,440 --> 00:09:35,970
And now that our application becomes the default application for Tomcat.

106
00:09:37,470 --> 00:09:41,460
After that, wait for few minutes, our application takes little time to come up.

107
00:09:43,110 --> 00:09:48,780
Now, by the time our Tomcat application is coming up, we'll set up Ingenix Service, our final service

108
00:09:48,780 --> 00:09:50,130
selects exit from here.

