I have several tomcats here. If I use them at the same time, I need to change the port numbers to different ones: 1. First, cd into the conf folder in the tomcat directory and open the server.xml configuration file with vi [root@localhost soft]# ls download redis solrhome tomcat-sina-8081 tomcat-souhu-8082 jdk redis-3.0.0.gem tomcat tomcat-solr zookeeper-3.4.6 [root@localhost soft]# cd tomcat-solr/ [root@localhost tomcat-solr]# cd conf/ [root@localhost conf]# ls Catalina catalina.properties logging.properties tomcat-users.xml catalina.policy context.xml server.xml web.xml [root@localhost conf]# vim server.xml 2. Change 1 8005 changed to 8885
3. Change 2 8080 changed to 8888
4. Change 3 8009 changed to 8889
5. wq save and exit Finally, try starting it in the bin directory of tomcat: ./startup.sh: OK The above is the full content of this article. I hope it will be helpful for everyone’s study. I also hope that everyone will support 123WORDPRESS.COM. You may also be interested in:
|
<<: Detailed explanation of mysql integrity constraints example
>>: Native JS to implement paging click control
Table of contents 1 Promise Interrupt the call ch...
This tutorial shares the installation of mysql in...
Table of contents 01 CMD 02 ENTRYPOINT 03 WORKDIR...
In my recent studies, I found some layout exercis...
1. Download and install MySql Download MySql data...
download http://nginx.org/en/download.html Unzip ...
There is a medicine for regret in the world, as l...
Preface I wrote an article about rem adaptation b...
Table of contents background What are the methods...
Preface I believe that in the process of mobile t...
Today, the company project needs to configure doc...
I recently used the MySql database when developin...
I recently used Dreamweaver to make a product pres...
The first one is to use jQuery's ajax to send...
Table of contents Previous words Synchronous and ...