Fedora14 is installed with VM7.1. The installation of VMware-tools is highlighted in red with commands I have used. 1. Install the GCC development tool # InstallsoftwarecalledbybyVMwareToolsyuminstallgcc, which must be installed, no Kernel File is installed by default. 2. Install the Kernel File # Installkernelheaderfilesyuminstallkern
Install Fedora 14 using VM7.1 and VMware-tools
The commands I used are marked in red.
1. Install the GCC development tool
# Install software called by VMware Tools
Yum install gcc
This is required, and none of them are installed by default.
2. Install the Kernel File
# Install kernel header files
Yum install kernel-devel
3. Check whether the version of the kernel file matches. if the version does not match, upgrade the file.
# Check it matches the running kernel
Uname-r# Running kernel
Rpm-q kernel-devel# Installed kernel headers
The two versions here are incorrect. One is 2.6.35.6-46. fc14.i686.The other is 2.6.35.6-48. fc14.i686.
4. If the value does not match 3rd, You need to upgrade the Kernel File. After the upgrade, restart the system.
# It the two versions do not match, run
Yum-y upgrade kernel-devel
# Then reboot (but only if they did not match ).
5. Find the location of the kernel file and install the VMware-tool. (when I install the tool, it will be automatically found and you do not need to manually specify it)
# Find out where the kernel headers are
Ls-d/usr/src/kernels/$ (uname-r) */include
After installation promptWhat is the location of the directory of C header files that match your running Kernel? The displayed address will be used here. You can copy the address, but after I install it, The address will be the default address. Press enter and you will be OK.
# You may need this later.
6. Download the Virtual Machine Tool installation package (I downloaded it by myself)
That is, run the VMware-tool installation package and decompress it. (click "VM"-> "Install VMware Tools" on the VM toolbar. The installation package is displayed. Select *. files in gz can be extracted to a directory)
The following are the specific implementation methods in the command line. I implemented them in the graphic interface.
# If you already have VMwareTools-5.5.2-29772.tar.gz
On disk, skip this step!
# Download VMware-workstation-5.5.2-29772.tar.gz from vmware.com
# Extract the VMware Tools iso from it
Tar -- strip-components = 3-zxvf VMware-workstation-5.5.2-29772.tar.gz \
Vmware-distrib/lib/isoimages/linux. iso
# Create a temporary mount point
Mkdir/mnt/vmtools-temp
# Mount the image
Mount-o loop linux. iso/mnt/vmtools-temp
# Copy VMware Tools from the mount
Cp/mnt/vmtool-temp/VMwareTools-5.5.2-29772.tar.gz/tmp/
# Unmount the image and tidy up
Umount/mnt/vmtools-temp
Rmdir/mnt/vmtools-temp
Rm linux. iso
# Unpack VMware Tools to a temporary directory
Cd/tmp/
Tar zxvf VMwareTools-5.5.2-29772.tar.gz
7. Enter the decompressed target directory, execute the following code, and press Enter.
Cd/tmp/vmware-tools-distrib/ (Here we will extract the files based on the position of your cp vmtools file)
/Vmware-install.pl
8. Until this step is completed, copy and paste the path in step 1, and press enter until the screen resolution is selected.
What is the location of the directory of C header files that match your running
Kernel? [/Usr/src/kernels/2.6.18-1.2849.fc6-i686/include]