摘要: 原地址: 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)
摘要: 前提:使用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)
摘要: 初始化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)
摘要: 使用命令: 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)
摘要: 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)