echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1
wget -qO - https://www.mongodb.org/static/pgp/server-5.0.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/5.0 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-5.0.list
sudo apt update
sudo apt install -y mongodb-org
sudo systemctl start mongod
sudo systemctl status mongod
sudo systemctl enable mongod
--------------------------------------------------------------------------------------------------------------------------------------
메모리 등 사양 때문에 Active가 안될 경우 4.4 버젼으로 설치해야 한다.
echo "deb http://security.ubuntu.com/ubuntu impish-security main" | sudo tee /etc/apt/sources.list.d/impish-security.list
sudo apt update
sudo apt install libssl1.1
wget -qO - https://www.mongodb.org/static/pgp/server-4.4.asc | sudo apt-key add -
echo "deb [ arch=amd64,arm64 ] https://repo.mongodb.org/apt/ubuntu focal/mongodb-org/4.4 multiverse" | sudo tee /etc/apt/sources.list.d/mongodb-org-4.4.list
sudo apt update
sudo apt install -y mongodb-org=4.4.11 mongodb-org-server=4.4.11 mongodb-org-shell=4.4.11 mongodb-org-mongos=4.4.11 mongodb-org-tools=4.4.11
sudo systemctl start mongod
sudo systemctl status mongod
sudo systemctl enable mongod
'리눅스' 카테고리의 다른 글
[Ubuntu 22.04] MongoDB 사용자 추가 (0) | 2022.07.08 |
---|---|
[Ubuntu 22.04] 화면잠금 시간 1시간으로... (0) | 2022.06.27 |
[Ubuntu 21.10] 관리자계정으로 filemanager 열때 버그 수정 (0) | 2021.12.29 |
[Ubuntu 21.04] PanelDateFormat (0) | 2021.12.07 |
[Ubuntu] Dash To Dock 중복 표시 문제 해결 (0) | 2021.12.02 |