
UNRAID 是好文明!
在看完油管上某知名催眠 youtuber 长达一个半小时的UNRAID教程后,我决心把家里那台 HPE 的家用小服务器刷上 UNRAID 的系统,不为别的,就图 UNRAID 的字面意思——不做 RAID,不需要买4个相同空间的硬盘就能给小姐姐们一个舒适的家。
UNRAID 的具体安装教程这里不做过多介绍,无论是油管上的司波图或是SMZDM的阿文菌都讲的足够清楚。
这篇文章主要解决一个国内 UNRAID 新手可能都会遇到的一个问题——UNRAID 备受好评的社区应用商店 (Community Applications) 那是一个应用也装不上。

How to solve it
问题的原因在于里面大部分的插件下载都需要访问 raw.githubusercontent.com 这个地址,然而众所周知,这个域很久以前就被墙了,而 UNRAID 系统并没有全局代理这一选项。
但是——插件下载是调用 wget 命令完成的,因此我们不需要配置全局系统代理,只需要让 wget 程序默认使用代理即可。
UNRAID 管理界面打开浏览器终端,输入nano /etc/wgetrc ,找到以下几行
1
2
3
4
5
6
7
8
| # You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
#https_proxy = http://proxy.yoyodyne.com:18023/
#http_proxy = http://proxy.yoyodyne.com:18023/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
#use_proxy = on
|
只需要去掉几个注释,并将你的代理地址填入即可
1
2
3
4
5
6
7
8
| # You can set the default proxies for Wget to use for http, https, and ftp.
# They will override the value in the environment.
https_proxy = http://127.0.0.1:10809/
http_proxy = http://127.0.0.1:10809/
#ftp_proxy = http://proxy.yoyodyne.com:18023/
# If you do not want to use proxy at all, set this to off.
use_proxy = on
|
关于如何在UNRAID上安装代理,网络上有很多相关的教程,这里不赘述,如有兴趣,请参考这篇文章1。
参考
- [1] [[UnRaid] 商店无法访问raw.githubusercontent.com的解决方案](https://www.bilibili.com/read/cv14677590)