[CentOS] yum & proxy

Mon Apr 4 15:01:38 UTC 2005
Craig White <craigwhite at azapple.com>

On Mon, 2005-04-04 at 15:54 +0100, Mário Gamito wrote:
> Hi,
> 
> I've just installed a server with CentOS 4.
> This server is behind a proxy.
> 
> I'm trying to import the RPM key.
> 
> Already set http_proxy variable to:
> 
> export "http_proxy"=http://proxy.xpto.com:3128
> 
> Truth is, command
> 
> # rpm --import http://mirror.centos.org/centos/RPM-GPG-KEY-CentOS-4
> 
> just leaves me hanged.
> 
> Any ideas ?
----
rpm --import /usr/share/rhn/RPM-GPG-KEY-centos4

would import the key

the proxy issues you have to work out

Craig