Vmwaretools of vmwareworkstation6.0 is successfully installed in virtual debian.

Source: Internet
Author: User
Vmwaretools of vmwareworkstation6.0 is successfully installed in virtual debian -- Debian information of the Linux release technology. The following is a detailed description. Background: debian with xwindow is installed with vmware workstation 6.0.

(1) Check whether gcc is installed
You can view it through which gcc or whereis gcc. Installed

(2) install the kernel header file
The kernel header file is installed in the/usr/src directory by default. Ls/usr/src.

Hohoer @ debian :~ $ Ls/cdrom
Hohoer @ debian :~ $ Mount/cdrom
Mount: block device/dev/hdc is write-protected, mounting read-only
Hohoer @ debian :~ $ Ls/cdrom
Autorun. bat dists isolinux pool README.mirrors.txt
Autorun. inf doc md5sum.txt README.html README.txt
Debian install pics README.mirrors.html tools
Hohoer @ debian :~ $ Uname-
Linux debian 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686 GNU/Linux
Hohoer @ debian :~ $ Apt-cache search headers 2.6.17-2-686
Linux-headers-2.6.17-2-686-Header files for Linux 2.6.17 on PPro/celon/PII/p iii/P4
Hohoer @ debian :~ $ Su
Password:
Debian:/home/hohoer # apt-get install linux-headers-2.6.17-2-686
Debian:/home/hoer # ls/usr/src/
Linux-headers-2.6.17-2 linux-headers-2.6.17-2-686 linux-kbuild-2.6.17
Debian:/home/hohoer # ls/usr/src/linux-headers-2.6.17-2-686/
Arch crypto fs init kernel Makefile Module. symvers scripts sound
Block drivers include ipc lib mm net security usr
Debian:/home/hohoer # ls/usr/src/linux-headers-2.6.17-2-686/include/
Acpi asm-generic asm-i386 config keys linux math-emu media mtd net pcmcia rdma rxrpc scsi sound video

(3) start to install vmware tools
Switch from debian to windows, press ctrl + alt
Otherwise, just click the debian interface.

Menu VM-install vmware tools
Su to Super User
# Umount/cdrom
# Unount/mnt
# Mount-t iso9660/dev/cdrom/mnt/
# Ls/mnt

We will see the .rpmand .tar.gz packages with vmwaretools.
# Cp/mnt/VMwaretools * .tar.gz/tmp/
# Umount/dev/cdrom
# Cd/tmp
/Tmp # tar zxf Vmware * .tar.gz
/Tmp # cd vmware-tools-distrib
/Tmp #./vmware-install.pl

Hohoer @ debian :~ $ Cd/tmp/
Hohoer @ debian:/tmp $ ls
Gconfd-hohoer orbit-hohoer VMwareTools-6.0.0-45731.tar.gz
Gconfd-root orbit-root vmware-tools-distrib
Keyring-UswtGY ssh-nvBKRA3909
Mapping-hohoer virtual-hohoer.PdkSVF
Hohoer @ debian:/tmp $ cd vmware-tools-distrib/
Hohoer @ debian:/tmp/vmware-tools-distrib $ ls
Bin doc etc files install installer lib vmware-install.pl
Hohoer @ debian:/tmp/vmware-tools-distrib $./vmware-install.pl
Please re-run this program as the super user.

Execution aborted.

Hohoer @ debian:/tmp/vmware-tools-distrib $ su
Password:
Debian:/tmp/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 4 ).

Keeping the tar4 installer database format.

Uninstalling the tar installation of VMware Tools.

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done

The removal of VMware Tools 6.0.0 build-45731 for Linux completed successfully.
Thank you for having tried this software.

Installing VMware Tools. This may take from several minutes to over an hour
Depending upon its size.

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]

What is the directory that contains the init scripts?
[/Etc/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]

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]

The installation of VMware Tools 6.0.0 build-45731 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
Invoking the following command: "/usr/bin/vmware-config-tools.pl". Do you want
This program to invoke the command for you now? [Yes] no

