- 博客(200)
- 资源 (4)
- 收藏
- 关注
原创 Docker 安装 RabbitMQ,自定义数据卷位置启动失败,分析过程
删除容器docker stop [容器ID]docker ps -a [容器ID]docker rm -f [容器ID]将默认数据卷文件,复制到自定义数据卷位置指定数据卷位置,启动失败。
2024-07-14 04:00:48
418
原创 解决npm run start 和 node.js src/main.js 引用资源文件路径不一致问题
【代码】解决npm run start 和 node.js src/main.js 引用资源文件路径不一致问题。
2024-01-11 03:23:50
797
1
原创 讲一个openssl升级时运维才知道的笑话
再次看到大神的配置,我懂了,我居然笑了,原来大神非常的谨慎,害怕在生成环境上删除了openssl,导致一系列重大事故,哈哈哈,不知道作为读者的你,看到这里是否也笑了。导致yum无法使用了,555,其实我可以手动在装上openssl的,然后再yum,很麻烦,而且怕有连锁反应,还好是虚拟机环境,我直接恢复快照了,有惊无险。因为python3 pip的TSL/SSL问题,需要openssl 1.1以上版本,我只能安装openssl替换CentOS7系统openssl版本。生产环境无小事,谨慎操作才是王道!
2023-01-01 07:23:05
704
原创 python 从扩展模块中定义和导出C的API
扩展模块头源代码,pysample.h/*** Created on: 2022年12月30日*/#endif= NULL)?1 : 0;}#endif}#endif扩展模块源代码,ptexample.c/*** Created on: 2022年12月30日*/Point *p;if (!}if (!p) {}}};-1,};if (!}return m;}python编译配置,ptsetup.py)])
2023-01-01 03:09:12
645
原创 python 调用C程序异常 OSError: [WinError 193] %1 不是有效的 Win32 应用程序
【代码】python 调用C程序异常 OSError: [WinError 193] %1 不是有效的 Win32 应用程序。
2023-01-01 03:07:58
1744
原创 python打开其他浏览器异常webbrowser.Error: could not locate runnable browser
【代码】python打开其他浏览器异常webbrowser.Error: could not locate runnable browser。
2022-11-18 10:43:02
1786
1
原创 解决python脚本异常/usr/bin/python3^M: bad interpreter: No such file or directory
【代码】解决python脚本异常/usr/bin/python3^M: bad interpreter: No such file or directory
2022-11-17 09:53:38
1673
原创 解决python继承实现线程异常can‘t pickle _thread.lock objects
【代码】解决python继承实现线程异常can't pickle _thread.lock objects。
2022-11-14 16:34:28
828
原创 Visual Studio Code 设置在文件目录中运行python程序
【代码】Visual Studio Code 设置在文件目录中运行python程序。
2022-09-23 14:27:55
798
2
原创 react 中 Warning A future version of React will block javascript 异常解决
【代码】react 中 Warning A future version of React will block javascript 异常解决。
2022-09-07 11:30:57
441
原创 解决 eslint 的 Parsing error: Unexpected token 错误
【代码】解决 eslint 的 Parsing error: Unexpected token 错误。
2022-09-07 11:27:47
5949
原创 react 中 Warning A future version of React will block javascript 异常解决
react 中 Warning A future version of React will block javascript 异常解决
2022-08-31 17:40:09
355
原创 cordova 安装错误 Command failed: powershell 解决方法
cordova 安装错误 Command failed: powershell 解决方法。
2022-08-10 16:31:22
622
原创 curl: (1) Received HTTP/0.9 when not allowed 解决方法
curl: (1) Received HTTP/0.9 when not allowed 解决方法
2022-08-10 16:26:54
4698
1
原创 electron + vue 打包错误 UnhandledPromiseRejectionWarning: ReferenceError: Multispinner is not defined
electron+vue打包错误UnhandledPromiseRejectionWarningReferenceErrorMultispinnerisnotdefined
2022-07-18 16:39:09
1614
原创 electron + vue 打包错误 Identifier ‘tasks‘ has already been declared
electron+vue打包错误Identifier'tasks'hasalreadybeendeclared
2022-07-18 16:38:24
734
原创 深入浅出node模板解析错误escape is not a function
深入浅出node模板解析错误escape is not a function
2022-07-05 16:57:10
542
原创 django 创建项目异常 django-admin.py is deprecated in favor of django-admin.
RemovedInDjango40Warning: django-admin.py is deprecated in favor of django-admin.
2022-06-22 10:04:40
1084
原创 python3爬虫使用代理爬取页面noscript标签问题
python3爬虫使用代理爬取页面noscript标签问题操作运行python爬虫,使用代理爬取网页from urllib.error import URLError from urllib.request import ProxyHandler, build_opener url = 'https://www.baidu.com'proxy_handler = ProxyHandler({ 'http': 'http://127.0.0.1:8888', 'https':
2022-05-25 15:28:34
1165
原创 kubectl 命令行工具
kubectl 命令行工具概述kubectl是kubernetes集群的命令行工具,通过kubectl能够对集群本身进行管理,并能够在几区能上进行容器化应用的安装部署kubectl命令语法格式kubectl [command] [TYPE] [NAME] [flags]属性说明command:指定要对资源执行的操作,例如create、get、describe和deleteTYPE:指定资源类型,资源类型是大小写敏感的,开发者能够以单数、复数和缩略的形式kubectl get pod
2022-04-29 13:48:20
301
原创 nexus运行时异常org.apache.http.conn.ConnectTimeoutException
nexus运行时异常org.apache.http.conn.ConnectTimeoutException异常信息org.apache.http.conn.ConnectTimeoutException: Connect to sonatype-download.global.ssl.fastly.net:443 [sonatype-download.global.ssl.fastly.net/204.79.197.217] failed: connect timed out at o
2022-04-29 09:46:58
4299
原创 解决 maven 异常 Could not resolve dependencies for project
解决 maven 异常 Could not resolve dependencies for project执行maven操作编译,测试,打包等命令,都可以触发异常mvn dependency:tree异常信息:[INFO] Scanning for projects...[INFO][INFO] ----------------------< com.xzlawin.maven:prj3_2 >----------------------[INFO] Building p
2022-04-19 14:37:29
4943
原创 解决 kubectl 命令执行异常 The connection to the server was refused
解决 kubectl 命令执行异常 The connection to the server was refused问题描述kubectl get node异常信息The connection to the server 192.168.100.10:6443 was refused - did you specify the right host or port?分析原因证书已经设置允许了,因为开启了RBAC,所以可能是权限被拦截了解决方法证书生成参考 kubernetes 自签
2022-04-13 11:04:17
2963
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人