10 アンインストール

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

sudo su -

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

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

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

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

CONTAINER ID        IMAGE                                        COMMAND                  CREATED              STATUS              PORTS               NAMES
eb2d63eb1051        senselink/tk_service:v2.2.0-GE               "java -XX:+UseCGroup…"   31 seconds ago       Up 31 seconds                           tk_service
d0801f270553        senselink/nebula_service:v2.2.0-GE           "java -XX:+UseCGroup…"   32 seconds ago       Up 32 seconds                           nebula_service
f58b9aca792f        senselink/lgapi_service:v2.2.0-GE            "./lgapi"                33 seconds ago       Up 33 seconds                           lgapi_service
5ccad7f954c1        senselink/fs_service:v2.2.0-GE               "./fs"                   33 seconds ago       Up 33 seconds                           fs_service
1e523bfaa561        senselink/slinkpush_service:v2.2.0-GE        "./slpush"               34 seconds ago       Up 33 seconds                           slinkpush_service
a9381e21e7b8        senselink/emq_service:v2.2.0-GE              "./bin/emqttd console"   44 seconds ago       Up 44 seconds                           emq_service
84d4880411bb        senselink/web_service:v2.2.0-GE              "nginx -g 'daemon of…"   45 seconds ago       Up 44 seconds                           web_service
c68744c6a042        senselink/sntp_service:v2.2.0-GE             "./sntp"                 45 seconds ago       Up 45 seconds                           sntp_service
7638096d022e        senselink/java_websocket_service:v2.2.0-GE   "java -Xms512m -Xmx1…"   46 seconds ago       Up 45 seconds                           java_websocket_service
92e990d0fe4a        senselink/java_openapi_service:v2.2.0-GE     "java -Xms512m -Xmx1…"   47 seconds ago       Up 46 seconds                           java_openapi_service
abff7e180431        senselink/infra2_service:v2.2.0-GE           "./infra"                47 seconds ago       Up 47 seconds                           infra_service
8a07ce0d36c2        senselink/schedule2_service:v2.2.0-GE        "./schedule"             48 seconds ago       Up 47 seconds                           schedule_service
12ec8b98bcf7        senselink/java_service:v2.2.0-GE             "java -XX:+UseCGroup…"   About a minute ago   Up About a minute                       java_service
351a72010eaa        senselink/event_service:v2.2.0-GE            "java -XX:+UseCGroup…"   About a minute ago   Up About a minute                       event_service
38f37ae77028        senselink/sync_service:v2.2.0-GE             "./sync"                 About a minute ago   Up About a minute                       sync_service
5363a00ec71a        senselink/feature_service:v2.2.0-GE          "./feature"              About a minute ago   Up About a minute                       feature_service
c68cd1ec6ee6        senselink/opq_service:v2.2.0-GE              "startopq.sh"            About a minute ago   Up About a minute                       opq_service
6f941a999947        senselink/zookeeper_service:v1.11.0-p        "/bin/sh -c '/usr/sb…"   About a minute ago   Up About a minute                       zookeeper_service
373e00200606        senselink/database_service:v2.2.0-GE         "/bin/bash /senselin…"   About a minute ago   Up About a minute                       database_service

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

./uninstall.sh

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

