当前位置:网站首页>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
边栏推荐
- vim编辑器的实时操作
- 建站常用软件PhpStudy V8.1图文安装教程(Windows版)超详细
- Smart doc + Torna generate interface document
- Mock test
- 阿里研发三面,面试官一套组合拳让我当场懵逼
- 04 Lua operator
- Derivation of Σ GL perspective projection matrix
- Idea of batch manufacturing test data, with source code
- Set cell filling and ranking method according to the size of the value in the soft report
- Zhongang Mining: Fluorite Flotation Process
猜你喜欢

Creation of RAID disk array and RAID5

Installation and management procedures
![Knowledge points and examples of [seven input / output systems]](/img/5f/759a73836f79ef848f449930dcc1b1.png)
Knowledge points and examples of [seven input / output systems]

Use case labeling mechanism of robot framework

PyTorch:train模式与eval模式的那些坑

100 deep learning cases | day 41 - convolutional neural network (CNN): urbansound 8K audio classification (speech recognition)

How much do you know about the process of the interview

Change the password after installing MySQL in Linux

Take according to the actual situation, classify and summarize once every three levels, and see the figure to know the demand

博士申请 | 厦门大学信息学院郭诗辉老师团队招收全奖博士/博后/实习生
随机推荐
TypeError: set_figure_params() got an unexpected keyword argument ‘figsize‘
Dlib of face recognition framework
Rtklib 2.4.3 source code Notes
Path environment variable
Xinwangda: HEV and Bev super fast charging fist products are shipped on a large scale
PHP高效读大文件处理数据
SQL database
How to choose the wireless gooseneck anchor microphone and handheld microphone scheme
Dancenn: overview of byte self-developed 100 billion scale file metadata storage system
5-minute NLP: text to text transfer transformer (T5) unified text to text task model
阿里研发三面,面试官一套组合拳让我当场懵逼
正则过滤内网地址和网段
【PIMF】OpenHarmony啃论文俱乐部—在ACM Survey闲逛是什么体验
PyTorch:train模式与eval模式的那些坑
漫画:什么是IaaS、PaaS、SaaS?
Take according to the actual situation, classify and summarize once every three levels, and see the figure to know the demand
LVM与磁盘配额
聊一聊浏览器缓存控制
vscode如何比较两个文件的异同
100 deep learning cases | day 41 - convolutional neural network (CNN): urbansound 8K audio classification (speech recognition)