Linux : bin 디렉토리의 실행스크립트(gluecipher.sh)에서 JAVA_HOME
과 SCHEDULER_HOME
을 수정합니다.
/usr/local/scheduler-server/bin/gluecipher.sh
export JAVA_HOME=/usr/local/jdk/jre export SCHEDULER_HOME=/usr/local/scheduler-server
Windows : bin 디렉토리의 실행스크립트(gluecipher.bat)를 수정합니다.
C:/glue-scheduler-server/bin/gluecipher.bat
set "JAVA_HOME=C:/Java/jdk1.8.0_172" set "SCHEDULER_HOME=C:/glue-scheduler-server"
bin 디렉토리의 실행스크립트(gluecipher.sh)를 실행합니다. (Windows는 gluecipher.bat)
/usr/local/scheduler-server/bin/gluecipher.sh
CLI가 실행되면 3(Make key file)을 선택하고 암호화키 저장경로를 입력합니다. (파일명은 glue.cipher 로 생성됨)
Enter path : /usr/local/scheduler-server/key
Enter original : admin
original : admin encrypted : SShNE5H2v00=
cm-dataSource.password=enc##SShNE5H2v00= # for encrypted password ( prefix is needed : enc## )
-Dcipher.path=/usr/local/scheduler-server/key