阅读 46

群晖NAS安装Transmission替换中文界面,下载出现问题

群晖NAS安装Transmission替换中文界面,下载出现问题

wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control.sh


wget https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control.sh


--2020-08-11 15:17:29--  https://github.com/ronggang/transmission-web-control/raw/master/release/install-tr-control.sh

Resolving github.com... 13.250.177.223

Connecting to github.com|13.250.177.223|:443... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://raw.githubusercontent.com/ronggang/transmission-web-control/master/release/install-tr-control.sh [following]

--2020-08-11 15:17:29--  https://raw.githubusercontent.com/ronggang/transmission-web-control/master/release/install-tr-control.sh

Resolving raw.githubusercontent.com... 0.0.0.0, ::

Connecting to raw.githubusercontent.com|0.0.0.0|:443... connected.

ERROR: cannot verify raw.githubusercontent.com's certificate, issued by 'CN=Synology Inc. CA,O=Synology Inc.,L=Taipei,C=TW':

  Unable to locally verify the issuer's authority.

    ERROR: certificate common name 'synology.com' doesn't match requested host name 'raw.githubusercontent.com'.

To connect to raw.githubusercontent.com insecurely, use `--no-check-certificate'.

1

2

3

4

5

6

7

8

9

10

11

12

13

14

总是提示

install-tr-control-cn.sh: line 1: syntax error near unexpected token newline

install-tr-control-cn.sh: line 1: `’


解决办法


查资料后得知是DNS污染,之后就先找真实的IP地址,GitHub的raw.githubusercontent.com无法链接


通过IPAddress.com首页,输入raw.githubusercontent.com查询到真实IP地址


199.232.68.133


在sudo vim /etc/hosts 里面添加


199.232.68.133 raw.githubusercontent.com

————————————————

版权声明:本文为CSDN博主「CruiseYu」的原创文章,遵循CC 4.0 BY-SA版权协议,转载请附上原文出处链接及本声明。

原文链接:https://blog.csdn.net/chuansailang4709/article/details/107936618


文章分类
后端
版权声明:本文内容由互联网用户自发贡献,该文观点仅代表作者本人。本站仅提供信息存储空间服务,不拥有所有权,不承担相关法律责任。如发现本站有涉嫌抄袭侵权/违法违规的内容, 请发送邮件至 gxwowoo@163.com 举报,一经查实,本站将立刻删除。
相关推荐