惯性聚合 高效追踪和阅读你感兴趣的博客、新闻、科技资讯
阅读原文 在惯性聚合中打开

推荐订阅源

Attack and Defense Labs
Attack and Defense Labs
T
Threatpost
C
Cybersecurity and Infrastructure Security Agency CISA
H
Hackread – Cybersecurity News, Data Breaches, AI and More
I
Intezer
C
Cyber Attacks, Cyber Crime and Cyber Security
The Register - Security
The Register - Security
量子位
Security Latest
Security Latest
奇客Solidot–传递最新科技情报
奇客Solidot–传递最新科技情报
大猫的无限游戏
大猫的无限游戏
小众软件
小众软件
Exploit-DB.com RSS Feed
Exploit-DB.com RSS Feed
C
CXSECURITY Database RSS Feed - CXSecurity.com
MyScale Blog
MyScale Blog
J
Java Code Geeks
Apple Machine Learning Research
Apple Machine Learning Research
Google DeepMind News
Google DeepMind News
WordPress大学
WordPress大学
Spread Privacy
Spread Privacy
Jina AI
Jina AI
博客园 - 【当耐特】
P
Palo Alto Networks Blog
Last Week in AI
Last Week in AI
SecWiki News
SecWiki News
Threat Intelligence Blog | Flashpoint
Threat Intelligence Blog | Flashpoint
cs.AI updates on arXiv.org
cs.AI updates on arXiv.org
G
GRAHAM CLULEY
宝玉的分享
宝玉的分享
Hacker News - Newest:
Hacker News - Newest: "LLM"
T
The Blog of Author Tim Ferriss
V
Vulnerabilities – Threatpost
有赞技术团队
有赞技术团队
T
Tor Project blog
H
Hacker News: Front Page
A
Arctic Wolf
NISL@THU
NISL@THU
A
About on SuperTechFans
云风的 BLOG
云风的 BLOG
Engineering at Meta
Engineering at Meta
V
V2EX
N
News and Events Feed by Topic
Webroot Blog
Webroot Blog
Know Your Adversary
Know Your Adversary
P
Privacy International News Feed
I
InfoQ
D
Docker
L
LINUX DO - 最新话题
K
KPMG report finds enterprise disconnect between AI and its ROI | CIO
U
Unit 42

博客园 - chenping2008

连接远程数据库,得到数据插入本地表中 php复制目录 PHP删除目录 php统计目录大小 js秒数转换天时分秒 JS切换图片 js 游览器log的记录 2个iframe中checkbox联动 JS Clone函数 JS普通递归的改进 JS随机数的产生方法 JS相等运算符(==)和等同运算符(===) silverlight树形结构区服选择 Mongodb的一些基本概念 redis windows下使用及redis命令 相册功能 Node.js 系列翻译---console Node.js 系列翻译---概要 补充Silverlight中图片显示
Mongodb在Ubuntu下的安装
chenping2008 · 2012-04-01 · via 博客园 - chenping2008

一.Ubuntu的安装

实验的环境是在WM-ware下进行安装的。具体的安装步骤,这里有个详情的安装步骤,强烈大家最好安装上vm-tools,方便在本机和VM中拷贝。

二.Mongodb的安装

笔者这边安装的Ubuntu是32位的,所以到Mongodb的下载页面选择了 Linux 32-bit

在32位的系统中Mongodb数据库有个大小限制为2G。对于64位的系统来说,没有数据库大小的限制。所以在学习的环境中部署32位的就可以,真实环境中需要部署64位的。

windows下也是可以安装Mongodb的,但是也是作为学习,开发环境。

安装的步骤也是简单,只要下载,解压,启动就可以。

1.下载一个32位的mongodb放到ping这个文件夹下(ping这个是一个用户)

2.然后解压 mongodb-linux-i686-2.0.4.tgz

3.新建文件夹/data/db  这个是mongodb默认的数据存放位置,windows下是在c:/data/db,当然也可以是任意位置

4.安装如下的命令开启mongodb服务

可以看到mongodb数据库服务开启以后的一些信息。

此时,我们可以再开启一个客户端:

默认是连接的test的数据,可以使用use命令转向其他的数据库。关于mongodb的命令以后会介绍。

关于mongodb其他的知识,以后会一点一点的写出来。