nano /boot/config/go
修改为:
http_proxy=http://server:port https_proxy=http://server:port /usr/local/sbin/emhttp &
echo "export http_proxy=\"http://server:port\"" >> /root/.bash_profile
echo "export https_proxy=\"http://server:port\"" >> /root/.bash_profile
然后重启系统
reboot