当前位置:网站首页>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
边栏推荐
- Server log analysis tool (identify, extract, merge, and count exception information)
- On the security of key passing and digital signature
- 扫码登录的原理你真的了解吗?
- Detailed explanation of file operation (2)
- LVM与磁盘配额
- Set cell filling and ranking method according to the size of the value in the soft report
- 面试百分百问到的进程,你究竟了解多少
- How to build tiktok user trust and drive fan growth
- Paging the list collection
- 5-minute NLP: text to text transfer transformer (T5) unified text to text task model
猜你喜欢
How magical is the unsafe class used by all major frameworks?
Quick install mongodb
How to build tiktok user trust and drive fan growth
Deepinv20 installation MariaDB
Feign report 400 processing
信息摘要、数字签名、数字证书、对称加密与非对称加密详解
NVIDIA显卡驱动报错
Dlib of face recognition framework
STM32__03—初识定时器
Real time operation of vim editor
随机推荐
Pseudo Distributed installation spark
DanceNN:字节自研千亿级规模文件元数据存储系统概述
Nodejs installation and environment configuration
织梦DEDECMS安全设置指南
关于 background-image 渐变gradient()那些事!
vim编辑器的实时操作
Phpstudy V8, a commonly used software for station construction 1 graphic installation tutorial (Windows version) super detailed
VLAN高级技术,VLAN聚合,超级Super VLAN ,Sub VLAN
Loading order of logback configuration file
Quick install mongodb
Pytorch: the pit between train mode and eval mode
Encapsulating the logging module
Query the data from 2013 to 2021, and only query the data from 2020. The solution to this problem is carried out
MySQL master-slave synchronization pit avoidance version tutorial
磁盘管理与文件系统
【Pygame小游戏】10年前风靡全球的手游《愤怒的小鸟》,是如何霸榜的?经典回归......
Introduction notes to PHP zero Foundation (13): array related functions
漫画:什么是IaaS、PaaS、SaaS?
How much do you know about the process of the interview
Redis "8" implements distributed current limiting and delay queues