GaGa's Blog

One GaGa, One World !

EditPlus 是一款文本编辑器,它提供了许多功能,使得编辑文本文件变得更加方便和高效

Read more »

如果你是在 Cloudflare(不是 Cloudware)中定义 URL 重写规则,可以通过 “规则(Rules)” 功能来实现。


方法 1:使用 重写规则(Transform Rules)

Cloudflare 支持使用「Transform Rules → URL Rewrite」功能对请求 URL 进行重写(Rewrite Path)。

Read more »

解决

1.查看系统ID
cat /etc/os-release

2.修改repo
sed -e "s|^mirrorlist=|#mirrorlist=|g" \
    -e "s|^#baseurl=http://mirror.centos.org/centos/\$releasever|baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.9.2009|g" \
    -e "s|^#baseurl=http://mirror.centos.org/\$contentdir/\$releasever|baseurl=https://mirrors.tuna.tsinghua.edu.cn/centos-vault/7.9.2009|g" \
    -i.bak \
    /etc/yum.repos.d/CentOS-*.repo

python2

# 默认端口 8000
python2 -m SimpleHTTPServer

# 自定义端口8080
python2 -m SimpleHTTPServer 8080	

python3

# 默认监听8000
python3 -m http.server

# 自定义监听端口
python3 -m http.server 8080
Read more »

windows_exporter(前身为 wmi_exporter)是一个用于在 Windows 系统上导出系统指标(metrics)到 Prometheus 的开源工具。它允许你收集各种系统级别的数据,用于监控和告警分析。


🔧 项目基本信息

Read more »
0%