MacOS 命令行翻墙配置
1、查看本地ssr配置端口
一般mac上ssr对于本地http代理的监听端口为1087
1 | export http_proxy=http://127.0.0.1:1087 |
这样在ssr工作正常的情况下,命令行已经可以翻墙,不过需要注意ping命令不会生效,因为sock5工作在tcp和udp协议基础之上,不包括ping命令的icmp协议
2、添加自动化控制
1 | vim ~/.bash_profile |
走最远的路 看最美的风景
缺失模块。
1、请确保node版本大于6.2
2、在博客根目录(注意不是yilia根目录)执行以下命令:
npm i hexo-generator-json-content --save
3、在根目录_config.yml里添加配置:
jsonContent: meta: false pages: false posts: title: true date: true path: true text: false raw: false content: false slug: false updated: false comments: false link: false permalink: false excerpt: false categories: false tags: true