Use the maven jar package to a local warehouse, and linux common commands

The outer cladding is added using maven maven local packet; (JAR version 11.1.0.7.0, C: \ Users \ zwk \ Desktop \ ojdbc6.jar position is located)
mvn the install: the install-File DgroupId = com.oracle - DartifactId = ojdbc6 -Dversion = 11.1.0.7.0 -Dpackaging = jar -Dfile = C: \ Users \ zwk \ Desktop \ ojdbc6.jar

Executed on the server nohup java -jar ××× -0.0.1-SNAPSHOT.jar command
netstat -ntlp View all current tcp port
cd: Change directory
mkdir file1 create an empty directory
create a directory and go to the directory
mkcd tmp and equivalent tmp mkdir; cd tmp
RM [options] file to delete files

Check occupied port netstat -nao | findstr 443 (port number) pid, then Task Manager to view the pid, close the program;

Guess you like

Origin www.cnblogs.com/lazyli/p/10973970.html