JSP Tutorial #5 – Installing Tomcat for MS Windows



JSP Tutorial #5 – Installing Tomcat for MS Windows

JSP Tutorial #5 - Installing Tomcat for MS Windows

FULL COURSE: JSP, Servlets and JDBC (80+ videos)
http://www.luv2code.com/jsp (SPECIAL DISCOUNT)

—-

This JSP tutorial series will help you quickly get up to speed with JSP.

Download Tutorial Source Code: http://www.luv2code.com/downloads/youtube-jsp/jsp-tutorial-source-code-lite.zip

—-

View more videos on the playlist: JSP Tutorial: https://goo.gl/fFVMrj

Closed-Captioning and English subtitles available for this JSP Tutorial.

—-

Follow luv2code for more JSP tutorial:

Website: http://www.luv2code.com
YouTube: http://goo.gl/EV6Kwv
Twitter: http://goo.gl/ALMzLG
Facebook: http://goo.gl/8pDRdA

If you liked my JSP tutorial, then join my mailing list: Get exclusive access to new Java tutorials.

– http://www.luv2code.com/joinlist

Questions or problems about this JSP tutorial? Post them in the comments section below.

Want to suggest a video for my JSP tutorial? Leave a comment below. I’m always looking for new video ideas.

Let me know what video you’d like for me to create.

Premium JSP Course

Need More Details on JSP?
– See my Premium JSP and Servlets course (80+ videos)
– http://www.luv2code.com/jsp

JSP Tutorial Transcript

Hey, welcome back. Let’s go ahead and get our hands dirty. In this video I’m going to show you how to install Tomcat on Microsoft Windows.

The first thing we need to do is we need to download Tomcat. In my browser, I’m going to visit tomcat.apache.org. This will take me to the Tomcat website. Over on the left hand side there’s a download section where we can actually download some of the software. At the time of this recording, Tomcat 8 is the most current version, however, there may be a new version, simply download that new version for your operating system.

I’ll select the link for Tomcat 8, I’m on the Tomcat 8 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. This is the normal MSI file. It’ll install Tomcat as a Window service. I’ll go ahead and select this link and right now my browser will start downloading it to my file system.

Great, so now we have it downloaded. Let’s go ahead and open up our Windows Explorer. I’ll move into this downloads folder and there’s the file that was just downloaded, Apache Tomcat 8. That’s the actual installer. Let’s go ahead and run this installer just by double clicking it. This will start the installer. I’ll hit yes and here I’m at the first step of the wizard. I’ll 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 of the examples and the host manager. Again, a nice thing about this Tomcat installer is that it installs it as a service so I’ll make sure that the service thing is enabled or checked there. I’ll go ahead and hit next.

By default, Tomcat listens on port 80 80, feel free to change that. I like to keep the defaults. Then you can set up an administrator log in. For now, just say admin admin. Again, you can give any user name and password that you want. Then I’ll hit next. I’ll accept the default installation here for my JRE. I’m using Java 8 and that’s fine. I’ll hit next. I’ll 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. Then I’ll hit install.

At this point, I’m going to go through the process of installing the software. Now it says 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.

Great, so Tomcat is started. Let’s go ahead and verify our installation. We can verify it by viewing a website localhost8080. That’s where our local Tomcat server is running right now. If everything works out right, it should bring up this page that you see here. It’ll say Apache Tomcat, version 8, then also they even give you a message, if you’re seeing this you’ve successfully installed Tomcat, congratulations. So we know that we’re okay. Tomcat was installed successfully and Tomcat is up and running. Good job so far.

Now I’m going to show you one other thing you can do. You can actually configure Tomcat. You can just right click on the little Tomcat icon in the bottom right and say right click and hit configure. This will bring up the configuration window for Tomcat so you can change the display name for the service, you can change the actual description. At the bottom is shows you the status if it’s running or stopped. You can play around with some logging stuff. A lot of other things you can play around with but for right now, just keep everything as defaults. I’ll just hit cancel right now.

[snip] for complete transcript of JSP Tutorial, select “More … Transcript”

Comments are closed.