Heim >Datenbank >MySQL-Tutorial >ubuntu安装mongodb数据库服务器

ubuntu安装mongodb数据库服务器

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

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

 

Stellungnahme:
Der Inhalt dieses Artikels wird freiwillig von Internetnutzern beigesteuert und das Urheberrecht liegt beim ursprünglichen Autor. Diese Website übernimmt keine entsprechende rechtliche Verantwortung. Wenn Sie Inhalte finden, bei denen der Verdacht eines Plagiats oder einer Rechtsverletzung besteht, wenden Sie sich bitte an admin@php.cn