Update README.md
This commit is contained in:
parent
49263f0d40
commit
3f35788e37
|
@ -64,6 +64,8 @@ server {
|
|||
## 安裝 MongoDB 3.2.22
|
||||
```sh
|
||||
$ # 匯入 MongoDB 公鑰到套件管理系統
|
||||
$ wget http://archive.ubuntu.com/ubuntu/pool/main/o/openssl1.0/libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb #Ubuntu 20.04LTS
|
||||
$ sudo dpkg -i libssl1.0.0_1.0.2n-1ubuntu5.3_amd64.deb #Ubuntu 20.04LTS
|
||||
$ wget -qO - https://www.mongodb.org/static/pgp/server-3.2.asc | sudo apt-key add -
|
||||
$ # 建立 list file
|
||||
$ echo "deb http://repo.mongodb.org/apt/ubuntu xenial/mongodb-org/3.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-3.2.list
|
||||
|
|
Loading…
Reference in New Issue