1, see if there is a mirror source file to mount centos 7.2
2, if not by the server mounts
If you do not know how to mount, to extract the CentOS-7-x86_64-DVD-1511.iso image file, find the rpm package required in Packages, upload installation
3, run the command
cd / run / media / root / CentOS \ 7 \ x86_64 / Packages / - 进入 Packages
rpm -ivh mpfr-3.1.1-4.el7.x86_64.rpm
rpm -ivh libmpc-1.0.1-3.el7.x86_64.rpm
rpm -ivh kernel-headers-3.10.0-327.el7.x86_64.rpm
rpm -ivh glibc-headers-2.17-105.el7.x86_64.rpm
rpm -ivh glibc-devel-2.17-105.el7.x86_64.rpm rpm -ivh cpp-4.8.5-4.el7.x86_64.rpm rpm -ivh gcc-4.8.5-4.el7.x86_64.rpm
gcc -v -- 查看版本