Installing JDBC and Tomcat under Kali Linux

Source: Internet
Author: User
Tags kali linux

First, you need to download JDBC and Tomcat.

1. http://www.mysql.com/products/connector/download JDBC Driver for MySQL

2, http://tomcat.apache.org/download tomcat, I downloaded the apache-tomcat-7.0.61.tar.gz


3. Unzip all two

4, the extracted mysql-connector in the Mysql-connector-java-5.1.35-bin.jar copy to/usr/lib/jvm/jdk1.8.0_45/jre/lib/ext ( This is where the JDK is located in your computer)


5. Update path:

(1) path=/usr/lib/jvm/jdk1.8.0_45/bin/: $PATH

(2) Export PATH

After executing the above command, use the Echo $PATH to see if it is successful:


6. Copy Tomcat to the/var/lib/directory

7. Enter the/var/lib/tomcat/bin/directory and execute the./startup.sh command


8, tomcat default listening 8080 port, execute NETSTAT-ANTP | grep 8080 Check for success


9. Use the browser to access http://localhost:8080 and go to the following page



This will make the Tomcat installation successful ...

Installing JDBC and Tomcat under Kali Linux

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.