Linux is really good to run, but for development, it is estimated that few people use it.
First, installation
1. Download tar.gz file
2, decompression, you can use the MV command to modify the file name
3, establish a soft connection: Ln-s/usr/local/tomcat8.0//usr/local/tomcat
4. CD tomcat/bin/
5, Vim catalina.sh, add catalina_home=/usr/local/tomcat8.0/
6,chmod +x *.sh //The order is???
7. In the Bin directory: Execute./startup.sh
Second, local WIN8 access virtual machine tomcat
issue : Virtual machine installation tomcat,ping Virtual machine network can ping, but in Windows browser input 192.168.199.8:8080 error, unable to access
Hiroichi: http://blog.csdn.net/yuebinghaoyuan/article/details/8976796
Bo II: http://liuna718-163-com.iteye.com/blog/2281943
1, open Telnet, the current is still not very understanding of Telnet,
When Telnet 192.168.199.8:8080 under DOS, display: on port 23: Connection Failed
2. Modify the Linux firewall: vi/etc/sysconfig/iptables
3. Add ports to be opened:-a input-p tcp-m state--state new-m TCP--dport 8080-j ACCEPT ( Note must be placed in front of the Reject )
4. Restart the firewall: service iptables restart
Windows Browser Input 192.168.199.8:8080 finally solves the problem
Linux Build Tomcat