Ubuntu 18.04 (Bionic) 安装 MongoDB (Install MongoDB Community Edition on Ubuntu) 查看 Ubuntu 版本 lsb_release -a Distributor ID: Ubuntu Description: Ubuntu ...
分类:
数据库 时间:
2021-01-12 11:08:09
阅读次数:
0
搭建在单一服务器 基于官方文档 http://hadoop.apache.org/docs/r2.7.2/hadoop-project-dist/hadoop-common/SingleCluster.html#Pseudo-Distributed_Operation 1、配置:hadoop-env ...
分类:
其他好文 时间:
2021-01-11 11:23:14
阅读次数:
0
实战2:使用selenium爬取淘宝数据,保存在mongodb 配置文件 MONGO_URL = 'localhost' MONGO_DB = 'taobao' MONGO_TABLE = 'yintiao' 爬虫文件 from selenium import webdriver from sele ...
分类:
数据库 时间:
2021-01-11 10:47:01
阅读次数:
0
In AKS, the absolute maximum number of nodes that a cluster can have depends on a few configurations, including whether the node is in a VM State Set ...
分类:
其他好文 时间:
2021-01-08 11:41:16
阅读次数:
0
这里只写后端的代码,基本的思想就是,前端将文件分片,然后每次访问上传接口的时候,向后端传入参数:当前为第几块文件,和分片总数 下面直接贴代码吧,一些难懂的我大部分都加上注释了: 上传文件实体类: 看得出来,实体类中已经有很多我们需要的功能了,还有实用的属性。如MD5秒传的信息。 public cla ...
分类:
Web程序 时间:
2021-01-08 10:50:06
阅读次数:
0
vim mongodb.yaml apiVersion: apps/v1 kind: Deployment metadata: name: mongodb labels: app: mongodb spec: replicas: 1 selector: matchLabels: app: mongo ...
分类:
数据库 时间:
2021-01-07 11:58:16
阅读次数:
0
注意: 每个redis节点使用相同硬件的配置,相同的版本,相同的密码。 redis节点必须没有任何数据,否则分配槽位会失败。 集群规划: 原生命令手动部署集群 部署过程 安装redis并配置开启cluster功能 各个节点执行meet,实现所有节点互相通信 为每个master节点分配槽位 为每个ma ...
分类:
其他好文 时间:
2021-01-06 12:27:22
阅读次数:
0
报错信息: Error: Kubernetes cluster unreachable: Get "http://localhost:8080/version?timeout=32s": dial tcp [::1]:8080: connect: connection refused 报错原因: h ...
分类:
Web程序 时间:
2021-01-06 11:38:10
阅读次数:
0
MongoDB语法与现有关系型数据库SQL语法比较 MongoDB语法 MySql语法 db.test.find({'name':'foobar'})<==> select * from test where name='foobar' db.test.find() <==> select *fro ...
分类:
数据库 时间:
2021-01-05 11:00:27
阅读次数:
0
今天执行:net start MongoDB 开启服务时,出现服务名无效问题。 百度搜了一些文章,终于找到了解决办法: 1、新建db文件夹和log文件夹 2、新建mongo.config文件 dbpath=D:\Program Files\MongoDB\Server\4.2\data\db log ...
分类:
数据库 时间:
2021-01-04 11:27:12
阅读次数:
0