# 下記"{SenseLinkGE-Enterprise-2.x.x-buildxx-xxxxxxxx-RTM}"は解凍されたSenseLinkのディレクトリに置き換えてください
cd /data/{SenseLinkGE-Enterprise-2.x.x-buildxx-xxxxxxxx-RTM}
./one-stop-before-reboot.sh
■Dockerコンテナの保存先を変更する理由
システムドライブではなく別のドライブにDockerコンテナを保存することにより、システムドライブの容量を確保するためです。この設定は環境に応じて変更してください。なお、設定を変更しなくてもSenseLink GE Enterpriseの動作に影響はありません。
# 下記"/home/root6/Desktop/{senselinkge-standardalone}"はインストールパッケージのディレクトリに置き換えてください
vim /home/root6/Desktop/{senselinkge-standardalone}/public/run_all.sh
スクリプト内の下記箇所
cd ../web_service
./run.sh ${web_version}
を
cd ../web_service
./run_http.sh ${web_version}
に変更してください。
その後、アクセス可能なドメイン名を設定してください。
# httpの場合は./public/web_service/defaultを編集してください
# 下記"/home/root6/Desktop/{senselinkge-standardalone}"はインストールパッケージのディレクトリに置き換えてください
vim /home/root6/Desktop/{senselinkge-standardalone}/public/web_service/default_https
# mysql
# change settings to enable the change of Mysql password
vim /home/root6/Desktop/{senselinkge-standardalone}/public/sync_service/config/sync.toml
# modify “enabled = false” to “enabled = true”
vim /home/root6/Desktop/{senselinkge-standardalone}/public/slinkpush_service/config/app.toml
# modify “enabled = false” to “enabled = true”
# login to database_service container
docker exec -it database_service bash
# login to Mysql
# please change the "password" to your "password" in config file
mysql -u senselink -ppassword
# change password for current user, please change "new_password" to your new password
mysql> set password="new_password";
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
# please change the "root_password" to your "root_password" in config file
mysql -u root -proot_password
# change password for current user, please change "new_root_password" to your new password
mysql> set password="new_root_password";
Query OK, 0 rows affected (0.00 sec)
mysql> exit
Bye
# login to MongoDB
mongo
> use sensekeeper
switched to db sensekeeper
# please change "password" to your password in config file
> db.auth("sensekeeper","password")
1
# now you can change the password
> db.changeUserPassword("username","new_password")
> exit
bye
# exit database_service
exit
#change the Redis password through config files
vim /home/root6/Desktop/{senselinkge-standardalone}/public/database_service/database_config/redis.conf
# modify “requirepass senselink_redis” to “requirepass {new_password}”
# update config by your new password
vim /home/root6/Desktop/{senselinkge-standardalone}/config
# restart SenseLink server
cd /home/root6/Desktop/{senselinkge-standardalone}
./restart.sh