C/C++教程

weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable

本文主要是介绍weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable,对大家解决编程问题具有一定的参考价值,需要的程序猿们随着小编来一起学习吧!

问题:按照weave Scope官网提示,使用以下脚本安装weave Scope报curl: Failed to connect to 2001::68f4:2e39: Network is unreachabler.
\

sudo curl -L git.io/scope -o /usr/local/bin/scope
sudo chmod a+x /usr/local/bin/scope
scope launch

1.把命令改为

sudo curl -L https://github.com/weaveworks/scope/releases/download/latest_release/scope -o /usr/local/bin/scope

sudo chmod a+x /usr/local/bin/scope

scope launch

2.开启防火墙

CentOS 7.0默认使用的是firewall作为防火墙

查看防火墙状态

firewall-cmd --state

停止firewall

systemctl stop firewalld.service

禁止firewall开机启动

systemctl disable firewalld.service

下载并且启动成功!在浏览器输入:本机ip:4040访问weavescope.


大功告成!

这篇关于weavescope curl -L git.io/scope -o /usr/local/xx failed to connect to 2001: Network is unreachable的文章就介绍到这儿,希望我们推荐的文章对大家有所帮助,也希望大家多多支持为之网!