摘要: 在C#中接入Vault的方法有多种。以下是其中两种常用的方式: 使用HashiCorp Vault .NET客户端库(VaultSharp)进行接入: using System; using VaultSharp; using VaultSharp.Core; class Program { sta 阅读全文
posted @ 2024-02-27 15:15 zhaoguanhao 阅读(32) 评论(0) 推荐(0) 编辑
摘要: https://cloud.tencent.com/developer/article/2197110 https://blog.csdn.net/WEARE001/article/details/131413961 1. 引言 vault 是一款 HCP 推出的密钥管理引擎,用来集中存储集群运行过 阅读全文
posted @ 2024-02-27 15:07 zhaoguanhao 阅读(109) 评论(0) 推荐(0) 编辑
摘要: 超级好用的OpenVPN: 适用场景 用户在企业以外通过拨号安全接入到企业内网,使用内网应用。 OpenVPN不过多介绍,强大的开源项目,应用场景非常之多,这里只选取一种慢慢分享。 小规模用用是不错的选择,规模大了还是选商用比较合适。 VPN就是虚拟专用通道,是提供给企业之间或者公司个人与公司之间安 阅读全文
posted @ 2024-02-26 15:36 zhaoguanhao 阅读(8) 评论(0) 推荐(0) 编辑
摘要: win: mount -o nolock -o casesensitive=yes IP:/! X: cat /etc/fstab linux: 172.22.1.56:/ /mnt/powerbi nfs vers=3,timeo=600,nolock 0 0 dos文件复制 @echo offs 阅读全文
posted @ 2024-01-23 17:01 zhaoguanhao 阅读(4) 评论(0) 推荐(0) 编辑
摘要: vim vim命令模式下,执行set ff=unix或set fileformat=unix即可将DOS格式转换为unix格式; 阅读全文
posted @ 2024-01-22 17:03 zhaoguanhao 阅读(9) 评论(0) 推荐(0) 编辑
摘要: #!/bin/bash docker-compose -f docker.yaml up -d --force-recreate 阅读全文
posted @ 2024-01-16 11:23 zhaoguanhao 阅读(6) 评论(0) 推荐(0) 编辑
摘要: Golang是一门高效、快速、强大的编程语言,可用于构建各种应用程序,尤其是在Web开发中表现突出。当与数据库结合使用时,Golang提供了一些强大的工具,帮助开发人员操作数据库。在本篇文章中,我们将重点介绍Golang如何进行数据库查询。 一、Golang数据库查询 Golang中的数据库查询主要 阅读全文
posted @ 2024-01-05 18:43 zhaoguanhao 阅读(143) 评论(0) 推荐(0) 编辑
摘要: 如何使用Go语言进行数据库操作 https://www.php.cn/faq/587088.html 引言:Go语言是一种高效且简洁的编程语言,拥有强大的并发能力和优秀的性能表现。在开发过程中,与数据库的交互是一个非常重要的环节。本文将介绍如何使用Go语言进行数据库操作,包括连接数据库、CRUD操作 阅读全文
posted @ 2024-01-05 16:27 zhaoguanhao 阅读(52) 评论(0) 推荐(0) 编辑
摘要: https://www.cnblogs.com/qdkfyym/p/17528372.html 阅读全文
posted @ 2023-12-19 13:43 zhaoguanhao 阅读(4) 评论(0) 推荐(0) 编辑
摘要: 1.场景: 今天在用MySQL建表的时候,报了一个错误; SQL 错误 [1118] [42000]: Row size too large. The maximum row size for the used table type, not counting BLOBs, is 65535. Th 阅读全文
posted @ 2023-12-14 14:03 zhaoguanhao 阅读(986) 评论(0) 推荐(0) 编辑