04 2022 档案
摘要:1、直连模式 #!/usr/bin/env python # -*- coding:utf-8 -*- import redis r = redis.Redis(host='192.168.1.110', socket_connect_timeout=10, port=6379, db=0, pas
阅读全文
摘要:1、问题 使用python脚本连接es报错,The client noticed that the server is not a supported distribution of Elasticsearch 2、原因 https://blog.csdn.net/songkai558919/art
阅读全文
摘要:1、问题 通过 dbeaver 配置 jdbc 连接 es时报错 current license is non-compliant for [jdbc] 2、原因 https://blog.csdn.net/ctypyb2002/article/details/106115691 3、JDBC Cl
阅读全文
摘要:1、 官网 https://www.elastic.co/cn/downloads/elasticsearch 2、安装 A、二进制安装 https://www.elastic.co/cn/downloads/elasticsearch B、apt-get 安装 https://www.elasti
阅读全文
摘要:1、 官网 https://www.elastic.co/cn/downloads/elasticsearch 2、python库 https://pypi.org/project/elasticsearch/ 注意:安装的版本要和操作的es版本一致 pip install elasticsearc
阅读全文
摘要:1、RedisDesktopManager 新版本收费了,所以用下老版本 github https://github.com/uglide/RedisDesktopManager win安装包 https://github.com/uglide/RedisDesktopManager/release
阅读全文
摘要:1、官网 https://redis.io/ 2、redis库 pypi https://github.com/redis/redis-py/ https://pypi.org/project/redis/ 3、安装 pip install redis 4、基于哨兵模式封装的增删改查 参考链接: h
阅读全文
摘要:1、首先你要有一个无线网卡(我是台机) 2、点击网络图标,打开设置选项 3、点击移动热点,然后右键,转到设置 4、设置热点名称和密码 5、然后就可以使用手机或者其他设备,搜索连接了
阅读全文
摘要:1. 官网 https://docs.microsoft.com/zh-cn/powershell/scripting/install/installing-powershell-on-windows?view=powershell-7.2 2、下载 3、下载帮助 https://d.serctl.
阅读全文
摘要:1、使用lambda函数 # 匿名函数, 返回值为函数 func = lambda: "foo" print(func) 2、使用内部函数(局部函数) # 类似装饰器写法 def decorator(func): def _(*args, **kwargs): return func(*args,
阅读全文
摘要:1.、起因 想更新系统为win11 2、使用健康检查工具,检查,提示未开启TPM2.0 这是开启后 3、操作步骤 重启电脑,按住F2,或者不停的按F2, 进入BIOS 按F7,进入高级模式 按照图示找到如下配置 回车或者鼠标点击进入 按照图示选择,然后点击F10保存 4. 配置完之后,重启电脑,然后
阅读全文
摘要:1. 官网下载链接 企业微信 https://work.weixin.qq.com/#indexDownload VSCode https://code.visualstudio.com/docs/?dv=osx iterm2 https://iterm2.com nodejs http://nod
阅读全文
摘要:1、 Mac开启共享桌面 https://support.apple.com/zh-cn/guide/mac-help/mh11848/mac 2、VNC工具下载 TightVNC https://www.tightvnc.com/ vnc viewer https://www.realvnc.co
阅读全文
摘要:1. 默认Mac是不支持远程登录的 2、配置方法 打开系统偏好设置 找到共享 勾选远程登录 3、测试 ssh username@host 参考链接: https://article.itxueyuan.com/51yLe https://www.lategege.com/?p=273
阅读全文
摘要:1. 官网地址 https://www.sonatype.com/products/repository-oss 2. 下载安装包 3.x版本 https://help.sonatype.com/repomanager3/download/download-archives repository-m
阅读全文
摘要:1. vm软件下载 https://www.vmware.com/cn/products/workstation-pro/workstation-pro-evaluation.html 注册码自己百度一下 2. unlocker安装(使VM支持Mac OS安装) https://gitee.com/
阅读全文
摘要:1. 官网 https://www.apple.com.cn/macos/monterey/ 2. 镜像下载 https://www.cnblogs.com/sysin/p/16007691.html 3. 安装操作 https://support.apple.com/zh-cn/guide/mac
阅读全文
摘要:1. 问题现象 2. 处理方法 根据提示删除对应文件即可 rm -rf /home/tester/xxxxxx/.git/index.lock 然后重新切换即可
阅读全文