10 アンインストール

ご利用中の環境からSenseLinkをアンインストールする手順について記載されています。

サーバーのTerminal(端末)を開き、root権限を取得してください。

sudo su -

カレントディレクトリを、パッケージのインストールディレクトリへ変更してください。

# 下記"/home/root6/Desktop/{senselinkge-standardalone}"はパッケージのインストールディレクトリに置き換えてください
cd /home/root6/Desktop/{senselinkge-standardalone}

パッケージのインストールディレクトリはお客様の環境に合わせて変更してください。2

docker psを実行し、動いているdockerコンテナを確認します。

CONTAINER ID        IMAGE                                        COMMAND                  CREATED             STATUS              PORTS               NAMES
7e98d4965f54        senselink/tk_service:v2.6.0-GE               "java -XX:+UseCGroup…"   9 days ago          Up 9 days                               tk_service
a2c1af237097        senselink/nebula_service:v2.6.0-GE           "java -XX:+UseCGroup…"   9 days ago          Up 9 days                               nebula_service
fbaa843ef0d0        senselink/lgapi_service:v2.6.0-GE            "./lgapi"                9 days ago          Up 9 days                               lgapi_service
3e36416417c1        senselink/fs_service:v2.6.0-GE               "./fs"                   9 days ago          Up 9 days                               fs_service
7b62f52c32b5        senselink/slinkpush_service:v2.6.0-GE        "./slpush"               9 days ago          Up 9 days                               slinkpush_service
ec98690d7385        senselink/emq_service:v2.6.0-GE              "./bin/emqttd console"   9 days ago          Up 9 days                               emq_service
9afa41807df6        senselink/web_service:v2.6.0-GE              "/docker-entrypoint.…"   9 days ago          Up 9 days                               web_service
964c78976567        senselink/sntp_service:v2.6.0-GE             "./sntp"                 9 days ago          Up 9 days                               sntp_service
7af1e2354c02        senselink/java_websocket_service:v2.6.0-GE   "java -Xms512m -Xmx1…"   9 days ago          Up 9 days                               java_websocket_service
e5f388c7d5fc        senselink/java_openapi_service:v2.6.0-GE     "java -Xms512m -Xmx1…"   9 days ago          Up 9 days                               java_openapi_service
1cdf3fdd9da3        senselink/infra2_service:v2.6.0-GE           "./infra"                9 days ago          Up 9 days                               infra_service
223204f34fd7        senselink/schedule2_service:v2.6.0-GE        "./schedule"             9 days ago          Up 9 days                               schedule_service
ec3532da77c5        senselink/java_service:v2.6.0-GE             "java -XX:+UseCGroup…"   9 days ago          Up 9 days                               java_service
8e51eda6cf58        senselink/event_service:v2.6.0-GE            "java -XX:+UseCGroup…"   9 days ago          Up 9 days                               event_service
373fa36b781a        senselink/sync_service:v2.6.0-GE             "./sync"                 9 days ago          Up 9 days                               sync_service
dc7eefcb3703        senselink/feature_service:v2.6.0-GE          "./feature"              9 days ago          Up 9 days                               feature_service
fa935bff7946        senselink/opq_service:v2.6.0-GE              "startopq.sh"            9 days ago          Up 9 days                               opq_service
8fb5de189141        senselink/zookeeper_service:v1.11.0-p        "/bin/sh -c '/usr/sb…"   9 days ago          Up 9 days                               zookeeper_service
13ae876a1e82        senselink/database_service:v2.6.0-GE         "/bin/bash /senselin…"   9 days ago          Up 9 days                               database_service

./uninstall.shを実行して、SenseLinkをアンインストールします。

./uninstall.sh

参照:下記のアンインストールログが出力される想定です。

