How to publish a project in liunx system


Download and install this software, you can telnet linux server

 

 

Then the remote server which is connected below)

 

 

1. Switch to the tomcat directory: cd /usr/local/apache-tomcat-6.0.37/bin

 

2. Find tomcat process ID: ps -ef | grep tomcat

 

 

 

3. Close the tomcat process: kill -9 process ID

 

 

 

 

4. confirm whether tomcat process has been closed:

 

 

 

And then install the software, you can put the local war package uploaded to the remote server

 

 

Just need to drag the local computer war package tomcat from the left to the right of the dialog box webapps folder inside :( figure below)

 

 

 

 

 

5. Start tomcat command: ./startup.sh

 

 

 

6. View the boot log tomcat:

. A return from the bin directory to a directory: cd ..

. B Switch to logs directory: cdlogs

. C tomcat view the boot log: tail-f catalina.out

 

 

 

Tip tomcat startup success:

 

 

 

Publishing is complete.
Original link: https: //blog.csdn.net/zhengxiangwen/article/details/44466309

Guess you like

Origin www.cnblogs.com/baozi888/p/11416758.html