解决aarch64架构redis无法正常启动
启动redis日志报错: Redis will now exit to prevent data corruption. Note that it is possible to suppress this warning by setting the following config: ignore warnings ARM64 COW BUG 解决办法: 取消redis.conf
技术复盘,实践存档。
启动redis日志报错: Redis will now exit to prevent data corruption. Note that it is possible to suppress this warning by setting the following config: ignore warnings ARM64 COW BUG 解决办法: 取消redis.conf
首先安装最新版本微信,然后通过adb执行如下命令卸载当前微信并保留应用数据: adb shell pm uninstall k user 0 com.tencent.mm 然后通过adb安装旧版本微信: adb install C:\Users\baoli\Downloads\7.0.22.apk 不需要登录就直接进入老版本微信了。
推荐Python3运行该脚本: def get last lines file path, n : with open file path, 'r' as f: lines = f.readlines return lines n: result= for key in get last lines "/opt/Seeyon/A8/ApacheJetspeed/logs/ca
脚本首先会尝试获取网页内容,然后判断网页内容是否包含指定内容,然后判断网页状态码,都没问题就通过,其他情况全部发邮件告警。 import requests import smtplib from email.mime.text import MIMEText from email.mime.multipart import MIMEMultipart def send email smtp
脚本会自动遍历目录找出时间戳距今超过3天的文件压缩,然后删除源文件。 import os from datetime import datetime import zipfile 压缩文件 def create zip file, output filename : with zipfile.ZipFile output filename, 'w' as zipf: zipf.writ
原因分析: 导致问题的原因可能是因为没有安装 g++,也可能是已安装的 gcc 和 g++ 版本号不一致不兼容导致。 解决方法: yum install gcc c++
利用gdisk工具进行分区转换: root@localhost / yum install y gdisk 转换/dev/sda2分区,sda1分区为系统启动分区,不需要转换。 root@localhost / gdisk /dev/sda2 GPT fdisk gdisk version 0.8.10 Partition table scan:
报错信息如下: requests.exceptions.SSLError: HTTPSConnectionPool host='59.197.228.154', port=443 : Max retries exceeded with url: /api/datetime Caused by SSLError SSLCertVerificationError "hostname '59.