MongoDB安装-CentOS
来源:互联网 发布:淘宝小商品推广免单 编辑:程序博客网 时间:2024/05/17 06:05
1.运行yum查看MongoDB的包信息
[root@localhost /]# yum info mongo-10gen
如提示没有相关信息则在/etc/yum.repos.d下建立10gen.repo文件
[root@localhost /]# vi etc/yum.repos.d/10gen.repo
文件内容:
name=10gen Repositorybaseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64gpgcheck=0enabled=1
此时做好了yum源的配置,在执行一遍1中yum命令查看MongoDB包信息,确定其正确与否
[root@localhost /]# yum info mongo-10genLoaded plugins: fastestmirrorLoading mirror speeds from cached hostfile * base: mirrors.btte.net * extras: mirrors.btte.net * updates: mirrors.btte.netInstalled PackagesName : mongo-10genArch : x86_64Version : 2.4.8Release : mongodb_1Size : 184 MRepo : installedFrom repo : 10genSummary : mongo client shell and toolsURL : http://www.mongodb.orgLicense : AGPL 3.0Description : Mongo (from "huMONGOus") is a schema-free document-oriented database. : It features dynamic profileable queries, full indexing, replication : and fail-over support, efficient storage of large binary data objects, : and auto-sharding. : : This package provides the mongo shell, import/export tools, and other : client utilities.[root@localhost /]#
2.安装:
yum install mongo-10gen-server
安装之后就可以使用了,都是默认配置,可以通过修改mongod.conf修改内部信息。
- CentOS 6.3 安装MongoDB
- CentOS 安装MongoDB
- centos安装mongodb
- CentOS下安装MongoDB
- MongoDB安装-CentOS
- centos 安装MongoDB
- CentOS 安装使用MongoDB
- CentOS 编译安装 MongoDB
- centos安装mongodb
- centos 6.5 安装Mongodb
- centos安装mongodb
- centos安装mongodb
- centos安装mongodb
- CentOs下MongoDB安装
- Centos安装mongodb
- centos 64 安装mongodb
- CentOS 安装 MongoDB
- CentOS下安装mongodb
- swap space
- Spring MVC 传递参数
- Linux平台下WebRTC音视频获取(Javascript API)
- 14-5(3)统计电话号码和QQ中同数字出现的个数
- WINDOW API基本屏幕绘图(GDI Graphics Device Interface 图像设备接口)
- MongoDB安装-CentOS
- how to get the return value from a thread in python?
- 将102011RAC升级到102040
- 搭建好Android开发环镜的Fedora15虚拟机
- perl滑动匹配核心代码
- Ibatis This SQL map does not contain a MappedStatement SelectAll 错误注意
- jsp 实现页面定时跳转
- 基于visual Studio2013解决C语言竞赛题之0601判断素数函数
- SQL的两种类型转换方式