美文网首页
CentOS安装elastic-job-console

CentOS安装elastic-job-console

作者: 你家门口的两朵云 | 来源:发表于2021-09-07 16:17 被阅读0次
1.地址

https://github.com/huoxingyongren/elastic-job-lite-console

2.运行mvn clean package 打包得到elastic-job-lite-console-2.1.5.tar.gz
elastic-job-lite-console-2.1.5.tar.gz
3.上传elastic-job-lite-console-2.1.5.tar.gz到centos,解压并修改配置

auth.properties设置登录用户和密码

#用户名
root.username=root
#密码
root.password=1234
#访客名
guest.username=guest
#访客密码
guest.password=guest
配置文件
4.启动job-console,浏览器打开localhost:8899
cd /usr/local/elastic-job-console/elastic-job-lite-console-2.1.5/bin/ 
nohup sh ./start.sh >../job.log &
image.png
5.启动,关闭job-console命令

启动

cd /usr/local/elastic-job-console/elastic-job-lite-console-2.1.5/bin/ 
nohup sh ./start.sh >../job.log &

关闭(官方没有提供关闭命令)需要输入pid手动关闭

ps -ef|grep job
#手动结束进程
kill pid

相关文章

网友评论

      本文标题:CentOS安装elastic-job-console

      本文链接:https://www.haomeiwen.com/subject/waeywltx.html