Hey, welcome back.
So let's go ahead and get our hands dirty.
So in this video, I'm going to show you how to install Tomcat on Microsoft Windows.
All right.
So the first thing we need to do is we need to download Tomcat.
So in my browser, I'm going to visit Tomcat dot Apache dot org.
And so this will take me to the Tomcat website.
Over on the left hand side is a download section where we can actually download some of the software.
All right, so I'll select the link for Tomcat eight.
I'm on the Tomcat eight downloads page now.
I'll move down to the section for binary distributions and I'll choose this 32 bit, 64 bit Windows
Service Installer.
So this is the normal MSI file.
It'll install Tomcat as a Windows Service.
So I'll go ahead and select this link.
And right now my browser will start downloading it to my file system.
All right, great.
So now we have a download.
Let's go ahead and open up a Windows Explorer and I move I'll move into this downloads folder and there's
the file that was just downloaded, Apache Tomcat eight.
So that's the actual installer.
So let's go ahead and run this installer just by double clicking it.
So this will start up the installer I'll hit.
Yes.
And here I'm at the first step of the wizard.
I'll go ahead and click next.
I'll agree.
And then here we choose our components.
For the components, I like to choose full just so I can get all the examples in the host manager.
Again, a nice thing about this Tomcat installer that installs it as a service, so I'll make sure that
the service thing is enabled or check there.
I'll go ahead and hit next.
By default, tomcat cat on point 8080.
Feel free to change that.
But I like to keep the defaults and then you can set up a administrator log in.
So for now, just say admin admin again.
You can give any username and password that you want and then I'll hit next.
I'll accept the default installation here for my JIRA.
I'm using Java eight.
That's fine.
I'll hit next.
And also accept the default installation directory.
You can feel free to change this, but I'll go ahead and keep the default installation directory for
Tomcat and then I'll hit install.
And so at this point, we'll go through the process of installing the software and now it says, hey,
we're the software is installed.
I'll turn off the option to show the read me, I'll hit finish and now it'll actually start Tomcat as
a Windows Service.
All right, great.
So TomKat has started.
Let's go ahead and verify our installation and we can verify it by viewing a website, local hosts,
A.D. 80.
That's where our local Tomcat server is running right now.
So if everything works out right, it should bring up this page that you see here.
So it'll say Apache Tomcat version eight.
And then also they even give you a message.
If you're seeing this, you successfully install TomKat.
Congratulations.
So we know that we're okay.
So Tomcat was installed successfully and Tomcat is up and running.
So good job so far.
Now I'm going to show you one other thing you can do is you can actually configure Tomcat, so you can
just right click on the little Tomcat icon in the bottom.
Right.
And say right click and hit configure.
And this will bring up the configuration window for Tomcat so you can change like the display name for
the service.
You could change the actual description at the bottom.
It shows you if the status, if it's running or stopped, you can play around some logging stuff, a
lot of other things you can play around with.
But for right now, I'll just go ahead and keep everything as the defaults and I'll just hit cancel
right now.
Another nice thing is that you can actually administer Tomcat via the services control panel.
So I'll go ahead and click on services here.
It'll bring it up and we'll see.
In the list we have Apache Tomcat eight that's listed as a service and it's currently running.
So just like any standard service, you can just right click.
You can stop it, pause it, resume it, restart it.
You can do all the normal things you can do with the service.
What I'd like to do now is actually stop TomKat because we're going to run it later via Eclipse.
So I'll go ahead and stop this service.
I'll just do a right click.
I'll hit stop.
And then we'll go through the process of stopping the Tomcat server.
So right now it's not running.
But don't worry, later on we'll actually hook up Tomcat and Eclipse to run together and we'll cover
that in one of the following videos.
Now we were successful.
We were able to download Tomcat and install it and then also go through the process of verifying our
installation.
And then finally we went around and took a look at some of the configs and also looked at the services
control panel.
So good job so far.