VMware的MAC中安装vmware 安装mac ostools失败,提示:安装器遇到一个错误,导致安装失败,请联系软件制造商

当前位置:&>&&>&
解决VMware Tools for Linux安装失败的问题
时间: 11:43:01    来源:服务器之家    投稿:root
几天来一直试着安装Vmware Tools for Linux& 但是每次安装到中途都会遇到同样的问题
Unable to copy the source file ./installer/services.sh
to the destination file
/etc/vmware-tools.
Execution aborted.
今天在网上不小心看到一个网友的回复顿时来了灵感,问题解决!!
首先按照以下方法安装
**************************************************************************************************************
安装Vmwar Tools
选择VM--&install VMware Tools
[ ~]# mkdir /mnt/cdrom
[ ~]#mount /dev/cdrom /mnt/cdrom/
[ ~]# cd /mnt/cdrom/
[ cdrom]# ls 后有
VMwareTools-6.5.0-6.rpm
VMwareTools-6.5.0-118166.tar.gz
[ cdrom]# cp VMwareTools-6.5.0-118166.tar.gz /tmp
//拷贝到/tmp下
[ cdrom]# cd /tmp/
[ tmp]# tar zxvf VMwareTools-6.5.0-118166.tar.gz
//解包文件
[ tmp]# cd vmware-tools-distrib/
[ vmware-tools-distrib]#
./vmware-install.pl&& //安装开始
一路回车之后出现:
What is the location of the directory of C header files that match
your running kernel? [/usr/src/linux/include]
The path "/usr/src/linux/include" is not an existing directory.
查看目录/usr/src/ 根本没有linux这个目录
只有/usr/src/redhat
google/baidu解决方案:
1. 用vmware-any-any-update109打补丁
&&& 很不幸,下载完后,解压 安装出错
[ vmware-any-any-update109]# ./runme.pl
Unable to open the installer database /etc/vmware/locations in
read-mode.
Execution aborted.
2. 继续google:有人说是kernel-source 没有安装
用RPM命令查看一下
[ ~]# rpm -q kernel-source
package kernel-source is not installed
(接下来便是漫长而痛苦又无用的kernel source 安装过程
不写了--因为在这里是无用功―)
3. 第三种方案是安装kernel devel包
先查看内核版本号
[ ~]# uname -r
2.6.25-14.fc9.i686
[ ~]# rpm -q kernel-i686-devel
package kernel-xen-devel is not installed
这是i686的内核,所以,要安装对应版本号的 kernel-i686-devel rpm包:
下载地址:http://rpm.pbone.net/index.php3/stat/4/idpl/7201713/com/kernel-devel-2.6.25-14.fc9.i686.rpm.html
[ ~]# rpm -ivh
kernel-devel-2.6.25-14.fc9.i686.rpm
完成安装后,在/usr/src/下已经多出了一个kernels目录
[ ~]# cd /usr/src/
[ src]# ls
kernels redhat
无图无真相,下面是截图
/********************************************************************************************************************************/
/********************************************************************************************************************************/
[ src]# cd kernels
[ kernels]# ls
2.6.20-2925.9.fc7.i686.rpm
表明kernel-xen-devel已经装好了
再次使用vmware-install.pl安装,
./vmware-install.pl
就一直enter,装完VMware Tools
(可自动找到配套的the directory of C header files了,哈)
在安装的最后阶段,会出现:
Do you want to change your guest X resolution? (yes/no) [no] y
Please choose one of the following display sizes (1 - 13):
[1] "640x480"
[2]& "800x600"
Please enter a number between 1 and 13:
重启系统,OK了
*******************************************************************************************************************************
以上转自(版权所有):/ma_jieo/blog/item/1b19f58bb4a5db729e2fb4fe.html
以下是毕人安装的终端代码
*******************************************************************************************************************************
*******************************************************************************************************************************
[ tmp]# cd vmware-tools-distrib
[ vmware-tools-distrib]# ./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version
Keeping the tar4 installer database format.
You have a version of VMware Tools installed.& Continuing
this install will
first uninstall the currently installed version.& Do you wish
to continue?
(yes/no) [yes]
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 8.8.0 build-471268 for Linux
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
[/usr] /bin
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
What is the directory that contains the init scripts? [/etc]
The file /etc/vmware-tools that this program was about to
install already
exists. Overwrite? [yes]
Unable to copy the source file ./installer/services.sh to the
destination file
/etc/vmware-tools.
Execution aborted.&& //错误一次出现
[ vmware-tools-distrib]# sudo
./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version
Keeping the tar4 installer database format.
You have a version of VMware Tools installed.& Continuing
this install will
first uninstall the currently installed version.& Do you wish
to continue?
(yes/no) [yes]
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 8.8.0 build-471268 for Linux
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
What is the directory that contains the init scripts? [/etc]
The file /etc/vmware-tools that this program was about to
install already
exists. Overwrite? [yes]
Unable to copy the source file ./installer/services.sh to the
destination file
/etc/vmware-tools.
Execution aborted. //错误2次出现
[ vmware-tools-distrib]# sudo
./vmware-install.pl
A previous installation of VMware Tools has been detected.
The previous installation was made by the tar installer (version
Keeping the tar4 installer database format.
You have a version of VMware Tools installed.& Continuing
this install will
first uninstall the currently installed version.& Do you wish
to continue?
(yes/no) [yes]
Uninstalling the tar installation of VMware Tools.
The removal of VMware Tools 8.8.0 build-471268 for Linux
successfully.
Installing VMware Tools.
In which directory do you want to install the binary files?
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc] /etc/init.d
The path "/etc/init.d" is a directory which does not contain a
rc0.d directory.
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc] /etc/rc1.d
The path "/etc/rc1.d" is a directory which does not contain a
rc0.d directory.
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc] /rc0.d&
The path "/rc0.d" is not an existing directory.
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc] rc0.d/
The path "rc0.d" is not an existing directory.
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
[/etc] /etc/vmware-tools&&
The path "/etc/vmware-tools" is a directory which does not
contain a rc0.d
directory.
What is the directory that contains the init directories (rc0.d/
to rc6.d/)?
In which directory do you want to install the daemon files?
In which directory do you want to install the library files?
[/lib/vmware-tools]
The path "/lib/vmware-tools" does not exist currently. This
program is going to
create it, including needed parent directories. Is this what you
In which directory do you want to install the documentation
[/doc/vmware-tools]
The path "/doc/vmware-tools" does not exist currently. This
program is going to
create it, including needed parent directories. Is this what you
The installation of VMware Tools 8.8.0 build-471268 for Linux
successfully. You can decide to remove this software from your
system at any
time by invoking the following command:
"/bin/vmware-uninstall-tools.pl".
Before running VMware Tools for the first time, you need to
configure it by
invoking the following command: "/bin/vmware-config-tools.pl". Do
you want this
program to invoke the command for you now? [yes]
Initializing...
Making sure services for VMware Tools are stopped.
Stopping vmware-tools (via
systemctl):&&&&&&&&&&&&&&&&&&&&
[EXPERIMENTAL] The VMware FileSystem Sync Driver (vmsync) is a
new feature that
creates backups of virtual machines. Please refer to the VMware
Knowledge Base
for more details on this capability. Do you wish to enable this
Before you can compile modules, you need to have the following
installed...
kernel headers of the running kernel
Searching for GCC...
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine?
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]
What is the location of the gcc program on your machine?
The path "" is not valid path to the gcc binary.
Would you like to change it? [yes]& no
Searching for a valid kernel header path...
The path "" is not a valid path to the 2.6.40.8-4.fc15.i686.PAE
kernel headers.
Would you like to change it? [yes]
Enter the path to the kernel header files for the
2.6.40.8-4.fc15.i686.PAE
The path "" is not a valid path to the 2.6.40.8-4.fc15.i686.PAE
kernel headers.
Would you like to change it? [yes]& no
WARNING: This program cannot compile any modules for the
following reason(s)...
- This program could not find a valid path to the gcc
binary.& Please ensure
that the gcc binary is installed on this sytem.
- This program could not find a valid path to the kernel headers
of the running
kernel.& Please ensure that the header files for the running
kernel are
installed on this sytem.
[ Press Enter key to continue ]
The communication service is used in addition to the standard
communication
between the guest and the host.& The rest of the software
provided by VMware
Tools is designed to work independently of this feature.
If you wish to have the VMCI feature, you can install the driver by
vmware-config-tools.pl again after making sure that gcc, binutils,
make and the
kernel sources for your running kernel are installed on your
machine. These
packages are available on your distribution's installation CD.
[ Press Enter key to continue ]
The VM communication interface socket family is used in
conjunction with the VM
communication interface to provide a new communication path among
guests and
host.& The rest of this software provided by VMware Tools is
designed to work
independently of this feature.& If you wish to have the VSOCK
feature& you can
install the driver by running vmware-config-tools.pl again after
making sure
that gcc, binutils, make and the kernel sources for your running
kernel are
installed on your machine. These packages are available on your
distribution's
installation CD.
[ Press the Enter key to continue.]
The module vmxnet3 has already been installed on this system by
installer or package and will not be modified by this
installer.& Use the flag
--clobber-kernel-modules=vmxnet3 to override.
The module pvscsi has already been installed on this system by
installer or package and will not be modified by this
installer.& Use the flag
--clobber-kernel-modules=pvscsi to override.
The module vmmemctl has already been installed on this system by
installer or package and will not be modified by this
installer.& Use the flag
--clobber-kernel-modules=vmmemctl to override.
The VMware Host-Guest Filesystem allows for shared folders
between the host OS
and the guest OS in a Fusion or Workstation virtual
environment.& Do you wish
to enable this feature? [yes]
The fast network device driver (vmxnet module) is used only for
networking interface. The rest of the software provided by VMware
designed to work independently of this feature.
If you wish to have the fast network driver enabled, you can
install the driver
by running vmware-config-tools.pl again after making sure that gcc,
make and the kernel sources for your running kernel are installed
machine. These packages are available on your distribution's
installation CD.
[ Press Enter key to continue ]
!!! [EXPERIMENTAL] !!!
VMware automatic kernel modules enables automatic building and
installation of
VMware kernel modules at boot they are not already present.&
By selecting yes,
you will be enabling this experimental feature.& You can
always disable this
feature by re-running vmware-config-tools.pl.
Would you like to enable VMware automatic kernel modules?
Disabling timer-based audio scheduling in pulseaudio.
Detected X server version 1.10.4
Distribution provided drivers for Xorg X server are used.
Skipping X configuration because X drivers are not included.
Creating a new initrd boot image for the kernel.
Starting vmware-tools (via
systemctl):&&&&&&&&&&&&&&&&&&&&
The configuration of VMware Tools 8.8.0 build-471268 for Linux for
this running
kernel completed successfully.
You must restart your X session before any mouse or graphics
changes take
You can now run VMware Tools by invoking
"/bin/vmware-toolbox-cmd" from the
command line or by invoking "/bin/vmware-toolbox" from the command
line during
an X server session.
To enable advanced X features (e.g., guest resolution fit, drag
and drop, and
file and text copy/paste), you will need to do one (or more) of the
following:
1. Manually start /bin/vmware-user
2. Log out and log back into
3. Restart your X session.
--the VMware team
[ vmware-tools-distrib]#
兴奋之余上个图:
&到此成功安装!欢迎交流!
转载请注明原文地址:vmware tools 安装失败的原因
来源:景安IDC资讯作者:server发布时间:点击:476
vmware tools 安装失败的原因有很多,下面小编为大家整理一些vmware tools 安装失败的原因及解决方法:
vmware tools 安装失败的原因有很多,下面小编为大家整理一些vmware tools 安装失败的原因及解决方法:1.安装VMware VSphere Client 6.0报错1310错误描述:写入文件时出现错误:c:\program files(x86)\common files\vmware\vmware remote console plug-in 5.5\firefox\dbghelp.dll.请确认您对该目录具有访问权限。解决方式:出现此类报错,绝大多数情况是因为C盘空间不足导致2.vmware tools在光盘解压错误错误描述:点击电脑上的光盘,找到vmware tools压缩包直接解压解决方法:vmware tools不能再光盘中解决,需要把它拷贝到其它目录下。3.vmware tools无法安装错误描述:你必须在客户机操作系统运行时安装 VMware Tools 安装包。如果你的客户机操作系统未运行,请选择取消并在稍候安装VMware Tools 安装包。解决方法:点击虚拟机上方菜单栏的虚拟机-安装VMware Tools;如果无法安装 ,就需要用手动安装的方法,点击虚拟机-可移动设备-CD-ROM-编辑-使用ISO镜像 浏览,在你的虚拟机安装目录下找到Windows文件确定,即可安装。4.不能启动VMware Tools错误描述:在VM虚拟机菜单下点击安装VMware Tools时,会弹出提示:Easy Install正在运行,不能启动VMware Tools。解决方法:禁用Easy Install模式。如何禁用呢?在安装向导时选择“以后再安装操作系统”,Easy Install便不会自动启动。注:vmware tools是虚拟机VMware自带的一款工具,它的作用就是使用户可以从物理主机直接往虚拟机里面拖文件。
版权声明:本文系技术人员研究整理的智慧结晶,转载勿用于商业用途,并保留本文链接,侵权必究!
本文链接:}

我要回帖

更多关于 vmware12安装mac os 的文章

更多推荐

版权声明:文章内容来源于网络,版权归原作者所有,如有侵权请点击这里与我们联系,我们将及时删除。

点击添加站长微信