Home >Database >Mysql Tutorial >ubuntu安装mongodb数据库服务器

ubuntu安装mongodb数据库服务器

WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWB
WBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOYWBOriginal
2016-06-07 14:53:551093browse

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

 

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn