Skip to content

自建梯子

主要目的

  • 锁定 ip
  • 能够稳定的进入官方的 chatGPT

参考资料

选购合适国外服务器供应商

选购便宜的国外服务器。不管选用的是哪个供应商提供的服务器,最核心的是获得:

  • ip 地址
  • 服务器账号
  • 登陆密码

服务器系统一般选择 CentOS 7 64bit

ssh 服务器链接的软件

MobaXterm 和 Xshell 都行。只要用上述提供的内容即可链接。

默认端口号 22

基于 CentOS 7 64bit 的基础操作命令

这里不懂。反正照着教程提供的命令做即可。

window 系统安装 Shadowsocks/v2rayN 并配置自己的服务器信息

按照教程做即可。只要服务器配置好了。更换哪一台 window 系统电脑都能够轻松完成配置。

BBR 加速

bash
wget --no-check-certificate https://github.com/teddysun/across/raw/master/bbr.sh && chmod +x bbr.sh && ./bbr.sh

然后输入以下命令查看是否已经开启 BBR

bash
lsmod | grep bbr

github push 代码容易超时

目前自建梯子在提交代码到 github 仓库时速度很慢。容易超时出错。目前还没有找到合适的方案来处理

可能可以配置本机的 git 代理来实现?配置全局的,针对 github 域名的代理。

git config --global https.proxy 设置

贡献者

The avatar of contributor named as 阮喵喵 阮喵喵
The avatar of contributor named as ruan-cat ruan-cat

页面历史