解决CentOS系统mini安装后的虚拟机工具(vmware-tools)安装问题
2013-04-17 15:38
567 查看
准备工作,先安装必要的组件。
yum -y groupinstall "Perl Support"
yum -y install gcc gcc-c++ automake make kernel-devel
然后在vCenter里找到这台服务器,并挂接VMWARE的升级工具(图形操作的略掉)。
mkdir /mnt/cdrom
mount -o loop /dev/cdrom /mnt/cdrom
cd /mnt/cdrom
cp VMwareTools*.* /home
---------------------复制完成以后,就可以断了挂载
umount /mnt/cdrom
rm /mnt/cdrom -rf
cd /home
tar zxvf VMwareTools........tgz
cd vm....../
然后安装即可:
./vmware_install.pl
如果一些正常,一路回车就可以了。
==================================================
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出现这个就表明gcc没有安装
# yum install gcc gcc-c++ automake make
将编译环境一次装好
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出现这个就表示kernel-devel包没有安装
# yum install
成功安装VMware tools时的提示如下,一路回车:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.32-71.el6.i686/build/include".
The path "/lib/modules/2.6.32-71.el6.i686/build/include" appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]
yum -y groupinstall "Perl Support"
yum -y install gcc gcc-c++ automake make kernel-devel
然后在vCenter里找到这台服务器,并挂接VMWARE的升级工具(图形操作的略掉)。
mkdir /mnt/cdrom
mount -o loop /dev/cdrom /mnt/cdrom
cd /mnt/cdrom
cp VMwareTools*.* /home
---------------------复制完成以后,就可以断了挂载
umount /mnt/cdrom
rm /mnt/cdrom -rf
cd /home
tar zxvf VMwareTools........tgz
cd vm....../
然后安装即可:
./vmware_install.pl
如果一些正常,一路回车就可以了。
==================================================
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
如果出现这个就表明gcc没有安装
# yum install gcc gcc-c++ automake make
将编译环境一次装好
Searching for a valid kernel header path...
The path "" is not valid.
Would you like to change it? [yes]
如果出现这个就表示kernel-devel包没有安装
# yum install
成功安装VMware tools时的提示如下,一路回车:
Searching for GCC...
Detected GCC binary at "/usr/bin/gcc".
The path "/usr/bin/gcc" appears to be a valid path to the gcc binary.
Would you like to change it? [no]
Searching for a valid kernel header path...
Detected the kernel headers of the running kernel at
"/lib/modules/2.6.32-71.el6.i686/build/include".
The path "/lib/modules/2.6.32-71.el6.i686/build/include" appears to be a valid
path to the kernel headers of the running kernel.
Would you like to change it? [no]
相关文章推荐
- 在 VMware Ubuntu 64 里安装 Vmware Tools工具,能够解决不能满屏显示与从客户机复制文件到虚拟机的问题
- 安装 vmware-tools与解决虚拟机时间过快或过慢的问题
- 解决CentOS系统mini安装后的虚拟机工具(VMware Tools)安装问题
- 虚拟机ubuntu17.04安装vmware-tools时,显示找不到ifconfig的解决办法
- 解决在安装VMware tools提示“Unable to find the database file /etc/vmware-tools/location”的问题
- Fedora8安装VMware-tools 解决gcc和kernel缺失的问题
- ubuntu10.10 下面安装vmware-tools 解决需要指定 c header file 的问题
- linux下VMware_Tools虚拟机工具的安装
- 安装vmware-tools遇The path "" is not a valid path to the 3.8.13-44.1.1.el6uek.x86_64 kernel问题解决
- vmware下安装mac os虚拟机问题,最后还是终于解决了被一个小失误给陷害了
- [异常解决] ubuntu上安装虚拟机遇到的问题(vmware坑了,virtual-box简单安装,在virtual-box中安装精简版win7)
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- 已解决 vmware 虚拟机安装后没有虚拟网卡问题
- 解决在ubuntu 12.10安装vmware-tools实现文件共享问题
- vmware tools for linux 在ubuntu10.10中安装问题解决
- VMware Workstation 8 虚拟机 ubuntu16.04下安装 VMware-tools问题
- 解决vmware tools on Windows 2000 Server安装兼容性问题
- 解决vmware虚拟机中,已安装vmware-tools却无法共享文件夹的问题
- 虚拟机vmware无法卸载tools-freebsd、tools-linux、tools-netware、tools-solaris、tools-winPre2k、tools-windows问题解决