Course Hive
Search

Welcome

Sign in or create your account

Continue with Google
or
JSP Tutorial #6 - Install Tomcat on Mac
Play lesson

JSP Tutorial - Java Server Pages Tutorial - JSP Tutorial #6 - Install Tomcat on Mac

4.0 (1)
11 learners

What you'll learn

This course includes

  • 2.5 hours of video
  • Certificate of completion
  • Access on mobile and TV

Summary

Keywords

Full Transcript

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 00:00 Hey, welcome back. Let's go ahead and get our hands dirty with setting up our development environment. In this video, I'm going to show you how to install Tomcat on the Mac operating system. All right, what we need to do is open up a web browser and visit the Tomcat website. I need to go to tomcat.apache.org. This will bring me to the main Apache Tomcat website. This is where we can actually download the software. 00:33 Over on the left-hand side, there's a download section, and it has the different versions of Tomcat that we can download. At the time of this video recording, the current version is Tomcat 8. However, there may be a new version, and you can simply download the appropriate version. I'll go ahead and select Tomcat 8 for this video. This will show me the Tomcat 8 downloads. I'll just scroll down a bit and I'll move down to the Binary Distributions, that means this is the binary code or whatever. Since I'm doing this for a Mac, I'll go ahead and choose tar.gz. It's simply a zip file that preserves the file permissions. I'll select the link here. My browser's going to prompt me for the actual file. I'll say save the file and I'll hit Okay. This will actually download the Tomcat file to my local computer. 01:29 All right, great. We've actually downloaded the file to our file system. Let me go and open up my finder. Let me move into the downloads directory. This is where I'll find the actual file that was just downloaded, so here Apache Tomcat 8. Now what I need to do is actually unzip the file. I can just unzip it by double-clicking it. I'll go ahead and do that now. Now I have this file or this folder here for Apache Tomcat 8. This is the unzipped version of the file. What I normally like to do is actually move this into another directory so I can make use of it. We'll actually make use of a directory for this training class, and I'll call it jsf for beginners. 02:14 Let me go and open up a new window here. I'll move down to the bottom and I'll say, "New Folder," and I'll call it JSP for beginners. This is really just like a little, empty scratch temp folder that we're going to use for this training class. I'll put all of our apps in here, all of our servers, and so forth. Just one central location, JSP for beginners. It's empty now. I'll just double-click and move into it. What I'd like to do is that folder that just expanded on top, Tomcat 8, I'll just grab it, drag and drop it into this new folder, jsf for beginners. All I'll do is just copy that expanded directory to this new folder, JSP for beginners. This looks pretty good. 03:06 All right, now that I have the file extracted, I actually want to verify the Tomcat installation by actually running the server. What I'll do is I'll open up the terminal window here and what I'd like to do is actually move into that Tomcat installation directory. I'll just do a CD, I'll move into that jsf for beginners that we just created and then the Apache Tomcat directory that we just copied over. All right, great. I'm in the directory. Now I'll just do an "ls" just to see the contents of this directory. I'll see that this directory has a startup.sh. This is a bin directory, startup.sh. This is what I'll use to actually start the Tomcat server. On my command line here, I'll type in bin/startup.sh. This will actually start the Tomcat server for me. We can see some logs and then we'll see on the bottom left Tomcat started. 04:04 This is really good. Our server's installed and we also started the server. At this point, Tomcat is up and running and it's listening for a request. Great. Now that our server is running, then we can actually access our server. [snip] More JSP tutorial, click the "Transcript" tab.

Course Hive

Continue this lesson in the app

Install CourseHive on Android or iOS to keep learning while you move.

FAQs

Course Hive
Download CourseHive
Keep learning anywhere