いつもながらここ参考.
ウノウラボ Unoh Labs: VMwareとCentOSでウェブ開発の環境をさっさと整える手順書(前編)

PHP5が最初から入っているCentOS5.2をインストール
CDイメージを以下から入手
Index of /pub/Linux/centos/5.2/isos/i386

ネットワークの設定.
CentOS5ではnetconfig が無い.system-config-network というコマンドがあるらしいが,パスが通ってない?のか使えない.
直接ファイル編集する


# vi /etc/sysconfig/network-scripts/ifcfg-eth0
DEVICE=eth0
ONBOOT=yes
BOOTPROTO=static
IPADDR=192.168.29.6
NETMASK=255.255.255.0
GATEWAY=192.168.29.2
HWADDR=00:0C:29:2C:C6:3E
# ifup eth0
SSH で192.168.29.6に接続.
OK.

プロキシ設定.
Linux 作業メモ : CentOS4 yum を proxy越え させる tougo.net/ウェブリブログ



/etc/profile.d/proxy.sh
export http_proxy=http://Proxy Server:Port/
export https_proxy=http://Proxy Server:Port/
export ftp_proxy=http://Proxy Server:Port/
export HTTP_PROXY=http://Proxy Server:Port/
export HTTPS_PROXY=http://Proxy Server:Port/
export FTP_PROXY=http://Proxy Server:Port/

/etc/profile.d/proxy.csh

export http_proxy=http://Proxy Server:Port/
export https_proxy=http://Proxy Server:Port/
export ftp_proxy=http://Proxy Server:Port/
export HTTP_PROXY=http://Proxy Server:Port/
export HTTPS_PROXY=http://Proxy Server:Port/
export FTP_PROXY=http://Proxy Server:Port/