Install vmware tools tools summed up the problem under fedora linux

 Recently began a study of the way linux, there is a period of time not to play this thing, the beginning is also feeling a little rusty, but fortunately soon get back the feeling, but also taking a step forward to deepen the understanding of the linux, linux study of step is to build a learning platform, before the study of linux has always been vmware workstation + fedora way with and still use this method to build a platform overall.

       Prior to this most recent version of a fedora using fedora15, using vmware workstation version is probably the version 6.5 was installed after vmware tools tools for file sharing talk to the host, did not encounter any problems, it seems everything is going well. This time I use the version of vmware workstation 10, beginning with a fedora 20/21 version (Fedora-20-x86_64-DVD (ED2000.COM) .iso / Fedora-Live-Workstation-x86_64-21-5 .iso), after installation, two different versions of the interface with fedora15 interface, still not accustomed to the beginning. Problems during installation of vmware tools that appears first is prompted to find the GCC, kernel header path information and the like, if it continues to force the installation of such information will be found not matter now hosts the shared folder, by looking up information on the Internet when the problem is solved, the installation of vmware tools and the presence of the compiler is not passed, barely still not been installed with the host shared folder. Toss two days after for a low-version, using fedora10 (Fedora-10-i386-DVD.iso), the successful completion of the installation tool vmware tools to achieve a shared folder with the host.

        Summary: After installing vmware tools tool can not be shared with the hosts file in addition to the shared folder file is not set, the main problem is not the tool vmware tools installed successfully, you need to reinstall.

        The first class of problems during installation: Can not find GCC, information solutions and steps kernel header path appears like:

1, install GCC development tools ( provided that the computer you want to access to the Internet can use yum )

 # Install software called by by VMware Tools

yum install gcc 

yum install make

2, install the kernel file

# Install kernel header files

yum install kernel-devel 

3. Check the version of the kernel files match, if not match needs to be upgraded

# Check it matches the running kernel

uname -r          # running kernel

rpm -q kernel-devel   # installed kernel headers

4, step 3 if you do not match, 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 kernel-devel

# then reboot (but only if they did not match).

 5, find the location of the kernel file, install VMware-tool tool when needed ( I when installed, will automatically find, do not need to manually specify )

# Find out where the kernel headers are

ls -d / usr / src / kernels / $ (uname -r) * / include (note the wording, especially in spaces must not fall)

# You may need this later.

(Steps 1-5 above preparation phase, gcc, make, kernel headers are installed vmtools necessary)

        The second class of problems during installation: an error occurs during compilation:

        First, we need to understand the cause of these problems is due to release vmware tools do not match with virtual machine kernel version caused, we will find such a statement during installation

Using 2.6.x kernel build system.

make: Entering directory `/tmp/modconfig-vw1kLt/vmci-only'

/usr/bin/make -C /lib/modules/2.6.27.41-170.2.117.fc10.i686/build/include/.. SUBDIRS=$PWD SRCROOT=$PWD/. \

This is the tool vmware tools suitable for 2.6.x version of the kernel, if a virtual machine linux version than this version there will be many compiler problems, my initial version used fedora20 / 21 are higher than 3.10.x kernel version, appears during the installation of vmware tools in many problems, if liunx familiar friends can see the error message, go to modify the source file, and then compile and install, this can see some friends online is solved.

        My solution is to use a low version of linux, I use is the version of fedora10, personally feel that the main focus should be placed on research and development aspects of linux, vmware tools rather than tools, fedora10 version of the kernel is version 2.6.x , so very well in the process of compiling the vmware tools, there is no problem, of course, with fedora15 version should be no problem, as I have used this version.

Guess you like

Origin blog.csdn.net/xiebingsuccess/article/details/91860868