logo
publist
写文章

简介

该用户还未填写简介

擅长的技术栈

可提供的服务

暂无可提供的服务

虚拟机给openwrt添加硬盘并且配置smb

虚拟机给openwrt添加硬盘并且配置smbopenwrt配置添加硬盘挂载硬盘配置smb共享参考文章openwrt配置https://blog.csdn.net/qq_43645782/article/details/108839217下载https://openwrt.cc/releases/targets/x86/64/添加硬盘挂载硬盘启用此挂载点:勾选UUID:勾选挂载硬盘(根据硬盘大小区分

#运维#服务器
自签名https证书

自签名https证书环境自签名参考环境linuxopensslhttps://github.com/Fishdrowned/ssl自签名./gen.cert.sh <domain>这里有个问题,里面的CN等信息需要自己修改参考https://github.com/Fishdrowned/ssl

#https#ssl#http
proto与json的互相转换

在golang使用比较简单,protobuf生成的go struct是支持proto和json的序列化和反序列化的。

文章图片
#json#python
Go get报错 fatal: could not read Username for ‘https://xxx‘: terminal prompts disabled【解决方案】

git config --global --add url."git@github.com:".insteadOf "https://github.com/"注意:可以通过git config --global -e修改参考文章https://www.jianshu.com/p/dbbdfbb7ab74

#golang#https#github
dns type65 https rr

dns type65 https rr前言尝试复现前言同事发来了一段流量,之前接触的dns流量都为A记录 ;NS记录; MX记录 ;CNAME记录 ;TXT记录 ;TTL值 ;PTR值,但是发现type值为65 新版本的wireshark显示为https尝试通过尝试使用dig命令 指定阿里dns 查询https类型的type,结果查询的是a记录dig @223.5.5.5 log.mmstat.c

关闭win10搜索框的热门搜索

管理员模式启动命令行。

#windows
python pre-commit “RuntimeError: The Poetry configuration is invalid:“

修改pre-commit的配置 更新isort到最新版本5.12.0。

#python#开发语言
python3.9安装backports.zoneinfo失败

【代码】python3.9安装backports.zoneinfo失败。

#python#开发语言
ubuntu不支持tls1.0解决

ubuntu不支持tls1.0解决命令安装nginx参考文章命令sed -i '1i openssl_conf = default_conf' /etc/ssl/openssl.cnfcat >> /etc/ssl/openssl.cnf << EOF[default_conf]ssl_conf = ssl_sect[ssl_sect]system_default = sy

#ubuntu#nginx#ssl
ubuntu/部分docker容器无法访问https站点

如果官方源比较慢,可以换为国内源,但是不要使用https。默认的系统内可能没有安装根证书,需要安装一下。

文章图片
#docker#容器#运维
    共 27 条
  • 1
  • 2
  • 3
  • 请选择