I love Java Series --- [Linux] system is installed Tomcat Tomcat server is installed under Linux and deploy Web applications

Installation under Linux Tomcat server and deploy Web applications : Reprinted from https://www.cnblogs.com/xdp-gacl/p/4097608.html

Linux system to deploy Tomcat

  • linux linux version of tomcat uploaded to the system in the / usr / itheima down

  • Extract the package tar -xvf

    • tar -xvf apache-tomcat-8.5.37.tar.gz

  • Start and stop the tomcat service

    • tomcat decompression ./startup.sh directory / bin

    • tomcat decompression ./shutdown.sh directory / bin

  • Start tomcat server when using the browser to access the home page, you need to turn on or turn off the firewall port 8080.

  • Linux8080 open the ports of access (recommended) This command needs to know can be.

    • /sbin/iptables -I INPUT -p tcp --dport 8080 -j ACCEPT

    • /etc/rc.d/init.d/iptables save

Guess you like

Origin www.cnblogs.com/hujunwei/p/11297057.html