官方下到的pure-ftpd需要在本机编译后才能使用,所以需要安装GCC和G++环境,GCC环境需要的rpm包全都在光盘镜像的Packages目录下
安装顺序如下:(包的名称固定,但版本号可能因redhat版本不同而有区别,同时需用root权限,su或者在每条命令前加sudo)
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 |
rpm -ivh ppl-0.10.2-11.el6.x86_64.rpm rpm -ivh cloog-ppl-0.15.7-1.2.el6.x86_64.rpm rpm -ivh mpfr-2.4.1-6.el6.x86_64.rpm rpm -ivh cpp-4.4.7-4.el6.x86_64.rpm rpm -ivh kernel-headers-2.6.32-431.el6.x86_64.rpm rpm -ivh glibc-headers-2.12-1.132.el6.x86_64.rpm rpm -ivh glibc-devel-2.12-1.132.el6.x86_64.rpm - rpm -ivh gcc-4.4.7-4.el6.x86_64.rpm rpm -ivh libstdc++-devel-4.4.7-4.el6.x86_64.rpm rpm -ivh gcc-c++-4.4.7-4.el6.x86_64.rpm |