Linux used tar for tomcat installation

1, tomcat software download

2, tomcat software found on the left Xftp, the right side into the / usr / software, the software will be unpacked and drag to the right directory

3, execute cd / usr / local into the local directory, create app folders for software installation directory in this directory

4, performs cd / usr / software into the software catalog implementation tar -zxvf apache-tomcat-7.0.57.tar.gz -C / usr / local / app extract the installation can be carried out, go to the next view may be app directory apache -tomcat-7.0.57 file

5, the apache-tomcat-7.0.57 file name changed tomcat7, execute mv apache-tomcat-7.0.57 tomcat7 command

6, tomcat7 inside file parsing, bin file (startup.sh to start the service file, shutdown.sh off service file), conf file (context.xml, service.xml, web.xml and other configuration files), lib file (tomcat dependent software library), generated logs files (log files), webapps file (web project), work files (runtime files)

7, start tomcat7, into the bin directory, execute sh startup.sh can start, after starting the implementation of ps -ef | grep tomcat prints out the process, turn off the firewall service iptables stop command execution

8, input 192.168.187.129:8080 access tomcat home page

Guess you like

Origin www.cnblogs.com/pere/p/11587804.html