时间:2021-07-01 10:21:17 帮助过:19人阅读
ubuntu安装mongodb数据库服务器 1、mongodb安装 www.2cto.com sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10 sudo echo deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen /etc/apt/sources.list.d/10gen.list
ubuntu安装mongodb数据库服务器
1、mongodb安装
www.2cto.com
sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10
sudo echo "deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen" > /etc/apt/sources.list.d/10gen.list
sudo apt-get update
sudo apt-get install mongodb-10gen
2、mongodb管理
启动:sudo /etc/init.d/mongodb start
关闭:sudo /etc/init.d/mongodb stop