摘要: 1.登陆数据库 #mongo 2.创建或切换数据库 >use kc_road 3.创建集合 >use kc_road >db.createCollection("Feng") >show collections 4.GridFS添加文件 #mongofiles -d kc_road put /dat 阅读全文
posted @ 2019-11-25 15:05 奔跑在study的路上 阅读(106) 评论(0) 推荐(0) 编辑
摘要: 1.配置yum源 #vi /etc/yum.repos.d/mongodb-org-3.4.repo 添加如下内容 [mongodb-org-3.4]name=MongoDB Repositorybaseurl=https://repo.mongodb.org/yum/redhat/$release 阅读全文
posted @ 2019-11-25 14:25 奔跑在study的路上 阅读(638) 评论(0) 推荐(0) 编辑