环境准备:jdk,maven,elastic-job源码
1.下载或者克隆elastic-job源码
地址:https://github.com/dangdangdotcom/elastic-job
2.maven编译安装
进入到elastic-job目录,按住Shift+鼠标右键,选择“在此处打开命令窗口(W)”,执行如下命令:
- mvn clean install -Dmaven.test.skip=true
3.解压上一步打好的包
路径:elastic-job\elastic-job-lite\elastic-job-lite-console\target\elastic-job-lite-console-2.1.5.tar.gz
elastic-job-lite-console-2.1.5\bin目录下是启动脚本
windows环境用:start.bat
linux环境用:start.sh
elastic-job-lite-console-2.1.5\conf目录下是配置文件auth.properties,配置的用户名和密码
4.以windows环境为例,双击start.bat启动
打开启动脚本看到启动的端口:8899
5.访问:localhost:8899 ,登录用户名:root,密码:root
原文转自: https://blog.csdn.net/u013274055/article/details/77767506?locationNum=5&fps=1