Linux tomcat7 installation
Others
2022-04-28 20:31:37
views: 0
1. Download tomcat and move the tomcat file to the usr directory
[root@localhost vmlinux]# mv apache-tomcat-7.0.55.tar.gz /usr
2. Then go to the usr directory to modify the permissions of the tomcat file and unzip it
[root@localhost usr]# chmod 755 apache-tomcat-7.0.55.tar.gz
[root@localhost usr]# tar –zxvf apache-tomcat-7.0.55.tar.gz
3. Because the file name is too long, you can modify the name of the file to modify the name of the file
[root@localhost usr]# mv apache-tomcat-7.0.55 tomcat7.0
3. Start tomcat , ./startup.sh. If you cannot start tomcat , you need to check the environment configuration of jdk . The normal startup is as follows. You can check whether tomcat is successfully started through the URL access test.
[root@localhost bin]# ./startup.sh
Using CATALINA_BASE: /usr/tomcat7
Using CATALINA_HOME: /usr/tomcat7
Using CATALINA_TMPDIR: /usr/tomcat7/temp
Using JRE_HOME: /usr
Using CLASSPATH: /usr/tomcat7/bin/bootstrap.jar:/usr/tomcat7/bin/tomcat-juli.jar
Tomcat started.
Origin http://43.154.161.224:23101/article/api/json?id=326524316&siteId=291194637