Tomcat under Linux (4): After Tomcat is installed and started normally, delete its useless configuration files

1. Delete the file with the suffix .xsd under the conf file: After the deletion is completed, it will be displayed as follows (Why do you do this: According to the Great God's statement for the time being. Follow up with this)

[root@localhost ~]# cd /usr/local/tomcat/apache-tomcat-7.0.103/
[root@localhost apache-tomcat-7.0.103]# ls
bin  BUILDING.txt  conf  CONTRIBUTING.md  jeecglogs  lib  LICENSE  logs  NOTICE  README.md  RELEASE-NOTES  RUNNING.txt  temp  webapps  work
[root@localhost apache-tomcat-7.0.103]# cd conf/
[root@localhost conf]# ls
Catalina  catalina.policy  catalina.properties  context.xml  logging.properties  server.xml  tomcat-users.xml  web.xml
[root@localhost conf]# pwd
/usr/local/tomcat/apache-tomcat-7.0.103/conf

2. Delete all files except the root under the webapps file: After the deletion is completed, it will be displayed as follows (Why do you do this for the time being: according to the God's statement. Follow up with this)

[root@localhost apache-tomcat-7.0.103]# cd webapps/
[root@localhost webapps]# ls
ROOT
[root@localhost webapps]# 

Guess you like

Origin www.cnblogs.com/yuezc/p/12704275.html