Enjoy,

-- The VMware team

Debian:/tmp/vmware-tools-distrib #/usr/bin/vmware-config-tools.pl

Stopping VMware Tools services in the virtual machine:
Guest operating system daemon: done
Trying to find a suitable vmmemctl module for your running kernel.

None of the pre-built vmmemctl modules for VMware Tools is suitable for your
Running kernel. Do you want this program to try to build the vmmemctl module
For your system (you need to have a C compiler installed on your system )?
[Yes]

Using compiler "/usr/bin/gcc". Use environment variable CC to override.

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.

What is the location of the directory of C header files that match your running
Kernel? [/Usr/src/linux/include]/usr/src/linux-headers-2.6.17-2-686/include [note here !]

Extracting the sources of the vmmemctl module.

Building the vmmemctl module.

Using 2.6.x kernel build system.
Make: Entering directory '/tmp/vmware-config0/vmmemctl-only'
Make-C/usr/src/linux-headers-2.6.17-2-686/include/.. SUBDIRS = $ pwd srcroot = $ PWD/. modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.17-2-686'
CC [M]/tmp/vmware-config0/vmmemctl-only/OS. o
SHIPPED/tmp/vmware-config0/vmmemctl-only/vmmemctl1.o
LD [MB]/tmp/vmware-config0/vmmemctl-only/vmmemctl. o
Building modules, stage 2.
MODPOST
CC/tmp/vmware-config0/vmmemctl-only/vmmemctl. mod. o
LD [MB]/tmp/vmware-config0/vmmemctl-only/vmmemctl. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.17-2-686'
Cp-f vmmemctl. ko ../vmmemctl. o
Make: Leaving directory '/tmp/vmware-config0/vmmemctl-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmhgfs module.

Building the vmhgfs module.

Using 2.6.x kernel build system.
Make: Entering directory '/tmp/vmware-config0/vmhgfs-only'
Make-C/usr/src/linux-headers-2.6.17-2-686/include/.. SUBDIRS = $ pwd srcroot = $ PWD/. modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.17-2-686'
CC [M]/tmp/vmware-config0/vmhgfs-only/backdoor. o
CC [M]/tmp/vmware-config0/vmhgfs-only/backdoorGcc32.o
CC [M]/tmp/vmware-config0/vmhgfs-only/bdhandler. o
CC [MB]/tmp/vmware-config0/vmhgfs-only/cpName. o
CC [M]/tmp/vmware-config0/vmhgfs-only/cpNameLinux. o
CC [M]/tmp/vmware-config0/vmhgfs-only/cpNameLite. o
CC [M]/tmp/vmware-config0/vmhgfs-only/dbllnklst. o
CC [MB]/tmp/vmware-config0/vmhgfs-only/dentry. o
CC [M]/tmp/vmware-config0/vmhgfs-only/dir. o
CC [M]/tmp/vmware-config0/vmhgfs-only/eventManager. o
CC [M]/tmp/vmware-config0/vmhgfs-only/file. o
CC [M]/tmp/vmware-config0/vmhgfs-only/filesystem. o
CC [M]/tmp/vmware-config0/vmhgfs-only/fsutil. o
CC [M]/tmp/vmware-config0/vmhgfs-only/hgfsBd. o
CC [M]/tmp/vmware-config0/vmhgfs-only/hgfsUtil. o
CC [M]/tmp/vmware-config0/vmhgfs-only/inode. o
CC [M]/tmp/vmware-config0/vmhgfs-only/kernelStubsLinux. o
CC [M]/tmp/vmware-config0/vmhgfs-only/link. o
CC [M]/tmp/vmware-config0/vmhgfs-only/message. o
CC [M]/tmp/vmware-config0/vmhgfs-only/module. o
CC [M]/tmp/vmware-config0/vmhgfs-only/page. o
CC [M]/tmp/vmware-config0/vmhgfs-only/request. o
CC [M]/tmp/vmware-config0/vmhgfs-only/rpcin. o
CC [M]/tmp/vmware-config0/vmhgfs-only/rpcout. o
CC [M]/tmp/vmware-config0/vmhgfs-only/staticEscape. o
CC [M]/tmp/vmware-config0/vmhgfs-only/stubs. o
CC [MB]/tmp/vmware-config0/vmhgfs-only/super. o
LD [MB]/tmp/vmware-config0/vmhgfs-only/vmhgfs. o
Building modules, stage 2.
MODPOST
CC/tmp/vmware-config0/vmhgfs-only/vmhgfs. mod. o
LD [M]/tmp/vmware-config0/vmhgfs-only/vmhgfs. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.17-2-686'
Cp-f vmhgfs. ko ../vmhgfs. o
Make: Leaving directory '/tmp/vmware-config0/vmhgfs-only'
The module loads perfectly in the running kernel.

