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