$sudoapt-getupdate$sudoapt-getinstall \apt-transport-https \ca-certificates \curl \gnupg-agent \software-properties-common$curl-fsSLhttps://download.docker.com/linux/ubuntu/gpg|sudoapt-keyadd-$sudoapt-keyfingerprint0EBFCD88$sudoadd-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release-cs) \ stable"$sudoapt-getupdate$sudoapt-getinstalldocker-ce=5:19.03.5~3-0~ubuntu-bionicdocker-ce-cli=5:19.03.5~3-0~ubuntu-bioniccontainerd.io# Check that docker version has been 19.03.5$sudodockerversion
Ubuntu 16.04を使用する場合は以下です。
$sudoapt-getupdate$sudoapt-getinstall \apt-transport-https \ca-certificates \curl \gnupg-agent \software-properties-common$curl-fsSLhttps://download.docker.com/linux/ubuntu/gpg|sudoapt-keyadd-$sudoapt-keyfingerprint0EBFCD88$sudoadd-apt-repository \"deb [arch=amd64] https://download.docker.com/linux/ubuntu \ $(lsb_release-cs) \ stable"$sudoapt-getupdate$sudoapt-getinstalldocker-ce=5:19.03.5~3-0~ubuntu-xenialdocker-ce-cli=5:19.03.5~3-0~ubuntu-xenialcontainerd.io# Check that docker version has been 19.03.5$sudodockerversion
■Dockerコンテナの保存先を変更する理由
システムドライブではなく別のドライブにDockerコンテナを保存することにより、システムドライブの容量を確保するためです。この設定は環境に応じて変更してください。なお、設定を変更しなくてもSenseLink GE Enterpriseの動作に影響はありません。
# mysql# change settings to enable the change of Mysql passwordvim/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 containerdockerexec-itdatabase_servicebash# login to Mysql# please change the "password" to your "password" in config filemysql-usenselink-ppassword# change password for current user, please change "new_password" to your new passwordmysql> setpassword="new_password";QueryOK,0rowsaffected (0.00 sec)mysql> exitBye# please change the "root_password" to your "root_password" in config filemysql-uroot-proot_password# change password for current user, please change "new_root_password" to your new passwordmysql> setpassword="new_root_password";QueryOK,0rowsaffected (0.00 sec)mysql> exitBye# login to MongoDBmongo> use sensekeeperswitchedtodbsensekeeper# 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")> exitbye# exit database_serviceexit#change the Redis password through config filesvim/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 servercd/home/root6/Desktop/{senselinkge-standardalone}./restart.sh