08/10/14 21:15:46 Jwqn+s0R
>>798
rootで以下をコピペすればOK!!
cat upgrade_centos4.sh << EOF
#!/bin/bash
platform=`uname -i`
if [ "${platform}" = "i386" ] || [ "${platform}" = "x86_64" ] ; then
wget URLリンク(ftp.riken.jp)
rpm -U centos-release-5-2.${platform}.rpm
yum -y upgrade
else
echo "Your platform does not suppoted by CentOS 5."
fi
EOF
chmod 700 upgrade_centos4.sh
./upgrade_centos4.sh