CentOS7.3 安装MongoDB 3.2 阿里云(亲试)
来源:互联网 发布:模块化数据机房 编辑:程序博客网 时间:2024/06/07 17:51
第一步 —— 将MongoDB添加到yum仓库
根据你需要的MongoDB版本和系统版本不同,创建yum仓库的配置文件/etc/yum.repos.d/mongodb.repo中。这里是MongoDB 3.2。
输入命令:
# vi /etc/yum.repos.d/mongodb.repo
64位系统使用(这里使用阿里源):
[MongoDB]name=MongoDB Repositorybaseurl=http://mirrors.aliyun.com/mongodb/yum/redhat/7/mongodb-org/3.2/x86_64gpgcheck=0enabled=1
第二步 —— 安装MongoDB服务器
# yum install mongodb-org
第三步 —— 启动MongoDB
# /etc/init.d/mongod restart
配置MongoDB随系统自启动
# chkconfig mongod on
第四步 —— 连接MongoDB
# mongo
1 0
- CentOS7.3 安装MongoDB 3.2 阿里云(亲试)
- CentOS7.3 安装Redis 阿里云(亲试)
- 阿里云centos7.3安装tomcat8
- 阿里云 CentOS7.3 下安装JDK
- 阿里云CentOS7 Samba安装
- 阿里云CentOS7安装Oracle11GR2
- 阿里云 Centos7 安装AMP
- 阿里云centos7安装mysql
- 阿里云CentOS7安装MySQL
- 阿里云CentOS7安装MySQL
- 阿里云Centos7安装Mysql方法
- 阿里云centos7 安装与卸载mysql
- 阿里云 centos7.2安装rabbitmq
- 阿里云Centos7 安装 Anocoda puthon2.7
- 阿里云 centOS7下安装MySQL教程
- 阿里云centos7安装yii框架
- 阿里云centos7 上mysql5.7.18安装
- 阿里云centos7.2安装nginx
- Retinex算法解读
- 前端开发思想及建议--整理
- JavaScript---DOM技术、BOM模型演示、window对象
- 设计模式的七大原则
- 练习
- CentOS7.3 安装MongoDB 3.2 阿里云(亲试)
- Java条件语句摘要
- 常见的移动web开发的问题
- Face++初体验以及如何在Unity中选择本地文件(PC)
- 我的思考——软件开发中的“收敛”
- 1001. A+B Format (20)[C语言]
- Linux下安装mysql
- Python Notes (4)
- qt udp/tcp 绑定发送源端口(Specify source UDP port when writing datagram)