##### Start to Stop All Services #####
eb2d63eb1051
d0801f270553
f58b9aca792f
5ccad7f954c1
1e523bfaa561
a9381e21e7b8
84d4880411bb
c68744c6a042
7638096d022e
92e990d0fe4a
abff7e180431
8a07ce0d36c2
12ec8b98bcf7
351a72010eaa
38f37ae77028
5363a00ec71a
c68cd1ec6ee6
6f941a999947
373e00200606
##### All Services Stopped, Start to Remove Containers #####
eb2d63eb1051
d0801f270553
f58b9aca792f
5ccad7f954c1
1e523bfaa561
a9381e21e7b8
84d4880411bb
c68744c6a042
7638096d022e
92e990d0fe4a
abff7e180431
8a07ce0d36c2
12ec8b98bcf7
351a72010eaa
38f37ae77028
5363a00ec71a
c68cd1ec6ee6
6f941a999947
373e00200606
##### All Containers Removed, Start to Remove Images #####
Untagged: senselink/fs_service:v2.2.0-GE
Deleted: sha256:f4ce67410f198c27808a0ec50dc82037b669885681a2d7bb0c431cc9043ecd0d
Deleted: sha256:a158a7af682820526921b78b36c7dbfc2d3b39bf8595b8d6fb9e04d0cbeb9d98
Deleted: sha256:909ee6a803bcb98d6363c4ea7e0a694318b554851f72e2084b19232b25cd81c4
Deleted: sha256:9d7869fb3408acd978c140739569b0eac5005a5bb17f10744c361b8ae4419a26
Deleted: sha256:651df2c95539c81889005983406a7b8c0677c76e4389bdb34109e4347aab7ecf
Deleted: sha256:1b2562b347da975a3301b1b81195fab0941b138bac2318948a4f953c5d7ad546
Untagged: senselink/database_service:v2.2.0-GE
Deleted: sha256:562054a82ef9a91e15a3cc1e2615d4b849c3665321757c78936718f33649fe4d
Deleted: sha256:8199baaf896b2f8c68b5f434d061673c01d7a728eeaecac7ab0d45272159f5ae
Deleted: sha256:5be71221a7cd26d659883201aec14ae188ba7a88a47ec6a6b034e8de97728301
Deleted: sha256:aa4ac212aa3a5bcbb5aee42379e9c46c6ef9c2fb8e514d77a91c479c7e0b1c2c
Deleted: sha256:4ad00fc4ef21fd4286bc2d713f69b472770e3939d9610ae707f53b4abdb467e9
Deleted: sha256:d4c2f3f1a4882ec55c1fac5da44f1f2f04c5ac80bbe17ebaa905696d93ce8fa0
Deleted: sha256:6c28687436e9864f27bd27c2eca6f5c290034f7dafcb18cabdf9150a9c0b5d9d
Deleted: sha256:51d40c1197cc0e303ac28fe59fe26e89a6aaa0cf137babbab03545b5591fd1ec
Deleted: sha256:ee3f2f7346a5149d27515105301dcef09002e3eb2591a9e1c8943bd916ca4376
Deleted: sha256:386ce00247234851c4a6dab043f12e3f258d38179e5427d09251e41f8e852899
Deleted: sha256:15bef5abb5bcb055bfc0764c13164275b3f97294099a444457a2a9ad11c90c88
Deleted: sha256:b9a263e90705a41a6b3a149275ab3467ffaf84ac4d1717aef6b323dfaf534430
Deleted: sha256:7b0521ec142848c21bc3738380b17a7f067b62fc01a40bedff60799d37545c7d
Untagged: senselink/feature_service:v2.2.0-GE
Deleted: sha256:14449ae121055d86e6dccb8fa461a517a227d575847e325b9e6e60b4d37e590f
Deleted: sha256:ce4fe6101dbb425766c11950fa989a7ce696dfc3b037c0ae48136e1dba48af49
Deleted: sha256:f4f26809ba211fdb95c524d7e9781dbcfd5d350457e2c1e6210bab13f82e662c
Deleted: sha256:4fb0fd38d38ef01c17f5c23029a8bfca7f6e77ed87e1b793e881bd596ea7fbb3
Deleted: sha256:b718029ac5e31e5f5563efba0602eb4295b683bea422f618c691deef5f38d2ed
Deleted: sha256:449bda1a1acd0ed49057a35dd225b30fda62ad4d14c0100a9592957a31861efa
Deleted: sha256:be511edcfc655f4ac4697cd52435d0edd4dc92358a79ce38bf7c5c28a800926e
Untagged: senselink/sync_service:v2.2.0-GE
Deleted: sha256:1679d3f20ec69a8c0ace27862f588a95def714a8cbab04cb19db392020fc3565
Deleted: sha256:3f1e97950be072f7c6e8aa2f44df8031bef888d7c57bc216debcafd1775a1231
Deleted: sha256:cc835a43468778a61a4dc6f43c7d40178a8c9f8e0e71439062e6e1774adbf97d
Deleted: sha256:f1177a8920becf7d64554bf6fab76a0e2943f4132a844cf9c00792c1f5d7dc76
Deleted: sha256:f5a735912fa7aaf3a57f76787b65b2c6cc0458fcba688a7ae0650846f558cbfe
Deleted: sha256:b0fa160b15bdb23949172254cf61ddfe0408d35b5c5ccba3b5214988097c2919
Untagged: senselink/schedule2_service:v2.2.0-GE
Deleted: sha256:282eb9a0e575c6ee42530ccf9b11f33556852980dadd1494269faed9c4fb6d4f
Deleted: sha256:44b639e0bc6edf4a2dce2c585ba9c120f8387c7b1fb1051a02b4e405a94c7135
Deleted: sha256:f01b5a7a8ae12578d63145352645c7142c0f4f1ff901c5b808ea9e73a3538950
Deleted: sha256:109d945969fd6575852650b9960e84b042a33029204e8cd3a7e25663fef65f89
Deleted: sha256:38ebcaf942663721a702c5dafd051403db49831d5ad762a3ebde8d4613aae644
Deleted: sha256:0e85d7969335077f6a283ae1bd334ab1d88736ebc5f7b428c23f74c14209746c
Untagged: senselink/nebula_service:v2.2.0-GE
Deleted: sha256:8ae2ff620a009c864059e09073596477a245487e23f21ddf41cc2ed4e2298a1e
Untagged: senselink/tk_service:v2.2.0-GE
Deleted: sha256:5fcebe9d0679cdadc35ca8be185042b339cccce44b58079a8c6cfaeb6dcf50b5
Deleted: sha256:5ccfefe086d8dd18571ae938300c509a62199309f1031355c0941898af0e072c
Untagged: senselink/lgapi_service:v2.2.0-GE
Deleted: sha256:602f3efd7fc323194ab4964a2e9a4b8d99a1a311a977b3e0e161b19153c9f4ad
Deleted: sha256:2386edbcfe9f7d424f9fdb15fe052124212c6ca172999429d6f8687c92f2c829
Deleted: sha256:b5ffea875bcd446027f34e80c02cb3d65ec9268e7d586e12ad5b4de8349b70b5
Deleted: sha256:47449953561eb99a987293e75d4f1b7fee18959f210451a960dd1ce67ff15333
Untagged: senselink/event_service:v2.2.0-GE
Deleted: sha256:1c6128e4821c527387f81abc5e2e00757ec0c78bfe970c91294da8ed31d6e918
Deleted: sha256:efa460c83228aa25fb107ce8f62438dd3aab879f645d6ae9dd8f135477f080c1
Untagged: senselink/net_service:v2.2.0-GE
Deleted: sha256:dd155860ef46f1be279a36092df2418d9c29c073d66399119521b8dc71bc9cda
Deleted: sha256:ed0ff16e9b31150be31e198be5fdba8d3e9ac495e22ec5b3737f1628dab2ac1d
Deleted: sha256:991382d05a0f51ef7cc40faed481ecda546ffd45060460e32460ca2035d25bbf
Deleted: sha256:e8e4316661a814a2cd8a7dcc167563bd7fe92a2f05f3d98e64e699219a5f2ae5
Deleted: sha256:6cc7786853ba8164d1848a04e0e330559ac479720a1d76d1bbaf8e9a9b3fea94
Deleted: sha256:1fe4199fb57af52918f298b77c74fd95f5018afb49a075ad9781fde394b1775d
Untagged: senselink/java_websocket_service:v2.2.0-GE
Deleted: sha256:2adc215a3f0c89229635ce0a606c96699fe022aad059360e33402e97f217400b
Deleted: sha256:977edd558d7f8e6484448c64b5ad89c19544b4a432b1f57865dd67e9ac1cd7c3
Deleted: sha256:5a065ded243edc86115abbffeec86fdbdd3dcb45c6687b1278e601292d2dcc5f
Deleted: sha256:f0c549a7eab204de3f3638ac4bcde05aa263c0221f247cc6a700ca0aa0f3fce0
Untagged: senselink/sntp_service:v2.2.0-GE
Deleted: sha256:f440b1e20da77c06005824ccd68c0d3556187080984c679bf29d6074330aa5ed
Deleted: sha256:242d898acea257800dedf5a8dcddfe47d63c362b95fa943c15bd9fd83a513076
Deleted: sha256:b62f3e9dcb06358cc89fa103a61198c294abbcbebb8504ab0eb55ad86361d6c8
Deleted: sha256:131f74211fefde7d5bbfb8574e6c6f19bfcab920b04ff922192c2cbc3996aa87
Untagged: senselink/infra2_service:v2.2.0-GE
Deleted: sha256:0b15e0e9fc4bc218abacd235f7e58c1c58cf16aa90c9d7fefbb920f24c2a13a0
Deleted: sha256:e37a0c19b80b7fc5c3bc1fdfc85f292769a03efcd7f0f7ccec436fb02f885334
Deleted: sha256:d231f65d2642a48e6dc20c8228563e85140972689199932a0ecbf8d5fc6210a3
Deleted: sha256:5fa8f8e96c4cf092cc7ee5db2f09c5e79733e1ebb0279101faeb56f81d14663e
Deleted: sha256:175c67a3f00f7552721c55891b32c1cb92c370340dfb01e0ecc86f10d734a7d4
Deleted: sha256:da1daeb63353cbc3b17abda56f5ae0f6fd04a7b98a5e66802019f1cb405bcb7b
Untagged: senselink/web_service:v2.2.0-GE
Deleted: sha256:e4786830dd76ee35ce185fc32bfd97b7bec8f76e7f2489abcb91134841bda6dc
Deleted: sha256:5df41161b88667c4d1f741bc57094096a811ef4efd6eebec736dffc41aedadf4
Deleted: sha256:ae142d91ffd19edbd27474dd3d9570602c0aa6f73ce62874ca038834ba8b2643
Deleted: sha256:3cf101f87d3fcfd4c1b02e93d08cf59e109aeaf8cf7df09a1649c908385dbb2d
Deleted: sha256:f2cb0ecef392f2a630fa1205b874ab2e2aedf96de04d0b8838e4e728e28142da
Untagged: senselink/java_openapi_service:v2.2.0-GE
Deleted: sha256:f4a08949f6f7e4462ec34ad800e6b6fc510e6e1e19751c9f0ffc57db06e03bbe
Deleted: sha256:38500f63e9f7837e8ae1ff2356dcf0d6a01efb4373b72776f0b7163c6ab24ea7
Deleted: sha256:e69921031958a70b423d2591e4aa5508981181ec7c19955691ce09111e2d561f
Deleted: sha256:3cf06af6e744509babd8d7423b4202ca83f4a4bd7c0f3f7fe95c4eac57635f35
Deleted: sha256:d4b717754f528d4a6f179078f225ce61b42e6f7d24df555f7067d9ab934deed4
Deleted: sha256:6131e2878f196e0ad50cb2872dbbc3c476b2abea6cf65772a7cb2a73a0db066a
Deleted: sha256:fdc47e80ad3dbe1767a5c2141442c0c7aa93a14a817357a0d4353cd8ae48ee58
Deleted: sha256:2b4ed599a73ad82b15d4e3488d95af4f387037b90401d63ad6cb433374b3e3d3
Deleted: sha256:8f06e3a624319de717230f0d766dd8922d048441adb9e0387860a8047d000409
Deleted: sha256:6cebf3abed5fac58d2e792ce8461454e92c245d5312c42118f02e231a73b317f
Untagged: senselink/java_inner_service:v2.2.0-GE
Deleted: sha256:fc9c3afef522d90aa2631b2b59226f6fe4602e1c6b7f19b8d5c5c1aa9f5867e3
Deleted: sha256:15f028f4106bcffe65d6ba1ec40a908db97aeb0b9cde602c35f49d6203d084bf
Deleted: sha256:501a7d1c78b91509904fa5e9fd35cf9876b2c2f449498e236e345bef7722ffd7
Deleted: sha256:a22b8959c973eadc9ff5af5a0ccf9283727a6baf242335bc4a8c2554c58fd1ce
Untagged: senselink/java_service:v2.2.0-GE
Deleted: sha256:95aa9934fafd823dede76a0682b4902dd3178a62aa2d3c2e88e78ac543f0abea
Deleted: sha256:165afcdc925c101a79f0a3177d14679b8dbb7e8b9c700ca4b87db6ab3f105372
Deleted: sha256:76a3063b75e5b83128259603a09ef09467fead5e8a7a10fbc0587ce057267c47
Deleted: sha256:6cfc026f1394278d87aecd3d997683b9519d000da418add6581a1ebad4d10a4b
Deleted: sha256:37724463e5961b25c21009c22390709a676e8e371abf31c2961821f0c3b11c1a
Deleted: sha256:a654ba9723932ac8f9cd236d615a4ba67ee7abdf20b7517aeff8b886a7168715
Deleted: sha256:027b23fdf3957673017df55aa29d754121aee8a7ed5cc2898856f898e9220d2c
Deleted: sha256:0dfbdc7dee936a74958b05bc62776d5310abb129cfde4302b7bcdf0392561496
Deleted: sha256:02571d034293cb241c078d7ecbf7a84b83a5df2508f11a91de26ec38eb6122f1
Untagged: senselink/slinkpush_service:v2.2.0-GE
Deleted: sha256:895f8666ecffa51b116d81f4faaf5f158993611adc4135d0d0133e0e661d91e1
Deleted: sha256:6b667019f87d32bea4879ed1bfe434597e8c8fc9444ac4d49a4f5ad67fe10831
Deleted: sha256:2b04baa9fe8562031df05f1256d898767d1666da0993e757c8779b4e4be8e91b
Deleted: sha256:a6902b802c368254ea0109838e4269be09e83fa51a8e775b24031a09a4d8cb36
Deleted: sha256:a164720499275cd3f68a43fdd53355e5d288214491f9751fb1c4737a4370871e
Deleted: sha256:28d30ad1bcdcf18c0e2de5361cbb033f13020e9202d2b3eccaf3dd1d6484d3f4
Deleted: sha256:7444ea29e45e927abea1f923bf24cac20deaddea603c4bb1c7f2f5819773d453
Untagged: senselink/emq_service:v2.2.0-GE
Deleted: sha256:a5c8076e1dcc47bbb75d70c8ba616ed3ba49d4d315df0a7a00aca6a20e1e6fdb
Deleted: sha256:87e8a2069efd4e5637bfb6b6e6beb2517850625020fa8390c76937cb9b4b55bf
Deleted: sha256:7949d88156b969d53b902822c2f47c2faa5456210eeded287fd8c5308775c2c2
Deleted: sha256:0c39ae07db6fd9c0bd49009201faa56c6d2d4c3e663c6557b8221af909fc821c
Deleted: sha256:5f9f51e42a3322f3ce43594fc8f9b4851191173b1ea944048b15025040ee91e7
Untagged: senselink/opq_service:v2.2.0-GE
Deleted: sha256:16d8b60481d163d8946094893aa01dc6988e87f9cabf11d7de048850cc4c743a
Deleted: sha256:c55a5f981c2f09f6ec5097b56a6bc373538d87f010cfe29f7f16937c97c4227a
Deleted: sha256:77d6b179e5714fe559605210e5b432e69417578090c0c11f9954255a55514f40
Deleted: sha256:a97227ba8a902c7c7783e8f439f8ca0b6bbfa0b40973001e656d8a94eaadaa30
Deleted: sha256:64faa61fee08d0b8d55db6f4ccb42bf1b13d5af065b2e1f89d2e7f3b8b9e7b7b
Deleted: sha256:535043c66dacfed1a2769597f6447adb0a114031f4f02df3d153c0de48ed1617
Deleted: sha256:b4d3af941054c99b15c27b809f4115ddc94c307aa97705c53c52b1b687298ba5
Deleted: sha256:36fb0d2dd04845e4d517cdb206bc16303172273150b8a74387ebc24157fc5bc6
Deleted: sha256:7c66d02ec02b23556302d9826e1966a6c94b775ec87bc5779acf26b0365ed2fb
Deleted: sha256:9e6f810a2aabaa90d8e79f52847c74617a94e78fe223f4f067d84a6bd63b9393
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}

最終更新