首先挂在安装镜像:
# mount -o loop rhel-server-6.5-x86_64-dvd.iso /mnt
然后按照顺序安装即可:
# cd /mnt/Packages
# rpm -ivh glibc-common-xx.x86_64.rpm
# rpm -ivh kernel-headers-xx.x86_64.rpm
# rpm -ivh libgcc-xx.x86_64.rpm
# rpm -ivh glibc-xx.x86_64.rpm
# rpm -ivh libgomp-xx.x86_64.rpm
rpm -ivh nscd-xx.el6.x86_64.rpm
# rpm -ivh glibc-headers-xx.el6.x86_64.rpm
# rpm -ivh glibc-devel-xx.el6.x86_64.rpm
# rpm -ivh mpfr-xx.el6.x86_64.rpm
# rpm -ivh ppl-xx.el6.x86_64.rpm
# rpm -ivh cloog-ppl-xx.x86_64.rpm
# rpm -ivh cpp-xx.x86_64.rpm
# rpm -ivh gcc-xx.x86_64.rpm
# rpm -ivh libstdc++-xx.x86_64.rpm
# rpm -ivh libstdc++-devel-xx.x86_64.rpm
# rpm -ivh gcc-c++-xx.x86_64.rpm