码迷,mamicode.com
首页 > 其他好文 > 详细

apt安装方式 Mongo

时间:2014-10-31 19:23:50      阅读:182      评论:0      收藏:0      [点我收藏+]

标签:style   http   io   os   ar   for   sp   on   art   

apt安装方式

Configure Package Management System (APT)

The Ubuntu package management tool (i.e. dpkg and apt) ensure package consistency and authenticity by requiring that distributors sign packages with GPG keys. Issue the following command to import the 10gen public GPG Key:

sudo apt-key adv --keyserver keyserver.ubuntu.com --recv 7F0CEB10

Create a /etc/apt/sources.list.d/10gen.list file and include the following line for the 10gen repository.

deb http://downloads-distro.mongodb.org/repo/ubuntu-upstart dist 10gen

Now issue the following command to reload your repository:

sudo apt-get update

Install Packages

Issue the following command to install the latest stable version of MongoDB:

sudo apt-get install mongodb-10gen

When this command completes, you have successfully installed MongoDB! Continue for configuration and start-up suggestions.


apt安装方式 Mongo

标签:style   http   io   os   ar   for   sp   on   art   

原文地址:http://my.oschina.net/zuoan001/blog/339354

(0)
(0)
   
举报
评论 一句话评论(0
登录后才能评论!
© 2014 mamicode.com 版权所有  联系我们:gaon5@hotmail.com
迷上了代码!