Pcnet32 28420 0
Unloading pcnet32 module

Extracting the sources of the vmxnet module.

Building the vmxnet module.

Using 2.6.x kernel build system.
Make: Entering directory '/tmp/vmware-config0/vmxnet-only'
Make-C/usr/src/linux-headers-2.6.17-2-686/include/.. SUBDIRS = $ pwd srcroot = $ PWD/. modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.17-2-686'
CC [MB]/tmp/vmware-config0/vmxnet-only/vmxnet. o
Building modules, stage 2.
MODPOST
HTTP/tmp/vmware-config0/vmxnet-only/vmxnet. mod. o
LD [M]/tmp/vmware-config0/vmxnet-only/vmxnet. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.17-2-686'
Cp-f vmxnet. ko./../vmxnet. o
Make: Leaving directory '/tmp/vmware-config0/vmxnet-only'
The module loads perfectly in the running kernel.

Extracting the sources of the vmblock module.

Building the vmblock module.

Using 2.6.x kernel build system.
Make: Entering directory '/tmp/vmware-config0/vmblock-only'
Make-C/usr/src/linux-headers-2.6.17-2-686/include/.. SUBDIRS = $ pwd srcroot = $ PWD/. modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.17-2-686'
CC [M]/tmp/vmware-config0/vmblock-only/linux/block. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/control. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/dbllnklst. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/dentry. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/file. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/filesystem. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/inode. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/module. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/stubs. o
CC [M]/tmp/vmware-config0/vmblock-only/linux/super. o
LD [M]/tmp/vmware-config0/vmblock-only/vmblock. o
Building modules, stage 2.
MODPOST
CC/tmp/vmware-config0/vmblock-only/vmblock. mod. o
LD [M]/tmp/vmware-config0/vmblock-only/vmblock. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.17-2-686'
Cp-f vmblock. ko ../vmblock. o
Make: Leaving directory '/tmp/vmware-config0/vmblock-only'
The module loads perfectly in the running kernel.

