curl -L https://alibaba.github.io/arthas/install.sh | sh
出现
curl: (35) SSL connect error
或者
curl: (35) Peer reports incompatible or unsupported protocol version.
执行
yum update nss curl
执行./as.sh [pid]出现
./as.sh: 第 423 行:type: telnet: 未找到
执行
yum -y install telnet.x86_64
配置环境变量在新打开的窗口中每次执行还会提示以下信息
[root@localhost arthas]# ./as.sh
Arthas script version: 3.0.4
illegal ENV, please set $JAVA_HOME to JDK6+
必须每次都要
source /etc/profile
(彻底解决)在bashrc中添加环境变量
[root@localhost arthas]# vi /etc/bashrc
[root@localhost arthas]# source /etc/bashrc
本文档详细记录了在使用curl下载Arthas安装脚本时遇到的SSL连接错误及不兼容协议版本问题的解决方案,包括更新ns和curl,安装telnet,以及配置环境变量的具体步骤。
6791

被折叠的 条评论
为什么被折叠?



