一、安装curl 1.1 Centos、红帽 系统 yum -y install curl 1.2 Ubntu 系统 sudo apt install curl -y 二、执行命令 2.1 curl ifconfig.co 2.2 curl icanhazip.com