-
[MongoDB] Ubuntu 18.04에 설치개발 환경/DataBase 2020. 7. 22. 16:58반응형
1. Import the public key
wget -qO - https://www.mongodb.org/static/pgp/server-4.2.asc | sudo apt-key add -
output:
OK
2. Create a list file for MongoDB.
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.2.list
output:
deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu bionic/mongodb-org/4.2 multiverse
3. Update
sudo apt-get update
4. Install
sudo apt-get install -y mongodb-org
출처:
반응형'개발 환경 > DataBase' 카테고리의 다른 글
[MongoDB] Docker로 MongoDB 사용하기 (0) 2020.07.22