狂自私

导航

上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 40 下一页

2023年12月26日 #

K8S-部署V1.28-使用kubeadm简易部署一个学习或测试环境

摘要: 准备工作 虚拟机配置 硬件配置:内存2GB或2G+,CPU 2核或CPU 2核+; 集群内各个机器之间能相互通信; 集群内各个机器可以访问外网,需要拉取镜像 → 能下载镜像就行,或者提前下载好即可。 禁止swap分区; 软件环境配置 1、关闭防火墙 systemctl stop firewalld 阅读全文

posted @ 2023-12-26 10:12 狂自私 阅读(1146) 评论(0) 推荐(1)

2023年12月14日 #

docker-挂载数据卷实现不重启Nginx容器展示不同的网页内容

摘要: docker pull nignx docker volume create test_volumes docker run -d -p 80:80 -h nginx --name nginx --mount type=bind,source=/var/lib/docker/volumes/test 阅读全文

posted @ 2023-12-14 17:14 狂自私 阅读(54) 评论(0) 推荐(0)

2023年12月12日 #

docker-将普通用户添加到docker组中避免每次都使用root或者sudo运行docker命令

摘要: 1、检查是否存在docker用户组。不存在就要自己创建一个(gourpadd) cat /etc/group|grep docke #可选: #sudo groupadd docker 2、将用户添加到这个组里面去(usermod) sudo usermod -aG "docker" 用户名 #检查 阅读全文

posted @ 2023-12-12 10:33 狂自私 阅读(922) 评论(0) 推荐(0)

2023年10月7日 #

python Excel添加Excel附件

摘要: # """ # 插入附件 import win32com.client if __name__ == "__main__": filename = r"23年09月.xlsx" xlApp = win32com.client.Dispatch('Excel.Application') xlApp.V 阅读全文

posted @ 2023-10-07 21:18 狂自私 阅读(424) 评论(0) 推荐(0)

2023年8月30日 #

SQL Server服务无法启动

摘要: 查看日志,发现有如下提示: SQL Server 无法生成 FRunCommunicationsManager 线程。请查看 SQL Server 错误日志和操作系统错误日志,获取有关可能发生的相关问题的信息。 由于网络库中存在内部错误,所以无法启动网络库。要确定原因,请查看错误日志中紧位于此错误之 阅读全文

posted @ 2023-08-30 16:04 狂自私 阅读(1033) 评论(1) 推荐(0)

2023年7月12日 #

python解析xml

摘要: 主要是查询标签: import xml.dom.minidom s='''xml字符串''' ''' 这里做一些解释: <?xml version="1.0" encoding="UTF-8"?> <soapenv:Envelope xmlns:soapenv="http://schemas.xml 阅读全文

posted @ 2023-07-12 14:37 狂自私 阅读(88) 评论(0) 推荐(0)

2023年6月29日 #

word VBA Selection.PasteSpecial 4198 运行时错误

摘要: If (.Execute) Then Selection.Copy '要定位到表格中 my_table.Cell(row_index, 1).Select 'Selection.Delete CreateObject("Excel.Application").Wait (Now + TimeValu 阅读全文

posted @ 2023-06-29 17:37 狂自私 阅读(402) 评论(0) 推荐(0)

2023年5月18日 #

PowerShell-将word另存为pdf

摘要: $folderPath = "D:\工作\temp\2023年4月19日" $folderPathOut = "D:\工作\temp\2023年4月19日" $wordFiles = Get-ChildItem -Path $folderPath -Filter "*.docx" try{ Get- 阅读全文

posted @ 2023-05-18 15:05 狂自私 阅读(88) 评论(0) 推荐(0)

2023年5月13日 #

PowerShell-get-counter-算机上找不到任何性能计数器集: 错误 800007d0

摘要: #已经解决了,感谢国外大神的解答:https://techcommunity.microsoft.com/t5/windows-powershell/get-counter-could-not-find-any-performance-counter-sets-on-the/m-p/3811330/ 阅读全文

posted @ 2023-05-13 17:33 狂自私 阅读(215) 评论(0) 推荐(0)

2023年5月8日 #

python-手动借助google翻译来翻译文档

摘要: 1 import os 2 import re 3 ''' 4 读取指定的html文件 5 去掉所有的换行符 6 正则匹配特定项目:(?<=<div class="block">).+?(?=</div>) 7 然后替换掉:</code>|<code>|<i>|</i> ==> "" 8 <sup> 阅读全文

posted @ 2023-05-08 18:42 狂自私 阅读(49) 评论(0) 推荐(0)

上一页 1 ··· 21 22 23 24 25 26 27 28 29 ··· 40 下一页