redis cluster集群web管理工具 relumin

java环境

tar -zxvf jdk-8u171-linux-x64.tar.gz
mv jdk1.8.0_171 /usr/local/java #添加环境变量
sudo vi /etc/profile
#最后添加如下内容
export JAVA_HOME=/usr/local/java
export JRE_HOME=/usr/local/java/jre
export CLASSPATH=.:$JAVA_HOME/lib/dt.jar:$JAVA_HOME/lib/tools.jar:$JRE_HOME/lib:$CLASSPATH
export PATH=$PATH:$JAVA_HOME/bin #环境变量重载
source /etc/profile #查看是否配置成功
javac

relumin启动

#启动
java -Dconfig=/usr/local/src/relumin-0.1.4/relumin.yml -Dlog.type=file -Dlog.level=INFO -Dlog.dir=/usr/local/src/relumin-0.1.4/log -jar /usr/local/src/relumin-0.1.4/relumin-0.1.4.jar > /dev/null 2>&1 &

relumin.yml配置信息

host: 192.168.1.100

server:
port: 8080
monitorPort: 20080 redis:
host: 192.168.1.100
port: 6379 auth:
enabled: true
allowAnonymous: true notice:
mail:
host: mail.xxx.com
port: 25
charset: UTF-8
from: [email protected]
user: [email protected]
password: 123123 scheduler:
collectStaticsInfoMaxCount: 10000

supervisor守护

[program:relumin]
command=/bin/bash -c 'source "$0" && exec "$@"' /etc/profile java -Dconfig=relumin.yml -Dlog.type=file -Dlog.level=INFO -Dlog.dir=log -jar relumin-0.1.4.jar
directory=/usr/local/relumin
environment=PATH="/usr/local/java/bin"
user=root
stopsignal=INT
autostart=true
autorestart=true
startsecs=1
stderr_logfile=/var/log/relumin.err.log
stdout_logfile=/var/log/relumin.out.log
04-14 11:14