无故退出,是怎么回事?技术
26年6月10,回顾,完全忘记是怎么回事了。?这世界终究是要回归到原始时代,一个食人草生长在荒郊野外,一生只为捕获到一个人就可以啦。
root@localhost:~# /etc/init.d/openvpn status
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Tue 2022-10-18 02:54:46 UTC; 1 weeks 5 days ago
Main PID: 1753001 (code=exited, status=0/SUCCESS)
Tasks: 0 (limit: 1133)
Memory: 0B
CPU: 0
CGroup: /system.slice/openvpn.service
Oct 18 02:54:46 localhost systemd[1]: Starting OpenVPN service...
Oct 18 02:54:46 localhost systemd[1]: Finished OpenVPN service.
root@localhost:~# /etc/init.d/openvpn restart
Restarting openvpn (via systemctl): openvpn.service.
root@localhost:~# /etc/init.d/openvpn status
● openvpn.service - OpenVPN service
Loaded: loaded (/lib/systemd/system/openvpn.service; enabled; vendor preset: enabled)
Active: active (exited) since Sun 2022-10-30 15:27:59 UTC; 3s ago
Process: 636809 ExecStart=/bin/true (code=exited, status=0/SUCCESS)
Main PID: 636809 (code=exited, status=0/SUCCESS)
CPU: 1ms
Oct 30 15:27:59 localhost systemd[1]: Starting OpenVPN service...
Oct 30 15:27:59 localhost systemd[1]: Finished OpenVPN service.
红米 AX6 解锁以及 Clash 折腾记录技术
记录 Redmi AX6 科学上网折腾记录,据说 AX6 停产后涨价了。
先讲讲,为什么是 AX6,因为我之前为了实现 WiFi Mesh,所以买了它,这一买就荒废了一年,因为 Mesh 有一些 Bug,导致端口转发不能用,信号也没有什么改善,所以,这个花了不少钱买个东西搁置了一年,期间差一点卖掉了。
再讲一下完成的感受,两个字,真爽。我以前虽然能科学上网,但是多多少少都有一点点麻烦,对于一些古董机器没有路由层面的实现,仍然是不行的。这次完成了之后,我觉得可以打分 90 分,以前的体验只能是 80 分。就像我以前讲的,科学上网是不完美的,因为多多少少会误伤,某些 APP 会异常,所以比较完美的解决方案是,两个路由,一个原始网络,一个科学网络。
nic 域名申请成功技术
关于免费域名的一些事情。
地主家,有资源就是不一样,做出来的东西让人佩服!
不到一天的审核,成功了,nic 域名,人家有钱任性,那个网页界面,完全没有 CSS,佩服!
Domain Created Updated DNSSEC Flags xxx.eu.org 2022-10-18 20:41 2022-10-18 20:41 Eligible
Domains xxx-FREE: Password Two-Factor Authentication Information Whois data for domain xxx.eu.org Created on: 2022-10-18 20:41 domain: xxx.EU.ORG address: Bomeshtak Mui address: 26 Langdon Rd Swansea address: Wales address: United Kingdom changed: 2022-10-18 18:41:47 tech-c: xxx-FREE admin-c: xxx-FREE Edit Registrant Nameservers History DNSSEC Contacts administrative xxx-FREE technical xxx-FREE technical -FREE
acme letsencrypt 折腾记技术
acme 折腾记,更便捷的申请证书,可是咱们毕竟不是域名服务商,难以做到像 CF 那样牛逼。
我不喜欢这个脚本,强制安装,安装只是复制文件,添加链接,自动任务。并且还一定要注册,越来越难用了。
以下是折腾记录
pi@raspberrypi:~/work/acme $ acme.sh --issue --dns -d godruoyi.com -d *.godruoyi.com -bash: acme.sh:未找到命令 pi@raspberrypi:~/work/acme $ bash acme.sh --issue --dns -d x.com -d *.x.com [2022年 09月 30日 星期五 16:29:12 CST] It seems that you are using dns manual mode. Read this link first: https://github.com/acmesh-official/acme.sh/wiki/dns-manual-mode pi@raspberrypi:~/work/acme $ bash acme.sh --issue --dns -d x.com -d *.x.com --yes-I-know-dns-manual-mode-enough-go-ahead-please [2022年 09月 30日 星期五 16:30:47 CST] Using CA: https://acme.zerossl.com/v2/DV90 [2022年 09月 30日 星期五 16:30:47 CST] Create account key ok. [2022年 09月 30日 星期五 16:30:47 CST] No EAB credentials found for ZeroSSL, let's get one [2022年 09月 30日 星期五 16:30:47 CST] acme.sh is using ZeroSSL as default CA now. [2022年 09月 30日 星期五 16:30:47 CST] Please update your account with an email address first. [2022年 09月 30日 星期五 16:30:47 CST] acme.sh --register-account -m [email protected] [2022年 09月 30日 星期五 16:30:47 CST] See: https://github.com/acmesh-official/acme.sh/wiki/ZeroSSL.com-CA [2022年 09月 30日 星期五 16:30:47 CST] Please add '--debug' or '--log' to check more details. [2022年 09月 30日 星期五 16:30:47 CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh pi@raspberrypi:~/work/acme $ vim acme.sh pi@raspberrypi:~/work/acme $ acme.sh --register-account -m [email protected] -bash: acme.sh:未找到命令 pi@raspberrypi:~/work/acme $ bash acme.sh --register-account -m [email protected] [2022年 09月 30日 星期五 16:33:07 CST] No EAB credentials found for ZeroSSL, let's get one [2022年 09月 30日 星期五 16:33:09 CST] Registering account: https://acme.zerossl.com/v2/DV90 [2022年 09月 30日 星期五 16:33:27 CST] Registered [2022年 09月 30日 星期五 16:33:27 CST] ACCOUNT_THUMBPRINT='WHQQJ-H2154vB4Yo7J_YU-7gmht5PgF03Z-8vd5qU_0' pi@raspberrypi:~/work/acme $ bash acme.sh --issue --dns -d x.com -d *.x.com --yes-I-know-dns-manual-mode-enough-go-ahead-please [2022年 09月 30日 星期五 16:33:54 CST] Using CA: https://acme.zerossl.com/v2/DV90 [2022年 09月 30日 星期五 16:33:54 CST] Creating domain key [2022年 09月 30日 星期五 16:33:54 CST] The domain key is here: /home/pi/.acme.sh/x.com/x.com.key [2022年 09月 30日 星期五 16:33:55 CST] Multi domain='DNS:x.com,DNS:*.x.com' [2022年 09月 30日 星期五 16:33:55 CST] Getting domain auth token for each domain [2022年 09月 30日 星期五 16:34:35 CST] Getting webroot for domain='x.com' [2022年 09月 30日 星期五 16:34:35 CST] Getting webroot for domain='*.x.com' [2022年 09月 30日 星期五 16:34:35 CST] Add the following TXT record: [2022年 09月 30日 星期五 16:34:35 CST] Domain: '_acme-challenge.x.com' [2022年 09月 30日 星期五 16:34:35 CST] TXT value: '1QmQCMSLPlPPTnZJcTcNRuobYUFvPwpKJTedxe8DCfE' [2022年 09月 30日 星期五 16:34:35 CST] Please be aware that you prepend _acme-challenge. before your domain [2022年 09月 30日 星期五 16:34:35 CST] so the resulting subdomain will be: _acme-challenge.x.com [2022年 09月 30日 星期五 16:34:35 CST] Add the following TXT record: [2022年 09月 30日 星期五 16:34:35 CST] Domain: '_acme-challenge.x.com' [2022年 09月 30日 星期五 16:34:35 CST] TXT value: 'KUziMmpJzuPkEZOHKzmrcL8B9Q5pTnTYUx4lDjBr_S4' [2022年 09月 30日 星期五 16:34:35 CST] Please be aware that you prepend _acme-challenge. before your domain [2022年 09月 30日 星期五 16:34:35 CST] so the resulting subdomain will be: _acme-challenge.x.com [2022年 09月 30日 星期五 16:34:35 CST] Please add the TXT records to the domains, and re-run with --renew. [2022年 09月 30日 星期五 16:34:35 CST] Please add '--debug' or '--log' to check more details. [2022年 09月 30日 星期五 16:34:35 CST] See: https://github.com/acmesh-official/acme.sh/wiki/How-to-debug-acme.sh
[8192]stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in技术
stripos 使用报错记录。
记录一个报错
[8192]stripos(): Non-string needles will be interpreted as strings in the future. Use an explicit chr() call to preserve the current behavior in
解决办法
PHP7.3版本影响 解决办法 1.换PHP版本 2. $nullOffset = strpos($url, 0x00);//替换前 $nullOffset = strpos($url, chr(0x00));//替换后