CentOS 7 Debian 8 安装VMware-tools

  1. 云栖社区>
  2. 博客>
  3. 正文

CentOS 7 Debian 8 安装VMware-tools

ganymedenil 2016-08-07 18:31:06 浏览377
展开阅读全文

如在安装过程中碰到未找到gcc 或者 kernel headers的可按以下方案解决,适用任意版本

CentOS 7

1. Update the kernel:

$ yum update kernel -y

2. Install the kernel-headers, kernel-devel and other required packages:

$ yum install kernel-headers kernel-devel gcc make -y

3. Reboot the server to make sure it load to the new kernel:

$ init 6

4. The kernel version has been updated including the kernel-headers and kernel-devel:  

# rpm -qa|grep -e kernel-devel -e kernel-headers kernel-devel-3.10.0-327.18.2.el7.x86_64 kernel-headers-3.10.0-327.18.2.el7.x86_64

# uname -r    

3.10.0-327.18.2.el7.x86_64


fyi:http://blog.secaserver.com/2011/09/linux-vmware-tools-installation-error

Debian 8.5

sudo apt-get install make gcc

sudo aptitude install linux-headers-`uname -r`

网友评论

登录后评论
0/500
评论
ganymedenil
+ 关注