当前位置:网站首页>Production environment——
Production environment——
2022-04-23 16:50:00 【Kramer_ one hundred and forty-nine】
The program publishes common commands to the production environment
Take volcanic clouds as an example
Connect to the production environment
1、 Connection development machine
2、 Connect to the production environment through the development machine
user_name、ip、 password Modify according to specific data
ssh user_name@ip
Input password
Upload jar To the production environment
0、 Make sure jdk edition , If you need to reconfirm the database version .
1、 Use scp Command upload
( Need to be in 2.txt In the directory ) Will local 2.txt File upload to server /home Under the table of contents , And name it 1.txt
scp 2.txt [email protected]:/home/1.txt
close / Restart the service
0、 Connect again
1、 Query and close the original service xxxx
( If it is not closed, there will be port occupation conflict )
ps -ef|grep xxxx
kill -9 pid number
2、 Start a new service
start-up xxxx.jar
java -jar xxxx.jar
nohup java -Dspring.config.location=./application.yml -jar company_training-1.0.jar >app.log 2>&1 &
版权声明
本文为[Kramer_ one hundred and forty-nine]所创,转载请带上原文链接,感谢
https://yzsam.com/2022/04/202204231359460852.html
边栏推荐
- 信息摘要、数字签名、数字证书、对称加密与非对称加密详解
- Detailed explanation of file operation (2)
- An essay on the classical "tear down the wall in thinking"
- PyTorch:train模式与eval模式的那些坑
- STM32__ 03 - beginner timer
- Loading order of logback configuration file
- Selenium IDE and XPath installation of chrome plug-in
- 蓝桥杯省一之路06——第十二届省赛真题第二场
- Differences between MySQL BTREE index and hash index
- Nacos detailed explanation, something
猜你喜欢
批量制造测试数据的思路,附源码
org. apache. parquet. schema. InvalidSchemaException: A group type can not be empty. Parquet does not su
Kunteng full duplex digital wireless transceiver chip kt1605 / kt1606 / kt1607 / kt1608 is suitable for interphone scheme
CentOS MySQL multi instance deployment
File upload and download of robot framework
TypeError: set_figure_params() got an unexpected keyword argument ‘figsize‘
Solution of garbled code on idea console
Disk management and file system
VLAN高级技术,VLAN聚合,超级Super VLAN ,Sub VLAN
【PIMF】OpenHarmony啃论文俱乐部—在ACM Survey闲逛是什么体验
随机推荐
RAID磁盘阵列与RAID5的创建
计算饼状图百分比
关于 background-image 渐变gradient()那些事!
Detailed explanation of file operation (2)
建站常用软件PhpStudy V8.1图文安装教程(Windows版)超详细
Pseudo Distributed installation spark
Public variables of robotframework
Introduction notes to PHP zero Foundation (13): array related functions
Path environment variable
About background image gradient()!
信息摘要、数字签名、数字证书、对称加密与非对称加密详解
扫码登录的原理你真的了解吗?
Nodejs reads the local JSON file through require. Unexpected token / in JSON at position appears
网络安全之渗透靶场实战详解
Server log analysis tool (identify, extract, merge, and count exception information)
◰ GL shadow map core steps
MySQL personal learning summary
◰ GL shader handler encapsulation
Getting started with JDBC
LVM and disk quota