User Tools

Site Tools


shell-related

Differences

This shows you the differences between two versions of the page.

Link to this comparison view

shell-related [2021/08/04 14:39] – external edit 127.0.0.1shell-related [2021/08/30 22:43] (current) morgan0329
Line 1: Line 1:
 +<markdown>
 +```shell  
 +(27.9/root/script/)
 +nohup java -jar /root/apps/boss.jar > /root/logs/boss.log 2>&1 &
 +```
  
 +```shell
 +#filename: start-nacos.sh  (27.9/root/script/)
 +logFileName="/root/logs/nacos`date +%Y%m%d%H%M`.log"
 +nohup java -Dnacos.standalone=true -jar /root/apps/nacos-server.jar > $logFileName 2>&1 &
 +```
 +
 +```shell
 +#filename: stop-nacos.sh  (27.9/root/script)
 +ps -ef | grep nacos| grep -v grep | awk '{print $2}' | xargs kill -s 9
 +```
 +
 +
 +```shell
 +#filename: start-natcross-server.sh  (27.9/root/script)
 +nohup java -Dspring.profiles.active=prod -jar /root/apps/natcross-boot.jar > /root/logs/natcross.log 2>&1 &
 +```
 +
 +
 +```shell
 +#filename: start-natcross-client.sh  (mac-server/root/script)
 +nohup /usr/bin/java -Dspring.profiles.active=prod -jar /Users/morganliao/Documents/apps/natcross-boot-client.jar > /Users/morganliao/Documents/logs/natcross.log 2>&1 &
 +```
 +
 +</markdown>

Except where otherwise noted, content on this wiki is licensed under the following license: 沪ICP备12046235号-2
Donate Powered by PHP Valid HTML5 Valid CSS Driven by DokuWiki