##### Start to Stop All Services #####
2a26db1e20bf
2b099abaae5d
b1051e7c50dd
5e772492d977
b30f63c45f2c
dbda18153ebd
b35c465e65ce
cad8aa1fab51
d201c226439c
4e9f72aac878
8032b39966f2
c377bc7b999b
e31610e2439d
e04c97b62a77
12c783ac0d64
6f4d023f64f4
082f1da33a6c
389d67a11390
2169ae73fcbe
##### All Services Stopped, Start to Remove Containers #####
2a26db1e20bf
2b099abaae5d
b1051e7c50dd
5e772492d977
b30f63c45f2c
dbda18153ebd
b35c465e65ce
cad8aa1fab51
d201c226439c
4e9f72aac878
8032b39966f2
c377bc7b999b
e31610e2439d
e04c97b62a77
12c783ac0d64
6f4d023f64f4
082f1da33a6c
389d67a11390
2169ae73fcbe
##### All Containers Removed, Start to Remove Images #####
Untagged: senselink/web_service:v2.6.0-GE
Deleted: sha256:c8d03f6b8b915209c54fc8ead682f7a5709d11226f6b81185850199f18b277a2
Deleted: sha256:67a7407724b6c71e2355fc2236b5be27d1f03bf9cbdffdfbb97c1d2a326ccf94
Deleted: sha256:d9ba8a6f08b1a478a08ac08edeaa89e657a78f71a3f8bdb8eea8f211cfa6bd4a
Deleted: sha256:146919003c6b6842551d30de0707b1c329aa26176093e1b0447090c7faa86696
Deleted: sha256:39bab5abc501ec6f680443ad530ba82576ac0943a63ccafc35a81c75e2f90223
Deleted: sha256:451162614317f9aa771883ba0c53581bf6c2fc84463783d334f7d9c10e076a95
Deleted: sha256:e81bff2725dbc0bf2003db10272fef362e882eb96353055778a66cda430cf81b
Untagged: senselink/sync_service:v2.6.0-GE
Deleted: sha256:57e0a043aa16b06bc3a42f6b2e3896f8fe2343e31ca63ccb542ae44961769e9b
Deleted: sha256:5ce8506ad18c14fa4a50461c5ed466055e21955d0a9ff79fa07fd934961aaedf
Deleted: sha256:77e6ab0ac608f6f3210cba6a2b8b3bc47c84b445ce5c7cf6fb6568378a985415
Deleted: sha256:f3cb97c734d02d78ae17c21a0d8e529934fc8f6e3ac985922df48a387f614a0a
Untagged: senselink/tk_service:v2.6.0-GE
Deleted: sha256:92ccf6156f1cae1872f81bb7bb381a8a031a55154d8796a012a2f7f50157e008
Deleted: sha256:27617df5b2ae5ba02c3bf094ec263f87c15b472c372836f287c69dd0db855688
Untagged: senselink/nebula_service:v2.6.0-GE
Deleted: sha256:2d9ed2dd3b2b9ed2a9025fa78a073629d4ec43efce302dec1874cc24bffa0d3f
Untagged: senselink/lgapi_service:v2.6.0-GE
Deleted: sha256:8438991ac1e2800689475a80369cd190a75521116845278da4de89b2af942d81
Deleted: sha256:dd8f799ea66b5874135614f758b0c61dddebd672801388f52b7fe872acf8961f
Deleted: sha256:9d5c60e7a389f2238a57170a3fa6dee357a39fe20053b5f88f520573ec9f1c3b
Deleted: sha256:596cae3388f940b1fc0d8a16c91431ab5ea8993936a2492f133080ee3f7dc4e7
Untagged: senselink/event_service:v2.6.0-GE
Deleted: sha256:4427d1e481a48aabfa2b078d5264bc02bcb5e8aa5e219d77de9053cdeb7a359b
Deleted: sha256:3cb2ea3987c082f653c0c4d07c3eec983427ee8d7a1626fe97ed7a85c3fbe0d5
Untagged: senselink/net_service:v2.6.0-GE
Deleted: sha256:7e027f29ece3b4a210d198cec72ca49d9fcbd324b4fabb5817d60d0cbce37ca9
Deleted: sha256:4e3dcc0b113dd0313a46a3facc73d26186b40d0276b6f269180252f9ce1b3396
Deleted: sha256:647c68deda0b2b11aa7f7d78b87ff9af72005011982e38bed33e3993b085bee5
Deleted: sha256:2d9b508765a79928a2b8dc0c4c3c4859d80cdde9cb899006470dfae2a3310e60
Untagged: senselink/java_websocket_service:v2.6.0-GE
Deleted: sha256:78a26380af4b413a6680327f68cae57c0a7eef776012608fe0f29bb518d27ca1
Deleted: sha256:fb36059b97d98d388f67eebf1153fb1d88ebccff4ea0c1967a41c62041578747
Deleted: sha256:85904398246c0a2a5cea5f720e088e377a0c45952212d1365138c7d06d148f66
Deleted: sha256:f3469c4fc1cf125798d7387b4ab978ddb0c24ed48a6f0060f40175759c3f3b02
Untagged: senselink/fs_service:v2.6.0-GE
Deleted: sha256:ad9c8e6bc1478f4b904a6f49a61540e284ecb56bcb614d4947884deb288bc1a1
Deleted: sha256:94394f93552fa2806878137949002a5ccb8990adc44dc30153e0aa9c8675fedc
Deleted: sha256:2223e8b8b06d74b76d830183cead4cf4dc42a76a119c3eb41320f6083b565d8c
Deleted: sha256:b861b4366d7327d2739dc41d6544a6b80691a94af7cf0af881ab28f26f81c950
Deleted: sha256:397df876ad11cda248403e1fb8da1aa87e37e83f6ac461cd77ce9786b29883a7
Deleted: sha256:929a582478af62700b368e825b64709ba79e1a8bc65b353fe9470b8aee55a1ae
Untagged: senselink/sntp_service:v2.6.0-GE
Deleted: sha256:801b23906845728fe9858864cfa9b03cc4ff5bbf8ff53bc28927f0ed2878b930
Deleted: sha256:5580166a373e1987ceddc221be17b0790c346320eea3192b0ee79e4fffd9b2e7
Deleted: sha256:30d92a08503448bc80abce9597d079ddb0659ef71c344b572815434276fd95e5
Deleted: sha256:6cf254457e9299a82a12a7527064fb31c200aa1ad95561355bbc529e32f472dc
Untagged: senselink/infra2_service:v2.6.0-GE
Deleted: sha256:883111277ffe5085944b0e9c1c43f6ecf2defe3ad925357a2c7b2fd08a7825b3
Deleted: sha256:1010d159f3b78d275dda9d067358560de3c401dba833d51a3daa51dc31f3c43e
Untagged: senselink/java_openapi_service:v2.6.0-GE
Deleted: sha256:f121d59f7a61b75ff852b07680c3f733b5f808803b21a20dc9018b9bb9d624f9
Deleted: sha256:8467b403695fdc6391ea5b31c1c415b33a055434176f2c0f83cf4bcecc15f47d
Deleted: sha256:98b52cc57a5a30f95918a9a84d536217d3597abd32132fe17677c33d66ca6049
Deleted: sha256:8ea3ac1620454c3813929fc076126727776e279bf05c31d8a9461e83e86cae8e
Deleted: sha256:d4b717754f528d4a6f179078f225ce61b42e6f7d24df555f7067d9ab934deed4
Deleted: sha256:6131e2878f196e0ad50cb2872dbbc3c476b2abea6cf65772a7cb2a73a0db066a
Deleted: sha256:fdc47e80ad3dbe1767a5c2141442c0c7aa93a14a817357a0d4353cd8ae48ee58
Deleted: sha256:2b4ed599a73ad82b15d4e3488d95af4f387037b90401d63ad6cb433374b3e3d3
Deleted: sha256:8f06e3a624319de717230f0d766dd8922d048441adb9e0387860a8047d000409
Deleted: sha256:6cebf3abed5fac58d2e792ce8461454e92c245d5312c42118f02e231a73b317f
Untagged: senselink/java_inner_service:v2.6.0-GE
Deleted: sha256:90254f4a5c043e462af113fd95ed243fb884ca551eb4b195b731c69744145f2f
Deleted: sha256:26c221bb01a37e998608ea1bc3b5da7fb15951bf738cb9e20e42a7fd59656797
Deleted: sha256:bdef2e5a294029b1760a57e5b2ccb6c2ed8d794966a41aa8164c5c3adbc49943
Deleted: sha256:7983b188e0ace66dfaa37dda21f46d6173977877d7c3f537924893404ba94adb
Untagged: senselink/schedule2_service:v2.6.0-GE
Deleted: sha256:d26f8736dc4d7ba8bde4863f283550f2cb32010883269aca1afdbdf5f997fa75
Deleted: sha256:d935d26efe20903fc790d761a041cf224c052a7c357c54f998f0efa9c448e81c
Deleted: sha256:e35edfef1ea90b219d265ced927e758a3a13c555423b5fe25441949a79e2c1fd
Deleted: sha256:8746a22f43f6feb74fb5d7fb72c1ebf5feac76cb4dd8eb85403bbf8ac5a532a3
Deleted: sha256:745aa164c6c5616bfc9688b1769a5fd688b0585210723f466cb6dccd15d4ad56
Deleted: sha256:93e82d24b494abf72b03a2e60e9574f50802575c7798ce91058252ffca30d9c2
Untagged: senselink/java_service:v2.6.0-GE
Deleted: sha256:0f85a15e88f7f215e9928c78202fdc1f94824355afec54f27c5e4b39d2196932
Deleted: sha256:a90edd7bc3cfb714227b41fc928ea00b486be4db9c50ed82dafe88f4b04a4370
Deleted: sha256:69d7570b8dda800f4d2430558981f314da4ca42f5dafc9599a2fc29238cce500
Deleted: sha256:676f8c302779eb0aa4715711712c2387d08807ac970cd8e4a1e20358ddae2c41
Deleted: sha256:37724463e5961b25c21009c22390709a676e8e371abf31c2961821f0c3b11c1a
Deleted: sha256:a654ba9723932ac8f9cd236d615a4ba67ee7abdf20b7517aeff8b886a7168715
Deleted: sha256:027b23fdf3957673017df55aa29d754121aee8a7ed5cc2898856f898e9220d2c
Deleted: sha256:0dfbdc7dee936a74958b05bc62776d5310abb129cfde4302b7bcdf0392561496
Deleted: sha256:02571d034293cb241c078d7ecbf7a84b83a5df2508f11a91de26ec38eb6122f1
Untagged: senselink/slinkpush_service:v2.6.0-GE
Deleted: sha256:23ba0bde950cbef710473d0ece63306b62a75494279ab50483ea4ec12e60ed23
Deleted: sha256:d71b4894ed73931f18ebe6c973977efc42031fedc5257afc21ca819debdadef8
Deleted: sha256:9d2866f910ec9906bc8ca0dda4ee1d21f0ad685787d4e2524cfa86ee0e5c9534
Deleted: sha256:f3c0baf5003a3adad0497402eb91b03c9d850676f4d5e233ed6d7e8f6ba2c2c5
Untagged: senselink/emq_service:v2.6.0-GE
Deleted: sha256:ca03ac1db8dc72085b22bc8a5c23295b6298c4a6a489ceba75815b86710c775a
Deleted: sha256:fe805b88e02233ac0488f69eb65f25360668500c9807c98a515014e270f58a69
Deleted: sha256:ce64b89801cff7e778020aa13499c1977febfef4fa2d7f7edccab0beedf54218
Deleted: sha256:eb255af9c5944a08db5f7fc2ae9c9c94971360c70bc680e1660e72773a1f13b5
Deleted: sha256:5ac450caf1bf79140dc8746f24bc64ee5dc2faee422826df03b3c3201dffe650
Untagged: senselink/opq_service:v2.6.0-GE
Deleted: sha256:0609b81fd2f20907328552fd9432ce47fb41f8546a9f69ad3e684a9991864a8e
Deleted: sha256:01f30bf5d5c2eb0e8f188a3d66900fe9d4eeab998aab40ce08636a54fb38a768
Deleted: sha256:8cad06f95395947bad85e64709211746fa594dd6302904da4446a9ebb474dd4a
Deleted: sha256:3c8448304ff9346df323fb2407234ad3df421fe86d49c1dd16f370a1f63ee285
Deleted: sha256:9ea4d36d8bc6b6d6f82447ca392616c60a67f8c6fa9fe9753d05c7fa9d8a899e
Deleted: sha256:3b5ccb6d3e75c2f4f51240f1ac22672b8148b1cc5d0e9740436d2dd61526ba72
Untagged: senselink/feature_service:v2.6.0-GE
Deleted: sha256:f4d8f08cbc5b56b258c77baedb7f54903488f936ff847daa512c4e039bf0e9ad
Deleted: sha256:97385c456ce3ee39e3ecbfd71011468c9f758b9a0933625431b5c6ad048ebffb
Deleted: sha256:abe9ebc268c8bb8e951076143389a4a6218cbf50fc75c853f1b6ea51b04ced88
Deleted: sha256:2ff3c1f966d16ec3dbcc5eb32f66ee0067b56c280eebb30600a1da7f0390a790
Deleted: sha256:8aa8de3c93c94bc5b3591663bfa0e51b3a88b761728a771c8e94908235c9e6e9
Deleted: sha256:731370a6d59feb3e6f4006f58b9da6db10bdbec2adf75646112090664b3410f3
Deleted: sha256:a1ab29cff838faa152ca497dcb3cd46ad627f308e4b84153a51fbe72e13ed644
Deleted: sha256:a6f30770bb4ce113da4f751805ed5beaf426a2c5a1f84e754bf077ae00cbbf00
Deleted: sha256:8c77bbe5903a1a9eb9d95ac33b408c7373e3d0e6a88be54e7fa05b2fe510fd35
Deleted: sha256:d9ff549177a94a413c425ffe14ae1cc0aa254bc9c7df781add08e7d2fba25d27
Untagged: senselink/database_service:v2.6.0-GE
Deleted: sha256:4d4a9ee0d2c12ac3d2bbe69d852ea4be8eb8d262de97365fb32fcc740c3bc258
Deleted: sha256:0fcd75b67e317e2878cd0f9c5ae88671f08b71b0515d3f2e2b3d89ce64e7f2d7
Deleted: sha256:68f9137f83446564d68cb2add6d79b92af53104587250cb24fa882164ff7300b
Deleted: sha256:026d3fc9db3d07e064bdf8648814a14a04529b6ce5b25f7d431dad94f4186896
Deleted: sha256:05f84f3f5861da6b7cac2218556dfa31c65359d47574df71ffa8c82b9e63242a
Deleted: sha256:ad8be1febe9008b059a5c74ede49b9ae1fc82dad404157e97c71a49677807a67
Deleted: sha256:8fcb554509bde4ffafb70893bf21c6a372246358acd6d470dd7777458c6a2193
Deleted: sha256:2f84dd383913d046a04f43cb03bf7fdbfef8d4d339139d5960a14f49f39d800c
Deleted: sha256:deb4b40f37ff07594d6d75fa3a319921499c321320663d754a5bbe8b7ff4d850
Deleted: sha256:ac9aaaf7609a10717cd1cb18775b818b1afd19b0b0602cfb61b3e1b77c98a3c9
Deleted: sha256:2a1671d3f98cb528040ebf16c59610babeaed722170d5175c88caa0b93e8bca5
Deleted: sha256:9bb32dd72a01597e8d69acecc89699c1b55cf20192a4caf2e2db71900a7513c2
Deleted: sha256:61e3e79e4798922af2f7d8e6972505fecb2e69ae3381b34880d32fa9a1ab3988
Deleted: sha256:55e4f06a7a7c6c91457233b60ae33fbc5cd8c411c7409578304e7b073703bb3e
Deleted: sha256:c1d1d9da605b9e8df0daa35dfb5ddef3ea2b452574137fbb425f43bee509568c
Deleted: sha256:60db3f0c5d2057f1ca71270cc137c60313f74ae466a7765e12b6a88ba82023fc
Deleted: sha256:d912b5e4480d3517f2ef887b11aa5cd0cc29c5671423ade238d8540c139cb98e
Deleted: sha256:ea69392465ad72ace1216ca2f49a372c7d6f10ec031ab53a94a17699c9ab4185
Untagged: senselink/zookeeper_service:v1.11.0-p
Deleted: sha256:351aa00d2fe9804ed202bb3c1e0f7a337f2a2c316ad87f5e4b3cd052f263782b
Deleted: sha256:cd2cf3704aef513d20c2de71164ca0d61dee828cf5cda22f5d94a6e236c1f537
Deleted: sha256:3d86bd6c82f3d2134f20020ae1dcdb4c35622dfffd846653225348328adc11e1
Deleted: sha256:112613615c3c5830200f6482eb3f7f70679af3829e313b86734373429b0740fd
Deleted: sha256:3180e0cfed96b34b850951884921a54e74ccdb08ba2a412a48a67f3684592a2d
Deleted: sha256:08d496b872a7df357d286f951478725989d59f1d02f429d1b6777a41e259b7d2
Deleted: sha256:43ae9ff4372226476c99eea6d425d7ea95b5a5fb2f74a1b9bbd502a9c3bb9686
Deleted: sha256:feb06b3539913d2c817a6a4aa15ce87925ec57e87fe001fdb21e19a4dc34205c
Deleted: sha256:8a0be0ba98a0a5645b5d23bed652380aec4a501b0136854bf6979ef3652b9a8a
Deleted: sha256:69914bc13886a16f82d734f05b6d31535e32578b0b8027ecd0876f7eee226195
Deleted: sha256:0a6a558061d2753ff3d7a3b2f699b4141afa286c46c64d7479c70680ffb3b31c
Deleted: sha256:16aae303a3e3fc8a3fa161fb753ac18df7fb5cdc3d118bbb1edceb86d846f7ed
Deleted: sha256:d20413971c378e688f6981c69378d2dbf146dce8c69e3281e38b03ff181d8064
Deleted: sha256:0f72e5b180fabc7d295dd2a09fea1b629c83eb6bd13d2e640716251cdbcb3094
Deleted: sha256:1020c0c0f4edc7a5b695351d2dcb8c4e9d70ebd4366d17574ca7e27dfe543fdf
Deleted: sha256:ee468bb36d6d7ef3483378dff5c7920a1340b1e4f5f8c54158d1098e04b79f63
Deleted: sha256:b94a4e48c2c794072e2311cf565a05b12fcff9ab097a294fc57ed9110fd90795
Deleted: sha256:a94a7b5aa8b29d57798c38c7245945c812febe492107770ba965b154d86e869f
Deleted: sha256:9297f600c87d20c6baa252eb509ba3ed6704804237d9d8feec34ddd4ec99184b
Deleted: sha256:f4808639fed5aa49d2b3250683b566a96bdd6652fb0f91ff9024fa0ab89a6bc4
Deleted: sha256:5f70bf18a086007016e948b04aed3b82103a36bea41755b6cddfaf10ace3c6ef
##### Uninstall SenseLink Successfully! #####

docker psを実行し、dockerコンテナが動いてないことを確認します。

CONTAINER ID        IMAGE               COMMAND             CREATED             STATUS              PORTS               NAMES

最後に、データ保存ディレクトリを削除します。

# 下記"{/data/sensetime}"はデータ保存ディレクトリに変更してください。
sudo rm -rf {/data/sensetime}

最終更新