MongoDB:修订间差异
来自康健生活
| 第5行: | 第5行: | ||
vi /etc/yum.repos.d/mongodb-org-4.0.repo</syntaxhighlight>}} | vi /etc/yum.repos.d/mongodb-org-4.0.repo</syntaxhighlight>}} | ||
{{hc|mongodb-org-4.0.repo|< | {{hc|mongodb-org-4.0.repo|<syntaxhighlight lang="repo"> | ||
[mongodb-org-4.0] | [mongodb-org-4.0] | ||
name=MongoDB Repository | name=MongoDB Repository | ||
| 第11行: | 第11行: | ||
gpgcheck=1 | gpgcheck=1 | ||
enabled=1 | enabled=1 | ||
gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc</ | gpgkey=https://www.mongodb.org/static/pgp/server-4.0.asc</syntaxhighlight>}} | ||
{{shc|<syntaxhighlight lang="bash"> | {{shc|<syntaxhighlight lang="bash"> | ||