当前位置:网站首页>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
边栏推荐
猜你喜欢
Solution of garbled code on idea console
JMeter installation tutorial and solutions to the problems I encountered
Deepinv20 installation MariaDB
Set cell filling and ranking method according to the size of the value in the soft report
Detailed explanation of information abstract, digital signature, digital certificate, symmetric encryption and asymmetric encryption
Set the color change of interlaced lines in cells in the sail software and the font becomes larger and red when the number is greater than 100
Selenium IDE and XPath installation of chrome plug-in
How vscode compares the similarities and differences between two files
人脸识别框架之dlib
Derivation of Σ GL perspective projection matrix
随机推荐
Detailed explanation of information abstract, digital signature, digital certificate, symmetric encryption and asymmetric encryption
LVM与磁盘配额
正则过滤内网地址和网段
计算饼状图百分比
Detailed explanation of Niuke - Gloves
How to implement distributed locks with redis?
Gartner publie une étude sur les nouvelles technologies: un aperçu du métacosme
Phpstudy V8, a commonly used software for station construction 1 graphic installation tutorial (Windows version) super detailed
织梦DEDECMS安全设置指南
UWA Pipeline 功能详解|可视化配置自动测试
Introduction notes to PHP zero Foundation (13): array related functions
Detailed explanation of UWA pipeline function | visual configuration automatic test
∑GL-透视投影矩阵的推导
OMNeT学习之新建工程
Qipengyuan horizon credible meta universe social system meets diversified consumption and social needs
STM32__03—初识定时器
Project framework of robot framework
1959年高考数学真题
Query the data from 2013 to 2021, and only query the data from 2020. The solution to this problem is carried out
Talk about browser cache control