🛠️ 部署 Cloudflare Snippets 节点⚠️ 免责声明
Snippets 目前仍处于灰度 / 新功能阶段,免费额度只向部分账号开放,不排除未来会因为部署该服务导致封禁账号或关闭你账号的Snippets功能。请务必谨慎部署,更不要在生产环境中部署代理服务!!!
当前相对更稳妥的方式是:使用全新注册的小号通过 CF Pages 部署方式 部署。单账号每日请求上限 10 万次,不够就再注册(无额外成本)。
🧪 部署方式优缺点速览这期图文教程为大家准备了三种部署方法,以应对你当前的账号情况:
CF Snippets 部署方式 — 自有 付费域名
优点:功能最全,支持自定义域名并可使用全部 Snippets 功能
缺点:必须使用并在账号中开启 Snippets 的付费域名,免费域名不支持
CF Snippets 部署方式 — 使用 cloudns 域名
优点:免费获取域名,同样可使用完整功能,支持自定义域名
缺点:需配置 双向解析,相比正常付费域名有更多且更繁琐的设置步骤
🔍 检测是否具备 Snippets 功能🤖 自动检测
如果我们的域名 ...
一.安装HomebrewHomebrew官网英文:https://brew.sh中文:https://brew.sh/index_zh-cn执行官网里提供了安装命令:
/bin/bash -c "$(curl -fsSL https://raw.githubusercontent.com/Homebrew/install/HEAD/install.sh)"
然后输入Mac的密码用于确认安装第三方应用 有些小伙伴执行官网的命令会报错,看到下面的错误不要慌
curl: (7) Failed to connect to raw.githubusercontent.com port 443: Connection refused
这是由于伟大的防火墙的存在导致连接被拒绝了,可以使用下面这个国内的命令,这个是放在gitee上的
/bin/zsh -c "$(curl -fsSL https://gitee.com/cunkai/HomebrewCN/raw/master/Homebrew.sh)"
执行成功会提示你选择镜像源接下来按照 ...
Welcome to Hexo! This is your very first post. Check documentation for more info. If you get any problems when using Hexo, you can find the answer in troubleshooting or you can ask me on GitHub.
Quick StartCreate a new post$ hexo new "My New Post"
More info: Writing
Run server$ hexo server
More info: Server
Generate static files$ hexo generate
More info: Generating
Deploy to remote sites$ hexo deploy
More info: Deployment










