当前位置:网站首页>. Common commands for jar system service maintenance
. Common commands for jar system service maintenance
2022-07-21 23:34:00 【Signal a】
1、 Environmental composition
The system environment is composed as follows :
Java
Redis
MySQL
.jar package
operating system :centos7.3
2、 Common commands
Confirm the dependent environment state :
java --version # see Java edition
service redis status # see redis Service status
service mysqld status # see MySQL Service status
service mysqld restart # restart MySQL service
System service maintenance ( Enter into xxx.jar In the directory ):
ps aux|grep xxx.jar # Check the running status of system services
kill -9 xxxx # Kill the running process
nohup java -jar xxx.jar & # Background operation xxx.jar service
or
nohup java -jar xxx.jar --spring.profiles.active=test & # Use this command when there are multiple configuration environments
边栏推荐
- Problems related to writing files and linked list pointers
- Unity uses BVH to drive bone movements
- loadrunner清除浏览器缓存
- ms17_ 010 invading win7
- Jenkins持续集成自动化测试实战(下篇)
- Payment system test
- A classic book on data analysis - "lean data analysis"
- 28岁想入行软件测试,可行吗?
- MCU demand of smart meters and ranking of meter chip manufacturers
- 关于“IndentationError: unindent does not match any outer indentation level”的解决方法
猜你喜欢
About AssetBundle resource management and hot update on hololens2 (personal hololens2 advanced development summary III)
The path problem of downloading, reading and storing JSON files by hololens (personal hololens2 advanced development summary I)
How to test interfaces that depend on third parties?
使用postman批量运行接口时判断运行结果成功与否的常用断言
带你轻松解密白盒测试及(Demo详解)
远程真机测试,机型怎么选?
TWINCAT3中使用FIFO收集三轴的位置信息,XML文件的生成,解决常见报错
电气EPlan软件第六章到第十章的学习
Notes on generation model (I): basic knowledge of probability
Silabs matter full stack solution, appendix high quality matter training materials
随机推荐
Application test of timer bidirectional break inputs based on stm32g4 series
Machine learning frequency vs Bayes
连接以前可用的MySQL数据库报10061 unknown error 错误
STM32 series timer complementary output details
C # from entry to mastery (I)
Problems related to writing files and linked list pointers
Have you seen the open source data visualization community comparable to the "fairy fight"?
软件测试49个必问面试题合集+答案
Leetcode notes 88 Merge two ordered arrays
Motion recovery structure (3D reconstruction task3-1)
自学软件测试要学哪些?
Unity uses BVH to drive bone movements
接口测试没思路?一篇教你搞定面试
006_ SS_ Dual Diffusion Implicit Bridges For Image-to-Image Translation
支付系统测试
A classic book on data analysis - "lean data analysis"
如何做冒烟测试
Postman工具的灵活运用
关于“IndentationError: unindent does not match any outer indentation level”的解决方法
Flow batch integration? Real time data processing scenario application example~