1.安装mongodb
apt-get install mongodb
2.安装etcd
wget https://github.com/etcd-io/etcd/releases/
/home/etcd-v3.3.13-linux-amd64/etcd –advertise-client-urls=http://192.168.0.200:2379 –listen-client-urls=http://192.168.0.200:2379 –data-dir=/home/etcd-v3.3.13-linux-amd64
* –advertise-client-urls
* 就是客户端(etcdctl/curl等)跟etcd服务进行交互时请求的url
* –listen-client-urls
* 这个参数是etcd服务器自己监听时用的,也就是说,监听本机上的哪个网卡,哪个端口
* 说明etcdctl的底层逻辑,应该是调用curl跟etcd服务进行交换
3.安装cronsun
https://github.com/shunfei/cronsun/releases/
启动node
/home/cronsun-v0.3.5/cronnode -conf /home/cronsun-v0.3.5/conf/base.json
启动web
/home/cronsun-v0.3.5/cronweb -conf /home/cronsun-v0.3.5/conf/base.json
WEB页面
IP:7079/ui/#/login