1. repo파일 추가 sudo vi /etc/yum.repos.d/mongodb-org-5.0.repo [mongodb-org-5.0] name=MongoDB Repository baseurl=https://repo.mongodb.org/yum/redhat/$releasever/mongodb-org/5.0/x86_64/ gpgcheck=1 enabled=1 gpgkey=https://www.mongodb.org/static/pgp/server-5.0.asc 2. 설치 sudo yum install -y mongodb-org 3. 초기설정 기본 디렉토리 생성 mkdir -p /var/lib/mongo mkdir -p /var/log/mongodb sudo chown -R mongod:mongod /var..