「MongoDB」:修訂間差異
跳至導覽
跳至搜尋
第8行: | 第8行: | ||
cd /tmp; wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb; sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb; sudo percona-release enable psmdb-42 release; sudo apt update; sudo apt install -y percona-server-mongodb | cd /tmp; wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb; sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb; sudo percona-release enable psmdb-42 release; sudo apt update; sudo apt install -y percona-server-mongodb | ||
</syntaxhighlight> | </syntaxhighlight> | ||
== 設定 == | |||
* <code>/etc/mongod.conf</code> | |||
== 外部連結 == | == 外部連結 == |
於 2020年3月21日 (六) 01:14 的修訂
MongoDB是一套NoSQL類型資料庫。
安裝
這邊安裝的是Percona包裝的版本(Percona Server for MongoDB 4.2,對應到官方的4.2版):
cd /tmp; wget https://repo.percona.com/apt/percona-release_latest.$(lsb_release -sc)_all.deb; sudo dpkg -i percona-release_latest.$(lsb_release -sc)_all.deb; sudo percona-release enable psmdb-42 release; sudo apt update; sudo apt install -y percona-server-mongodb
設定
/etc/mongod.conf
外部連結
- 官方網站 (英文)