[EXPERIMENTAL] The Virtual Machine Communication Interface (VMCI) service
Provides a new communication capability with the Host, primarily
Development at the moment. wocould you like to enable this feature? [No] yes [I don't know how to use this function. I chose yes]

Extracting the sources of the vmci module.

Building the vmci module.

Using 2.6.x kernel build system.
Make: Entering directory '/tmp/vmware-config0/vmci-only'
Make-C/usr/src/linux-headers-2.6.17-2-686/include/.. SUBDIRS = $ pwd srcroot = $ PWD/. modules
Make [1]: Entering directory '/usr/src/linux-headers-2.6.17-2-686'
CC [M]/tmp/vmware-config0/vmci-only/dbllnklst. o
CC [M]/tmp/vmware-config0/vmci-only/kernelStubsLinux. o
CC [M]/tmp/vmware-config0/vmci-only/vmciDatagram. o
CC [M]/tmp/vmware-config0/vmci-only/vmci_drv.o
CC [M]/tmp/vmware-config0/vmci-only/vmciProcess. o
CC [M]/tmp/vmware-config0/vmci-only/vmciResource. o
CC [M]/tmp/vmware-config0/vmci-only/vmciSharedMemory. o
CC [M]/tmp/vmware-config0/vmci-only/vmciTest. o
CC [M]/tmp/vmware-config0/vmci-only/vmciUtil. o
LD [M]/tmp/vmware-config0/vmci-only/vmci. o
Building modules, stage 2.
MODPOST
CC/tmp/vmware-config0/vmci-only/vmci. mod. o
LD [M]/tmp/vmware-config0/vmci-only/vmci. ko
Make [1]: Leaving directory '/usr/src/linux-headers-2.6.17-2-686'
Cp-f vmci. ko ../vmci. o
Make: Leaving directory '/tmp/vmware-config0/vmci-only'
The module loads perfectly in the running kernel.



Detected X.org version 7.1.


Please choose one of the following display sizes that X will start with (1-
15 ):

[1] "640x480"
[2] <"800x600"
[3] "1024x768"
[4] "1152x864"
[5] "1280x800"
[6] "1152x900"
[7] "1280x1024"
[8] "1376x1032"
[9] "1400x900"
[10] "1400x1050"
[11] "1440x900"
[12] "1680x1050"
[13] "1600x1200"
[14] "1920x1200"
[15] "2364x1773"
Please enter a number between 1 and 15:

[2] 3 [select 3 for resolution here. The default value is 2]


X Window System Version 7.1.1
Release Date: 12 May 2006
X Protocol Version 11, Revision 0, Release 7.1.1
Build Operating System: UNKNOWN
Current Operating System: Linux debian 2.6.17-2-686 #1 SMP Wed Sep 13 16:34:10 UTC 2006 i686
Build Date: 04 September 2007
Before reporting problems, checking http://wiki.x.org
To make sure that you have the latest version.
Module Loader present
Markers: (--) probed, (**) from config file, (=) default setting,
(++) From command line ,(!!) Notice, (II) informational,
(WW) warning, (EE) error, (NI) not implemented ,(??) Unknown.
(++) Log file: "/tmp/vmware-config0/XF86ConfigLog. 4879", Time: Mon Oct 1 09:32:46 2007
(++) Using config file: "/tmp/vmware-config0/XF86Config. 4879"
(EE) Failed to load module "void" (module does not exist, 0)

X is running fine with the new config file.

(EE) AIGLX: Screen 0 is not DRI capable
(EE) No Input driver matching 'void'
Xkb_keycodes {include "xfree86 + aliases (qwerty )"};
Xkb_types {include "complete "};
Xkb_compatibility {include "complete "};
Xkb_symbols {include "pc (pc105) + us "};
Xkb_geometry {include "pc (pc104 )"};
FreeFontPath: FPE "/usr/share/fonts/X11/misc" refcount is 2, shoshould be 1; fixing.
Starting VMware Tools services in the virtual machine:
Switching to guest configuration: done
Guest filesystem driver: done
Mounting HGFS shares: failed
Guest memory manager: done
Guest vmxnet fast network device: done
New Host-Guest communications path: done
Blocking file system: done
DMA setup: done
Guest operating system daemon: done

The configuration of VMware Tools 6.0.0 build-45731 for Linux for this running
Kernel completed successfully.

You must restart your X session before any mouse or graphics changes take
Effect.

You can now run VMware Tools by invoking the following command:
"/Usr/bin/vmware-toolbox" during an X server session.

To use the vmxnet driver, restart networking using the following commands:
/Etc/init. d/networking stop
Rmmod pcnet32
Rmmod vmxnet
Modprobe vmxnet
/Etc/init. d/networking start

If you wish to configure any experimental features, please run the following
Command: "vmware-config-tools.pl -- experimental ".

Enjoy,

-- The VMware team [succeeded! National Day !]

Debian:/tmp/vmware-tools-distrib #
Related Article

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.