当前位置:网站首页>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
边栏推荐
- 05 Lua control structure
- LVM与磁盘配额
- Quick install mongodb
- Introduction to new functions of camtasia2022 software
- SQL database
- Deepinv20 installation MariaDB
- Xinwangda: HEV and Bev super fast charging fist products are shipped on a large scale
- MySql主从复制
- Talk about browser cache control
- How magical is the unsafe class used by all major frameworks?
猜你喜欢

计组 | 【七 输入/输出系统】知识点与例题

Use if else to judge in sail software - use the title condition to judge

DDT + Excel for interface test

Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot
![Knowledge points and examples of [seven input / output systems]](/img/5f/759a73836f79ef848f449930dcc1b1.png)
Knowledge points and examples of [seven input / output systems]

Installing labellmg tutorial in Windows

Project framework of robot framework

feign报400处理

Detailed explanation of Niuke - Gloves

Mock test
随机推荐
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
Introduction notes to PHP zero Foundation (13): array related functions
MySQL personal learning summary
Esxi encapsulated network card driver
拷贝构造函数 浅拷贝与深拷贝
Smart doc + Torna generate interface document
Copy constructor shallow copy and deep copy
Disk management and file system
Differences between MySQL BTREE index and hash index
DanceNN:字节自研千亿级规模文件元数据存储系统概述
Quick install mongodb
On the security of key passing and digital signature
计组 | 【七 输入/输出系统】知识点与例题
Easyexcel reads the geographical location data in the excel table and sorts them according to Chinese pinyin
Nifi fast installation and file synchronization
STM32__03—初识定时器
∑GL-透视投影矩阵的推导
PyMySQL
Ali developed three sides, and the interviewer's set of combined punches made me confused on the spot
Selenium IDE and XPath installation of chrome plug-in