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

ubuntu安装mongodb数据库服务器

WBOY
Release: 2016-06-07 14:53:55
Original
1057 people have browsed it

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

 

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template