随笔 - 127  文章 - 0  评论 - 1  阅读 - 40606
10 2022 档案
crontab 定时任务
摘要:统是Centos7. 一、创建一个任务文件 1、命令行输入crontab -e会自动打开一个空文件: 比如输入以下内容: SHELL=/bin/bashPATH=/sbin:/bin:/usr/sbin:/usr/bin 0 0,12 * * * certbot renew --quiet 二、保存 阅读全文
posted @ 2022-10-20 16:14 wakaka_wka 阅读(25) 评论(0) 推荐(0) 编辑
CentOS 安装 certbot
摘要:安装 先安装 snapd,使用 snap 安装 certbot 可以隔离环境影响 yum install snapd # 设置为开机启动并立即启动 sudo systemctl enable --now snapd # 建立软链接 sudo ln -s /var/lib/snapd/snap /sn 阅读全文
posted @ 2022-10-20 14:52 wakaka_wka 阅读(344) 评论(0) 推荐(0) 编辑
HttpWebRequest 请求被中止: 未能创建 SSL/TLS 安全通道
摘要:在HttpWebRequest前设置代码 ServicePointManager.Expect100Continue = true; ServicePointManager.SecurityProtocol = SecurityProtocolType.Tls12 | SecurityProtoco 阅读全文
posted @ 2022-10-17 12:29 wakaka_wka 阅读(274) 评论(1) 推荐(0) 编辑

< 2025年2月 >
26 27 28 29 30 31 1
2 3 4 5 6 7 8
9 10 11 12 13 14 15
16 17 18 19 20 21 22
23 24 25 26 27 28 1
2 3 4 5 6 7 8

点击右上角即可分享
微信分享提示