输入以下命令
export http_proxy=https://ip:808
export https_proxy=https://ip:808
注:ip为可以连接网络的服务器
测试:在服务器上数据curl www.baidu.com如果返回时代码就可以访问网络
输入以下命令
export http_proxy=https://ip:808
export https_proxy=https://ip:808
注:ip为可以连接网络的服务器
测试:在服务器上数据curl www.baidu.com如果返回时代码就可以访问网络