Bebe Memcache and Robert McHugh now will log into our main Hedo.
App Zettl one where we're going to set up a donkey at service.
So in Apsara, one switch to Refuser can run update and by.
Update completed now let's set up a release repository.
OK, that is John.
Now, dependency for Tomcat, which is adjudicate, wasn't one dot eight.
That's the dependency for our reprofiling application.
So you also have a higher version of JDK now, but we have to go with one dart aid for our project.
Judy is installed a few more tools get me when I get let's install this.
OK, these tools are also installed now will download tonkatsu.
Let's go to them directly.
Let's use W8 Command to download Tomcat from the wall.
We are going with this Tomcat, a dart, Vader three seven and we are going to download it with this
name.
OK, it should be downloaded now let's extract it to exit VEF.
And that got extracted.
So we have this directly now Pachi downcourt and all this data, we are going to copy it into us, our
local A directory, but instead of creating their directories manually, we are going to create a user
and make that directly as its home directory.
They're going to run Tomcat with system kill command.
We going to stop and start Dawngate with Systems Will Command.
And so we have to set up a user directory.
Ownership's and systems fail, of course.
So first, let's set up the user with the home directly us, our local tomcat it and shall no login.
That username is Tomcat.
We'll use our SINC command.
And we will sink this about you don't get directly with us, our local Tomcat eight.
Oh, if you want, you can just use a copy command.
Let's make Tomcat get user owner of that directory, get user and Tomcat Group is going to be owner
of Tomcat, a directory recursively.
For Systems Command, we are going to create this file.
This location, Tomcat daughter was file.
And we'll update this file with some configuration that we are taking from the set of document.
So then when you use system, you'll start it will execute that script if you say system called stop,
don't it?
We use that to shut down Donkin, which is better than manually executing the scripts if you want.
You can start and stop doing manually by executing these commands or you can use those systems.
OK, now let's see if this fine.
And after this, we need to run the command system, Khiel, Deman, hyphen, reload to reload that
configuration, and now we can start Tomcat by using systems that will start downcourt and systems that
we can use enabled to enable get service.
Let's check the status of Dawn, get service and its active.
So tonkatsu is up and running now we are going to build artifacts from our source code and deploy to
Tomcat servers.
So let me clear the screen.
OK, let's see if we set up memcache rubberneckers done, don't get set up is done and now called build
and deploy.
So we're going to clone the source code.
We're going to build the source code by MAVEN and then we're going to deploy our artifact to Tomcat
Web apps and directory.
So let's do this.
OK, I'm in the temple, Christian.
And I'm going to clone the source code over here, get clone.
OK, so squaddies Clun, let's get into the source code directly.
Yet studious.
So you should be in this branch, local set up branch.
Now, before we build our artifact, we are going to update the configuration file.
That will be that will be used by our application to connect back and services, the database, memcache
and service, and that file location is.
In the repository SIRC Main Resources application, DOT properties file open this file and make the
required changes for a database.
Memcache Abidin Q So let's make changes to my Michael.
So we have created our Veum and we have the horse named zero one, and that's the same in training ATC
host, and so we don't need to change this.
We have created a user admin, so we'll keep the same user over here with password admin.
One, two, three.
If you created the admin user with a different password, change those back.
And so it was MCE zero one.
We have the memcache service with the same name and running on the same board.
We already validated that that Abbadon Kuharich zero one four five six seven two.
It runs on that board by default and we created a user in Aribert with dest and the password as dest.
So we really don't need to make any change, but this is a very important file.
Understand this file very well because in further the other projects, we have to keep making changes
to this file.
So if you are good with all the changes, even with this file.
And when the command M.V. and install from the repository, which is going to build our artifact.
OK, after some time, Gabon completed successfully and it seems we have artifact at this location.
Less and less, so we have a target directory.
Let me clear the screen.
Let's get into the togher directly and indirectly, you have the profile hyphen V to dot that.
That's our artifact and this V are going to deploy in donc, et cetera.
And we have built the artifact in a target server itself.
So it's just going to be a copy.
Come on.
But first, I'm going to remove the default application of Tomcat, and for that purpose, first I'm
going to shut down.
Don't get service.
So don't stop.
Don't get.
Let's check its status if it's done.
And now we will remove the default application, our local tomcat, it you have the audacity to in this
and this, you should have a route.
If you have route on route to our boat, you can just see Route Star, but will be just route directly
for now.
So just remove that directly.
That's the default application.
It's gone.
And will replace our artifact sorry, our default application that we just deleted by our artifact,
so we'll copy our artifact, the profile of it to Doctora, to us, our local Tomcat eight Web apps
with the name Root Dot that make sure while you're copying, you give that name.
Copy that.
Let's check whether it's copied or not.
OK, now we'll start the dogeared service, so systems start Tomcat.
Once you run this command, it should extract the root, not that into a route directly.
And now that our application becomes the default application for Tomcat.
After that, wait for few minutes, our application takes little time to come up.
Now, by the time our Tomcat application is coming up, we'll set up Ingenix Service, our final service
selects exit from here.