Tomcat Setup - (JavaCompiler)inyourcomputer,ifnot...

Info icon This preview shows pages 1–2. Sign up to view the full content.

View Full Document Right Arrow Icon
I will try to explain how to set up your tomcat server so you can try the jsp page that I  coded to connect to MySQL and retrieve data from it. I supose that you have already installed JDK (Java Compiler) in your computer, if not,  you can go to http://java.sun.com/j2se/1.4.1/download.html and download the self- extracting RPM file for linux. Ok, to install Tomcat you can go to http://jakarta.apache.org/tomcat/ and download the  binary file (tomcat-4.1.18.tar.gz). To install it, you can follow this steps: 1. Once you have saved the file in your desired folder (I just saved it in my home  directory), you can proceed to uncompress it by going to a terminal window and typing: tar xzvf tomcat-4.1.18.tar.gz This should have created a folder with the same name as the file you just uncompressed. 2. In the terminal window, go to the bin subfolder of the tomcat folder you just created (/ home/hooper/jakarta-tomcat-4.1.18/bin in my case) and type: ./startup.sh That should start-up the Tomcat server. To test if it's running, just go to a web browser 
Image of page 1

Info iconThis preview has intentionally blurred sections. Sign up to view the full version.

View Full Document Right Arrow Icon
Image of page 2
This is the end of the preview. Sign up to access the rest of the document.

{[ snackBarMessage ]}

What students are saying

  • Left Quote Icon

    As a current student on this bumpy collegiate pathway, I stumbled upon Course Hero, where I can find study resources for nearly all my courses, get online help from tutors 24/7, and even share my old projects, papers, and lecture notes with other students.

    Student Picture

    Kiran Temple University Fox School of Business ‘17, Course Hero Intern

  • Left Quote Icon

    I cannot even describe how much Course Hero helped me this summer. It’s truly become something I can always rely on and help me. In the end, I was not only able to survive summer classes, but I was able to thrive thanks to Course Hero.

    Student Picture

    Dana University of Pennsylvania ‘17, Course Hero Intern

  • Left Quote Icon

    The ability to access any university’s resources through Course Hero proved invaluable in my case. I was behind on Tulane coursework and actually used UCLA’s materials to help me move forward and get everything together on time.

    Student Picture

    Jill Tulane University ‘16, Course Hero Intern