安装源 cd /etc/yum.repos.d/ wget https://repo.mongodb.org/yum/redhat/mongodb-org-3.0.repo 安装MongoDB yum install mongodb-org -y