WEBVTT

00:02.690 --> 00:03.700
Hey, welcome back.

00:03.710 --> 00:05.630
So let's go ahead and get our hands dirty.

00:05.630 --> 00:10.310
So in this video, I'm going to show you how to install Tomcat on Microsoft Windows.

00:13.850 --> 00:14.270
All right.

00:14.270 --> 00:17.390
So the first thing we need to do is we need to download Tomcat.

00:17.390 --> 00:22.160
So in my browser, I'm going to visit Tomcat dot Apache dot org.

00:26.290 --> 00:28.720
And so this will take me to the Tomcat website.

00:28.750 --> 00:33.610
Over on the left hand side is a download section where we can actually download some of the software.

00:43.280 --> 00:45.350
All right, so I'll select the link for Tomcat eight.

00:45.530 --> 00:47.900
I'm on the Tomcat eight downloads page now.

00:49.250 --> 00:55.040
I'll move down to the section for binary distributions and I'll choose this 32 bit, 64 bit Windows

00:55.040 --> 00:56.390
Service Installer.

00:56.900 --> 00:59.020
So this is the normal MSI file.

00:59.030 --> 01:02.270
It'll install Tomcat as a Windows Service.

01:02.980 --> 01:04.750
So I'll go ahead and select this link.

01:06.410 --> 01:09.710
And right now my browser will start downloading it to my file system.

01:12.950 --> 01:13.400
All right, great.

01:13.400 --> 01:14.300
So now we have a download.

01:14.370 --> 01:21.290
Let's go ahead and open up a Windows Explorer and I move I'll move into this downloads folder and there's

01:21.290 --> 01:24.320
the file that was just downloaded, Apache Tomcat eight.

01:24.320 --> 01:25.850
So that's the actual installer.

01:26.180 --> 01:29.600
So let's go ahead and run this installer just by double clicking it.

01:31.770 --> 01:33.540
So this will start up the installer I'll hit.

01:33.540 --> 01:34.230
Yes.

01:35.850 --> 01:37.810
And here I'm at the first step of the wizard.

01:37.830 --> 01:39.330
I'll go ahead and click next.

01:39.720 --> 01:40.920
I'll agree.

01:41.100 --> 01:43.470
And then here we choose our components.

01:43.890 --> 01:48.120
For the components, I like to choose full just so I can get all the examples in the host manager.

01:48.390 --> 01:53.610
Again, a nice thing about this Tomcat installer that installs it as a service, so I'll make sure that

01:53.610 --> 01:55.830
the service thing is enabled or check there.

01:56.650 --> 01:58.120
I'll go ahead and hit next.

01:58.780 --> 02:01.340
By default, tomcat cat on point 8080.

02:01.690 --> 02:02.530
Feel free to change that.

02:02.530 --> 02:06.660
But I like to keep the defaults and then you can set up a administrator log in.

02:06.670 --> 02:09.340
So for now, just say admin admin again.

02:09.340 --> 02:13.540
You can give any username and password that you want and then I'll hit next.

02:15.890 --> 02:18.830
I'll accept the default installation here for my JIRA.

02:18.860 --> 02:20.120
I'm using Java eight.

02:20.240 --> 02:20.920
That's fine.

02:20.930 --> 02:21.890
I'll hit next.

02:22.770 --> 02:25.560
And also accept the default installation directory.

02:25.560 --> 02:29.520
You can feel free to change this, but I'll go ahead and keep the default installation directory for

02:29.520 --> 02:31.710
Tomcat and then I'll hit install.

02:32.930 --> 02:37.160
And so at this point, we'll go through the process of installing the software and now it says, hey,

02:37.160 --> 02:39.290
we're the software is installed.

02:39.620 --> 02:45.380
I'll turn off the option to show the read me, I'll hit finish and now it'll actually start Tomcat as

02:45.380 --> 02:46.640
a Windows Service.

02:49.060 --> 02:49.600
All right, great.

02:49.600 --> 02:50.650
So TomKat has started.

02:50.650 --> 02:56.050
Let's go ahead and verify our installation and we can verify it by viewing a website, local hosts,

02:56.050 --> 02:56.820
A.D. 80.

02:56.830 --> 02:59.410
That's where our local Tomcat server is running right now.

03:04.740 --> 03:07.860
So if everything works out right, it should bring up this page that you see here.

03:07.860 --> 03:10.230
So it'll say Apache Tomcat version eight.

03:11.050 --> 03:12.910
And then also they even give you a message.

03:12.910 --> 03:15.850
If you're seeing this, you successfully install TomKat.

03:15.850 --> 03:16.900
Congratulations.

03:16.900 --> 03:18.160
So we know that we're okay.

03:18.160 --> 03:22.300
So Tomcat was installed successfully and Tomcat is up and running.

03:22.300 --> 03:23.920
So good job so far.

03:26.200 --> 03:29.860
Now I'm going to show you one other thing you can do is you can actually configure Tomcat, so you can

03:29.860 --> 03:32.380
just right click on the little Tomcat icon in the bottom.

03:32.380 --> 03:32.830
Right.

03:34.270 --> 03:36.460
And say right click and hit configure.

03:38.870 --> 03:44.480
And this will bring up the configuration window for Tomcat so you can change like the display name for

03:44.480 --> 03:45.440
the service.

03:45.530 --> 03:48.350
You could change the actual description at the bottom.

03:48.350 --> 03:53.480
It shows you if the status, if it's running or stopped, you can play around some logging stuff, a

03:53.480 --> 03:54.920
lot of other things you can play around with.

03:54.920 --> 03:59.360
But for right now, I'll just go ahead and keep everything as the defaults and I'll just hit cancel

03:59.360 --> 04:00.020
right now.

04:00.170 --> 04:04.880
Another nice thing is that you can actually administer Tomcat via the services control panel.

04:04.880 --> 04:07.010
So I'll go ahead and click on services here.

04:07.040 --> 04:08.510
It'll bring it up and we'll see.

04:08.510 --> 04:13.640
In the list we have Apache Tomcat eight that's listed as a service and it's currently running.

04:15.140 --> 04:17.770
So just like any standard service, you can just right click.

04:17.780 --> 04:20.840
You can stop it, pause it, resume it, restart it.

04:20.840 --> 04:23.210
You can do all the normal things you can do with the service.

04:24.450 --> 04:29.760
What I'd like to do now is actually stop TomKat because we're going to run it later via Eclipse.

04:29.760 --> 04:31.560
So I'll go ahead and stop this service.

04:31.560 --> 04:32.760
I'll just do a right click.

04:32.760 --> 04:33.750
I'll hit stop.

04:35.470 --> 04:38.290
And then we'll go through the process of stopping the Tomcat server.

04:38.290 --> 04:39.490
So right now it's not running.

04:39.490 --> 04:44.890
But don't worry, later on we'll actually hook up Tomcat and Eclipse to run together and we'll cover

04:44.890 --> 04:46.390
that in one of the following videos.

04:48.660 --> 04:50.100
Now we were successful.

04:50.100 --> 04:55.320
We were able to download Tomcat and install it and then also go through the process of verifying our

04:55.320 --> 04:56.130
installation.

04:56.130 --> 05:01.410
And then finally we went around and took a look at some of the configs and also looked at the services

05:01.410 --> 05:02.270
control panel.

05:02.280 --> 05:03.870
So good job so far.
