§2023-07-23
$ wget https://downloads.mongodb.com/compass/mongosh-1.10.1-linux-arm64.tgz && cd ..
$ tar xvf src/mongosh-1.10.1-linux-arm64.tgz && cd mongosh-1.10.1-linux-arm64/bin/
$ ls -l
total 175764
-rwxr-xr-x 1 alexlai alexlai 98110496 6月 21 06:00 mongosh
-rwxr-xr-x 1 alexlai alexlai 81868616 6月 21 06:00 mongosh_crypt_v1.so
$ ./mongosh mongodb://ysadmin:yushei23258585@redisMongo01.yushei.com.tw:27017,redisMongo02.yushei.com.tw:27017,redisMongo03.yushei.com.tw:27017/YuSheiDB?replicaSet=ys20220318
Current Mongosh Log ID: 64bc9824c849bda6c3fdf327
Connecting to: mongodb://<credentials>@redisMongo01.yushei.com.tw:27017,redisMongo02.yushei.com.tw:27017,redisMongo03.yushei.com.tw:27017/YuSheiDB?replicaSet=ys20220318&appName=mongosh+1.10.1
Using MongoDB: 5.0.8
Using Mongosh: 1.10.1
For mongosh info see: https://docs.mongodb.com/mongodb-shell/
To help improve our products, anonymous usage data is collected and sent to MongoDB periodically (https://www.mongodb.com/legal/privacy-policy).
You can opt-out by running the disableTelemetry() command.
ys20220318 [primary] YuSheiDB> exit
$ sudo cp -v mongosh /usr/local/bin