时间:2021-07-01 10:21:17 帮助过:21人阅读
2、yum安装mongodb
sudo yum install -y mongodb-org
3、启动mongodb
systemctl start mongod.service
4、查看mongodb
mongo
1、下载安装包并解压
curl https://fastdl.mongodb.org/linux/mongodb-linux-x86_64-rhel70-4.0.10.tgz
2、配置环境变量
export PATH=<mongodb-install-directory>/bin:$PATH
centos7安装mongodb
标签:gpg exp mongod systemctl dir org seve 下载安装 directory