读书人

小弟我想安装vmware-tools却提示权

发布时间: 2012-12-16 12:02:32 作者: rapoo

我想安装vmware-tools,却提示权限不够
在linux安装vmware tools,在终端机输入以下命令:
[root@localhost ~]# cd /tmp/vmware-tools-distrib

[root@localhost vmware-tools-distrib]# ./vmware-install.pl

bash: ./vmware-install.pl: 权限不够

[root@localhost vmware-tools-distrib]# chmod +x ./vmware-install.pl

[root@localhost vmware-tools-distrib]# ./vmware-install.pl

Creating a new VMware Tools installer database using the tar4 format.

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/)?
[/etc/rc.d]

What is the directory that contains the init scripts?
[/etc/rc.d/init.d]

In which directory do you want to install the daemon files?
[/usr/sbin]

In which directory do you want to install the library files?
[/usr/lib/vmware-tools]

The path "/usr/lib/vmware-tools" does not exist currently. This program is
going to create it, including needed parent directories. Is this what you want?
[yes] yes

In which directory do you want to install the documentation files?
[/usr/share/doc/vmware-tools]

The path "/usr/share/doc/vmware-tools" does not exist currently. This program
is going to create it, including needed parent directories. Is this what you
want? [yes] yes

The installation of VMware Tools 6.0.4 build-93057 for Linux completed
successfully. You can decide to remove this software from your system at any
time by invoking the following command: "/usr/bin/vmware-uninstall-tools.pl".

Before running VMware Tools for the first time, you need to configure it by
invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
this program to invoke the command for you now? [yes] yes

sh: /usr/bin/vmware-config-tools.pl: 权限不够

请问怎样才能安装啊?
[解决办法]
sh: /usr/bin/vmware-config-tools.pl: 权限不够

请问怎样才能安装啊?
---------------
你手动执行
sudo chmod +x /usr/bin/vmware-config-tools.pl
sudo /usr/bin/vmware-config-tools.pl
[解决办法]
补充,如果权限还不行,就root
[解决办法]
我就是用root啦
[解决办法]

引用:
补充,如果权限还不行,就root
我就是用root啦
[解决办法]
引用:
sh: /usr/bin/vmware-config-tools.pl: 权限不够



请问怎样才能安装啊?
---------------
你手动执行
sudo chmod +x /usr/bin/vmware-config-tools.pl
sudo /usr/bin/vmware-config-tools.pl

使用过了不行
[解决办法]
引用:
引用:
补充,如果权限还不行,就root
我就是用root啦

从你的日志看 你的vmware-tools已经安装成功了
只是配置的时候失败了 我不是让你手动在试试吗?
sudo chmod +x /usr/bin/vmware-config-tools.pl
sudo /usr/bin/vmware-config-tools.pl
[解决办法]
引用:
引用:
sh: /usr/bin/vmware-config-tools.pl: 权限不够

请问怎样才能安装啊?
---------------
你手动执行
sudo chmod +x /usr/bin/vmware-config-tools.pl
sudo /usr/bin/vmware-config-tools.pl
使用过了不行

还是提示没权限?
[解决办法]
执行下面2个命令 结果贴上来
ls -l /usr/bin/vmware-config-tools.pl
file /usr/bin/vmware-config-tools.pl
[解决办法]
引用:
执行下面2个命令 结果贴上来
ls -l /usr/bin/vmware-config-tools.pl
file /usr/bin/vmware-config-tools.pl
[root@localhost vmware-tools-distrib]# ls -l /usr/bin/vmware-config-tools.pl

-rwxr-xr-x 1 root root 334195 2010-09-09 /usr/bin/vmware-config-tools.pl

[root@localhost vmware-tools-distrib]# file /usr/bin/vmware-config-tools.pl

/usr/bin/vmware-config-tools.pl: perl script text executable


[解决办法]
遇到跟你一样的问题
[解决办法]
VMware 下 Linux 利用虚拟光驱安装 VMware Tools ,如果你是这样的话,我就知道怎么做,之前我和你我的问题一样!
如果你的Linux配置没有自动mount CD-ROMs,则mount VMware Tools 的虚拟CD-ROM镜像。
(VMware 下 Linux 利用虚拟光驱安装 VMware Tools,因为挂载的ISO文件在media下,所以要把ISO挂载在/mnt/cdrom下安装)

a. 如果需要,则创建目录/mnt/cdrom directory:

mkdir /mnt/cdrom

b. mount CD-ROM 驱动

有一些Linux系统配置用的是不同的驱动名字和组织目录,如果你的CD-ROM驱动不在 /dev/cdrom下或者你的挂载点不在/mnt/cdrom,则需根据你的配置环境修改相应的命令。

mount /dev/cdrom /mnt/cdrom
简单点就是把ISO挂载在/mnt/cdrom下,然后进入到/mnt/cdrom/vmware-tools-distrib下直接./vmware-install.pl 安装!



[解决办法]
http://wenku.baidu.com/view/b5ebee00bed5b9f3f90f1cf4.html
上面是说怎么安装linux安装vmware tools,可以看下因为在安装的时候与2个地方是需要输入YES的
刚刚的上面的回答是在VMware 下 Linux 利用虚拟光驱安装 VMware Tools 的情况的!
[解决办法]
用命令
perl ./vmware-install-tools.pl

要稍等一下

[解决办法]
最后一楼正解。

读书人网 >UNIXLINUX

热点推荐