Summary of installing Tomcat on the linux system platform-Linux Enterprise Application-Linux server application information. The following is a detailed description. I have been playing with Tomcat over the past few days. I want to configure it on my FC2 and have encountered some problems. Here I will summarize it and share it with my brothers.
Before installing Tomcat, make sure that jdk has been installed on your system. The installation process is not described here.
Tomcat configuration process (linux ):
1. To the http://jakarta.apache.org/site/binindex.cgi (download A tomcat )), zip tar.bz2> compressed package, decompress it to/usr/local/directory.
2. Configure environment variables: to configure the environment variables required for Tomcat after the system starts later, you need to set them in the/etc/profile file.
CODE: CATALINA_BASE = "/usr/local/jakarta-tomcat-5.0.28"
CATALINA_HOME = "/usr/local/jakarta-tomcat-5.0.28"
PATH = $ PATH: $ CATALINA_HOME/bin
Export CATALINA_BASE CATALINA_HOME PATH |