1、安装中遇到what is the location of the gcc program on your machine
解决步骤:
直接输入 no。意思就是跳过gcc的安装了。但是系统虽然安装了vmware tools但是缺少gcc。
流程结束后,要保证电脑是已联网的。然后输入命令:yum install gcc-c++,一顿yes,最后显示Complete!安装成功
2、The path "" is not a valid path to the 3.10.0-957.el7.x86_64 kernel headers.
Enter the path to the kernel header files for the 3.10.0-957.el7.x86_64
kernel?
INPUT: [] default
The path “” is not a valid path to the 3.10.0-957.el7.x86_64 kernel headers.
使用以下两条命令安装:
yum -y install perl gcc make kernel-headers kernel-devel
yum -y install kernel-devel-$(uname -r)