摘要:
阅读全文
开源、架构、Linux C/C++/python AI BI 运维开发自动化运维。 春风桃李花 秋雨梧桐叶。“力尽不知热 但惜夏日长”。夏不惜,秋不获。@ruiY--秦瑞python爬虫,C编程,嵌入式开发.hadoop大数据,桉树,onenebula云计算架构.linux运维及驱动开发. |
11 2022 档案
摘要:Exception in thread "main" java.lang.RuntimeException: starting java failed with [1]output:[0.000s][error][logging] Error opening log file 'logs/gc.lo
阅读全文
摘要:Exception in thread "main" java.nio.file.AccessDeniedException: /usr/local/elk/elasticsearch-7.8.0/config/elasticsearch.keystore at java.base/sun.nio.
阅读全文
摘要:错误解决安装完成后,下面就是用本机的Navicat来连接SQL server,这里确实有点麻烦,所以特地来写个博客记录一下当我们想要连接的时候会出现这样的错误[IM002] [Microsoft][ODBC驱动程序管理器]未发现数据源名称并且未指定默认驱动程序(0),下面就来说一下解决方法: 解决方
阅读全文
摘要:python连接并简单操作SQLserver数据库实验环境:python版本3.9 Python 3.9.7 (tags/v3.9.7:1016ef3, Aug 30 2021, 20:19:38) [MSC v.1929 64 bit (AMD64)] on win32Type "help", "
阅读全文
摘要:https://github.com/tporadowski/redis/releases
阅读全文
摘要:正在处理40515行 insert into bzh_datas values('2022-04-12 08:01:32','G202010045',2,'玉溪沃森',4727774,'3416020170012022041101','谯城区观堂镇卫生院','org.mybatis.spring.M
阅读全文
摘要:with open('bozhou.txt', 'rb',encoding="utf-8") as f:ValueError: binary mode doesn't take an encoding argument 'utf-8' codec can't decode byte 0xb0 in
阅读全文
摘要:nginx负载均衡的三种方式主要是轮询模式、weight权重模式、ip_hash。 当一台服务器的单位时间内的访问量越大时,服务器压力就越大,大到超过自身承受能力时,服务器就会崩溃。为了避免服务器崩溃,让用户有更好的体验,我们通过负载均衡的方式来分担服务器压力。 1、轮询模式(默认)每个请求按时间顺
阅读全文
摘要:
阅读全文
摘要:在SpringBoot项目中,我们可以通过如下配置来设置header的大小: server.max-http-header-size=102400 但如果此参数设置不好,便会引来OOM等相关问题,特别是并发的时候。 max-http-header-size使用场景 该参数用来设置http请求头的大小
阅读全文
摘要:python+expect实现脚本自动登录远程服务器 起因 最近在折腾Ubuntu系统,有时候需要连接远程服务器,使用 ssh 命令连接较为复杂,需要记住每台机器的 ip 和 密码,当然 Ubuntu(linux) 下也有类似于 xshell 一样的管理工具,例如:finalShell,但是在命令行
阅读全文
摘要:安装 OpenSSH 项目 2021/09/28 2 个参与者 反馈 适用于 Windows Server 2019、Windows 10、Windows Server 2022 OpenSSH 是一款用于远程登录的连接工具,它使用 SSH 协议。 它会加密客户端与服务器之间的所有流量,从而遏止窃听
阅读全文
摘要:window bat cmd 获取cpu 利用率(使用率)跟 性能计数器一致,方式收集 1. typeperf (1秒一输出) typeperf "processor(_total)\% processor time" 若是只要执行一次,末尾添加 -sc 1,如下: typeperf "proces
阅读全文
摘要:tasklist | findstr /s /i e.*tasklist | findstr /s /i "python"
阅读全文
摘要:一、内存、磁盘、CPU 1、总物理内存(KB):wmic os get TotalVisibleMemorySize 2、空闲物理内存(KB):wmic os get FreePhysicalMemory 3、总虚拟内存(KB):wmic os get SizeStoredInPagingFiles
阅读全文
摘要:#++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ #@auhor by ruiy # # # #pip install paramiko -i https://pypi.tuna.tsinghua.edu.cn/sim
阅读全文
摘要:#+++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ # #pip install pyautogui -i https://pypi.tuna.tsinghua.edu.cn/simple/ #pip instal
阅读全文
摘要:使用CURL时,有两个超时时间:一个是连接超时时间,另一个是数据传输的最大允许时间。 连接超时时间用--connect-timeout参数来指定,数据传输的最大允许时间用-m参数来指定。 curl --connect-timeout 10 -m 20 "http://XXXXXXX"1. 连接超时的
阅读全文
摘要:[1111/170709.200:ERROR:dxva_video_decode_accelerator_win.cc(1451)] DXVAVDA fatal error: could not LoadLibrary: mf.dll: 找不到指定的模块。 (0x7E)[1111/170709.20
阅读全文
摘要:ElementNotInteractableException: Message: element not interactable 原因分析:1、未放鼠标在元素上,元素的标签: 2、放了鼠标在元素上:元素的标签: 3、从元素上移开鼠标,元素的标签: 4、相比较之前,元素的标签属性多了“class=
阅读全文
摘要:config set stop-writes-on-bgsave-error no
阅读全文
摘要:先点赞再看,养成好习惯背景全国最大的短信平台,大家都用过我们的产品。数据量比较大,最多时候一天近7亿条短信。简单介绍一下redis(我们平台用的是codis管理redis集群)简单来说 redis 就是一个数据库,不过与传统数据库不同的是 redis 的数据是存在内存中的,所以读写速度非常快,因此
阅读全文
摘要:1问题 2 原因 3解决 3.1 如果需要临时启动Redis 3.2 如果需要将Redis注册为服务 4其他说明 redis有windows版和linux版的,本文讲的是windows版相关的一些问题。 1、问题使用命令redis-server.exe --service-install redis
阅读全文
摘要:Pipeline提交、测试、部署流程 一、提交阶段:1.更新代码 2.构建 3.单元测试 4.质量扫描 node { gitlabCommitStatus(builds:["Commit Build"]){ stage('Code PUll'){ echo "Code PUll" git crede
阅读全文
摘要:tree ../seafile/ -L 2 yum -y install tree
阅读全文
摘要:HISTSIZE=0 if [ "$HISTCONTROL" = "ignorespace" ] ; then export HISTCONTROL=ignoreboth else export HISTCONTROL=ignoredups fi
阅读全文
摘要:import socket for port in range(1, 65535): sock = socket.socket(socket.AF_INET, socket.SOCK_STREAM) sock.settimeout(1) state = sock.connect_ex(("192.1
阅读全文
|