CentOSでプロキシの設定をする(yumとwget)
CentOSに限った話ではないと思いますが…。
[ yumの場合 ]
/etc/yum.conf に proxy=http:// サーバ名 : port/[ wgetの場合 ]
【Linux】yum & wgetのプロキシサーバの設定方法 - FREEBOX IV
/etc/wgetrc に http_proxy=http:// サーバ名 : port/
CentOSに限った話ではないと思いますが…。
[ yumの場合 ]
/etc/yum.conf に proxy=http:// サーバ名 : port/[ wgetの場合 ]
【Linux】yum & wgetのプロキシサーバの設定方法 - FREEBOX IV
/etc/wgetrc に http_proxy=http:// サーバ名 : port/