欧美free性护士vide0shd,老熟女,一区二区三区,久久久久夜夜夜精品国产,久久久久久综合网天天,欧美成人护士h版

首頁綜合 正文
目錄

柚子快報邀請碼778899分享:筆記 Fastgithub

柚子快報邀請碼778899分享:筆記 Fastgithub

http://yzkb.51969.com/

上Github太慢、打不開怎么辦?

選擇之一是Fastgithub工具,同時支持win, linux, mac。

1. 工作原理

從公共dns服務(wù)器拿到github的大量ip數(shù)據(jù),檢測哪些ip可用,哪些ip訪問速度最佳,然后編寫一個本地版的dns服務(wù),當(dāng)要解析github相關(guān)時,返回這個最佳ip。

2. 下載

Gitee:

fastgithub: FastGithub 是 GitHub 加速神器,解決 GitHub 打不開、用戶頭像無法加載、releases 無法上傳下載、git-clone、git-pull、git-pus (gitee.com)

百度網(wǎng)盤:

跳轉(zhuǎn)中...

清華云盤:

跳轉(zhuǎn)中...

Github原地址:

https://github.com/dotnetcore/FastGithub

3. Windows下使用

在遇到Github網(wǎng)站打不開的情況,解壓fastgithub_win-x64,直接運行fastgithub.exe,然后再嘗試打開Github網(wǎng)站。

還可以運行FastGithub.UI.exe,查看具體的流量情況:

4,Linux下使用。

解壓縮fastgithub_linux-x64這個文件,然后執(zhí)行里面的fastgithub程序。

$ sudo ./fastgithub

Updating certificates in /etc/ssl/certs...

rehash: warning: skipping ca-certificates.crt,it does not contain exactly one certificate or CRL

1 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d...

done.

2024-03-10T11:06:37.1563654+08:00 [INF]

FastGithub.HttpServer.CaCertInstallerOfLinuxDebian

已自動向系統(tǒng)安裝CA證書cacert/fastgithub.crt

2024-03-10T11:06:37.3861959+08:00 [INF]

FastGithub.HttpServer

已監(jiān)聽http://localhost:38457,http代理服務(wù)啟動完成

2024-03-10T11:06:37.5223819+08:00 [INF]

FastGithub.AppHostedService

FastGithub啟動完成,當(dāng)前版本為v2.1.4,訪問 https://github.com/dotnetcore/fastgithub 關(guān)注新版本

2024-03-10T11:06:38.5506455+08:00 [WRN]

FastGithub.AppHostedService

請設(shè)置系統(tǒng)自動代理為http://127.0.0.1:38457,或手動代理http/https為127.0.0.1:38457

需要我們設(shè)置代理。

打開系統(tǒng)設(shè)置,找到網(wǎng)絡(luò)一項:

點開Network Proxy,添加代理:

這是通過系統(tǒng)管理界面操作,本質(zhì)上就是在/etc/profile文件的最后加上了下面兩行:

export http_proxy=http://127.0.0.1:38457

export https_proxy=http://127.0.0.1:38457

所以手動修改也可以,下次重啟也會生效。不過第一次修改后要source執(zhí)行一下/etc/profile腳本。

然后重啟啟動fastgithub:

$ ./fastgithub

2024-03-10T16:23:53.6571182+08:00 [INF]

FastGithub.HttpServer

已監(jiān)聽http://localhost:38457,http代理服務(wù)啟動完成

2024-03-10T16:23:53.9369658+08:00 [INF]

FastGithub.AppHostedService

FastGithub啟動完成,當(dāng)前版本為v2.1.4,訪問 https://github.com/dotnetcore/fastgithub 關(guān)注新版本

這時再使用git clone就可以從github上拉取代碼了。

Mac系統(tǒng)上的使用方法和Linux類似。

5,Linux里設(shè)置Firefox訪問Github.com

a. 在地址欄輸入about:preferences#privacy

b. 點擊左邊的Privacy&Security

c. 在Certificates里,點擊View Certificates...

d. 點擊Import導(dǎo)入:

e. 選擇fastgithub目錄里的文件

f. 全部勾選再點OK

g. 這樣就添加了Fastgithub的證書

h. 設(shè)置主頁面,左邊選擇General常規(guī)。再選擇Network Settings。

i. 選擇使用系統(tǒng)代理。

j. 這樣就可以使用Firefox打開Github網(wǎng)站了。

參考:

1,知乎

穩(wěn)定可靠的github加速神器 FastGithub - 知乎 (zhihu.com)

2,CSDN

Ubuntu配置FastGithub,可瀏覽網(wǎng)頁和使用命令行操作_ubuntu fastgithub-CSDN博客

?

柚子快報邀請碼778899分享:筆記 Fastgithub

http://yzkb.51969.com/

相關(guān)閱讀

評論可見,查看隱藏內(nèi)容

本文內(nèi)容根據(jù)網(wǎng)絡(luò)資料整理,出于傳遞更多信息之目的,不代表金鑰匙跨境贊同其觀點和立場。

轉(zhuǎn)載請注明,如有侵權(quán),聯(lián)系刪除。

本文鏈接:http://gantiao.com.cn/post/19166589.html

發(fā)布評論

您暫未設(shè)置收款碼

請在主題配置——文章設(shè)置里上傳

掃描二維碼手機訪問

文章目錄