CentOS 7 Debian 8 安装VMware-tools

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

如在安装过程中碰到未找到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`

目录
相关文章
|
1天前
|
Unix Linux 开发工具
centos的官网下载和vm16虚拟机安装centos8【保姆级教程图解】
本文详细介绍了如何在官网下载CentOS 8以及在VMware Workstation Pro 16虚拟机上安装CentOS 8的步骤,包括可能出现的问题和解决方案,如vcpu-0错误的处理方法。
centos的官网下载和vm16虚拟机安装centos8【保姆级教程图解】
|
2天前
|
消息中间件 Linux
centos7安装rabbitmq
centos7安装rabbitmq
|
1天前
|
Linux 虚拟化 Windows
完美解决:重新安装VMware Tools灰色。以及共享文件夹的创建(centos8)
这篇文章提供了解决VMware Tools无法重新安装(显示为灰色)问题的步骤,并介绍了如何在CentOS 8上创建和配置VMware共享文件夹。
完美解决:重新安装VMware Tools灰色。以及共享文件夹的创建(centos8)
|
21小时前
|
Linux
centos 安装etcd|待优化
centos 安装etcd|待优化
|
2天前
|
Docker 容器
centos7.3之安装docker
centos7.3之安装docker
|
2天前
|
Linux Python
Linux之centos安装clinkhouse以及python如何连接
Linux之centos安装clinkhouse以及python如何连接
|
2天前
|
Linux
linux之centos安装dataease数据报表工具
linux之centos安装dataease数据报表工具
|
4月前
|
缓存 关系型数据库 MySQL
百度搜索:蓝易云【CentOS8服务器安装MySQL报错:no match mysql-community-server】
现在,你已经成功安装了MySQL服务器并解决了"no match mysql-community-server"的报错问题。祝你使用愉快!
90 1
|
3月前
|
Linux 数据库管理 Python
CentOS7编译安装Python3.10(含OpenSSL1.1.1安装),创建虚拟环境,运行Django项目(含sqlite版本报错)
CentOS7编译安装Python3.10(含OpenSSL1.1.1安装),创建虚拟环境,运行Django项目(含sqlite版本报错)
546 4
|
1月前
|
网络协议 Linux
CentOS7 yum安装报错“Could not resolve host: mirrorlist.centos.org;"之解决办法(换源)
CentOS7 yum安装报错“Could not resolve host: mirrorlist.centos.org; Name or service not known“之解决办法(换源)