当前位置:网站首页>Alibaba cloud toolkit one click automatic deployment of jar packages
Alibaba cloud toolkit one click automatic deployment of jar packages
2022-07-22 03:15:00 【'Xiao Wang'】
List of articles
List of articles
Preface
Tips : Here you can add the general content to be recorded in this article :
for example : With the development of artificial intelligence , Machine learning is becoming more and more important , A lot of people have turned on learning machine learning , This paper introduces the basic content of machine learning .
Tips : The following is the main body of this article , The following cases can be used for reference
One 、 stay IntelliJ IDEA Installation and configuration in Cloud Toolkit
1.1、 Download and install
stay IntelliJ IDEA Select... From the top menu bar File > Settings.
stay Settings In the left navigation bar of the dialog box, click Plugins.
stay Plugins Area Click Marketplace.
Enter... In the search field Alibaba Cloud Toolkit.
Search Results Areas will appear Alibaba Cloud Toolkit, single click Install.
Two 、 To configure
2.1、 Configure server ip
stay IntelliJ IDEA Select... From the top menu bar Tools > Alibaba Cloud > Alibaba Cloud View > Host.
In the pop-up Host Click... In the tab Add Host
3、 ... and 、 Deployment reference
stay IntelliJ IDEA Select... From the top menu Alibaba Cloud > Deploy to Host....
stay Deploy to Host Dialog settings deployment parameters , And then click Run.
3.1、 Write a script
cd /root/shell
vim fygov.sh
shell You can read and learn scripts online by yourself , There is not too much teaching here , Relatively simple , The following script is to kill the old service process , Start the just uploaded jar The order of the bag
#!/usr/bin/bash
#Author: whr
#Create Time: 2020/11/19 19:42
#Desc: service restart
pid=`ps -ef | grep java | grep fygov | grep -v grep | awk '{print $2}'`
service_name=`ps -ef | grep fygov | grep -v grep | awk '{print $12}'`
kill -9 "$pid"
echo "$service_name"
nohup java -Xms128m -Xmx512m -jar aplid-fygov-biz.jar > /opt/log/fygov.log 2>&1 &
边栏推荐
- 剑指 Offer 40. 最小的k个数
- word文档中动态生成excel表格(基金公告系列讲解)
- Open and close the encapsulated class of the thread
- restTemplate返回字符乱码问题
- Virtual and pure virtual destructions
- ELF 格式详解(一)
- Shell script programming details
- SAP ABAP parsing function text of Excel file_ CONVERT_ XLS_ TO_ SAP single step analysis
- Matplotlib draws a line graph
- 极化SAR——极化椭圆
猜你喜欢
打造一个生命周期感知的MVP架构
Self made CA certificate for configuring SSL
Use of delete
Tensorflow serving deployment tensorflow, keras model details
Self defined multiple code of station B
游戏中的数学之角与弧度、三角函数
Yuanqi Digitalization: existing mode or open source innovation Lixia action
[performance optimization] MySQL common slow query analysis tools
Jenkins安装并配置加速器
Application of workflow engine in vivo marketing automation | engine 03
随机推荐
day 3
B站自定义倍数代码
Data too long for column ‘......‘ at row 2
Introduction to MySQL user management and engine
filebeat自动关闭解决
17 shortcut keys commonly used by QT Creator
C 语言实现 RAII
剑指 Offer 40. 最小的k个数
linux使用yum快速安装mysql
Matplotlib drawing sin function image
SAP ABAP parsing function text of Excel file_ CONVERT_ XLS_ TO_ SAP single step analysis
界面组件DevExpress ASP.NET v22.1 - 全新的Office 365 深色主题
Harbor仓库搭建及简单使用
SAP ABAP 解析 excel 文件的函数 TEXT_CONVERT_XLS_TO_SAP 单步执行分析
递归_计算 f(n)=f(n-1)+f(n-2)
Codeql usage process
行业分析| 物流对讲
写给自己:2021版调参上分手册
【机器学习】层次聚类
jdbc 02: 连接mysql,并实现删除与更新