会员
众包
新闻
博问
闪存
赞助商
HarmonyOS
Chat2DB
所有博客
当前博客
我的博客
我的园子
账号设置
会员中心
简洁模式
...
退出登录
注册
登录
朴虎范
博客园
首页
新随笔
联系
订阅
管理
2021年6月16日
[转载保存] openssl显示证书信息
摘要: 原地址: openssl查看证书细节 openssl x509部分命令打印出证书的内容:openssl x509 -in cert.pem -noout -text打印出证书的系列号openssl x509 -in cert.pem -noout -serial打印出证书的拥有者名字openssl
阅读全文
posted @ 2021-06-16 08:47 朴虎范
阅读(202)
评论(0)
推荐(0)
2021年1月19日
restic中增加阿里云oss的backend
摘要: 前提:使用OSS提供的go包 代码一上传至Gitee, 地址: https://gitee.com/hfpiao/restic 增加文件: internal/backend/oss/config.go: oss连接配置文件 internal/backend/oss/config_test.go:测试
阅读全文
posted @ 2021-01-19 09:15 朴虎范
阅读(246)
评论(0)
推荐(0)
2021年1月18日
使用restic备份数据至阿里云oss
摘要: 初始化repo: restic -o s3.bucket-lookup=dns -o s3.region=oss-cn-beijing -r s3:https://xxx(bucket_name).oss-cn-beijing.aliyuncs.com init -o s3.bucket-looku
阅读全文
posted @ 2021-01-18 10:18 朴虎范
阅读(555)
评论(0)
推荐(0)
2021年1月15日
Nextcloud 离线更新
摘要: 使用命令: nextcloud安装目录/updater/updater.phar 例: cd /var/www/nextcloud #nextcloud安装目录 sudo -u www-data php updater/updater.phar #nextcloud安装脚本
阅读全文
posted @ 2021-01-15 09:14 朴虎范
阅读(475)
评论(0)
推荐(0)
2021年1月11日
VPN环境中iptables设定内网转发
摘要: sudo iptables -t nat -I POSTROUTING -s 10.7.0.0/24 ! -d 10.7.0.0.24 -j SNAT --to-source 192.168.3.34 -s 10.7.0.0/24 : 入口地址为VPN地址 ! -d 10.7.0.0/24 : 出口
阅读全文
posted @ 2021-01-11 11:17 朴虎范
阅读(0)
评论(0)
推荐(0)
公告