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)를 수정합니다.
D:/GIT_RESP/glue-job-scheduler-2/glue-scheduler-server/bin/gluecipher.bat
set "JAVA_HOME=C:/Java/jdk1.8.0_172" set "SCHEDULER_HOME=D:/GIT_RESP/glue-job-scheduler-2/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/conf/key Enter filename : glue.cipher
Enter original : admin
original : admin encrypted : SShNE5H2v00=
cm-dataSource.password=enc##SShNE5H2v00= # for encrypted password ( prefix is needed : enc## )
-DCIPHER_KEY_FILE=/usr/local/glue/glue.cipher