@achievewithoutborders/mongo-rs 中文文档教程
mongo-rs
一个简单的 Mongo DB 命令包装器,用于将其作为副本集运行。
Installation
sudo npm i @achievewithoutborders/mongo-rs -g
Usage
Start
sudo mongo-rs start
Stop or Kill
sudo mongo-rs kill
Auto Start on Boot
删除独立 Mongo 的自动启动,
sudo systemctl disable mongod
然后
sudo mongo-rs auto-start
License
mongo-rs
A simple Mongo DB command wrapper for running it as replica set.
Installation
sudo npm i @achievewithoutborders/mongo-rs -g
Usage
Start
sudo mongo-rs start
Stop or Kill
sudo mongo-rs kill
Auto Start on Boot
Remove auto start of standalone Mongo
sudo systemctl disable mongod
then
sudo mongo-rs auto-start