mongodb在linux用yum安装
2014-12-18 14:34
225 查看
1、
vi /etc/yum.repos.d/10gen.repo,输入下面的语句:
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
2、
yum info mongo-10gen-server
如果提示错误 Not using downloaded repomd.xml because it is older than what we have,那么清空/var/cache/yum文件夹
3、
yum install mongo-10gen-server
yum install mongo-10gen
4、
启动Mongodb
service mongod start
5、进入命令
mongo
vi /etc/yum.repos.d/10gen.repo,输入下面的语句:
[10gen]
name=10gen Repository
baseurl=http://downloads-distro.mongodb.org/repo/redhat/os/x86_64
gpgcheck=0
2、
yum info mongo-10gen-server
如果提示错误 Not using downloaded repomd.xml because it is older than what we have,那么清空/var/cache/yum文件夹
3、
yum install mongo-10gen-server
yum install mongo-10gen
4、
启动Mongodb
service mongod start
5、进入命令
mongo
相关文章推荐
- linux下yum安装MongoDB
- centos用yum安装mongodb及 32位linux(centos)下mongoDB的安装
- MongoDB学习一--在Linux下的yum安装和配置
- centos用yum安装mongodb及 32位linux(centos)下mongoDB的安装
- MongoDB——linux中yum命令安装及配置
- 在linux上用yum安装和卸载mongodb 3.0数据库
- linux程序的安装以及rpm、yum的使用
- linux下使用yum安装gcc的心得
- linux最简单的yum安装openoffice
- Mongodb在Linux下安装及配置
- Linux下安装MongoDB
- MongoDB Linux下的安装和启动
- linux下使用yum安装gcc的几点心得
- 64位Linux使用yum安装两个相同软件不同版本包的解决方法
- [Linux]在Centos中yum安装和卸载软件的使用方法
- How To Install And Configure Ganglia On Red Hat Enterprise Linux 5---YUM 安装篇
- CentOS 5.3 Linux 用yum 安装mplayer
- Linux下安装MongoDB
- [linux] 关于 YUM 的升级安装问题
- Red Hat Enterprise Linux AS release 4 (Nahant Update 4)yum及libaio安装