CentOS 8 fastgithub 加速

1. 下载FastGithub FastGithub download wget https://github.com/dotnetcore/FastGithu

1. 下载FastGithub

FastGithub download

wget https://github.com/dotnetcore/FastGithub/releases/download/2.1.3/fastgithub_linux-x64.zip

2. 解压缩

unzip fastgithub_linux-x64.zip

3. 设置系统代理

vi /etc/profile
  • 增加如下脚本:
#settings github
export http_proxy="http://127.0.0.1:38457"
export https_proxy="http://127.0.0.1:38457"
  •  生效
source /etc/profile

4. 以服务方式启动

  • 进入目录
cd fastgithub_linux-x64
  •  启动加速服务
sudo ./fastgithub start