Handling of Linux VMware installation failure

Source: Internet
Author: User

You know what a very advanced application technology of Linux VMware will be explained by me. Where is Linux VMwareNB? Next I will enter the unlimited field of Linux VMware.
1. Start Rad Hat (graphical logon) and log on as an administrator.
2. In the Linux vmwarevm menu, click: Virtual Machine-> install Linux VMware tool-> install.
3. Red Hat automatically mounts the virtual optical drive of Linux VMware Tools and displays it on the desktop.
4. Go to the virtual optical drive of Linux VMware Tools and copy the Linux VMwareTools-5.5.1-19175.tar.gz to the/tmp directory.
5. Go to the/tmp directory and unzip the Linux VMwareTools-5.5.1-19175.tar.gz to a Linux VMwareTools-5 folder in the current directory ).
6. Press Ctrl + Alt + F1 at the same time to enter the character interface and log on as root.
7. Enter the following command: cd/tmp/Linux VMwareTools-5/Linux VMware-tools-distrib to enter the Linux VMware-tools-distrib directory ).
8. Input:./Linux VMware-install.pl to execute the Linux VMware-install.pl file ).
9. Press enter all the way, and then OK.
10. Enter the reboot command (restart ).

Appendix: handling installation failures

1. Open the menu "VM-> Install Linux VMware Tools", and a CD will pop up automatically to copy the source code. my file is a Linux VMwareTools-6.0.4-93057.tar.gz and I copy it to/opt.

2. install Linux VMware TOOLScd/opt tar-zxvf Linux VMwareTools-6.0.3-80004.tar.gz cd Linux VMware-tools-distrib /. /Linux VMware-install.pl another way to press enter, and then in What is the location of the directory of C header files that match your running kernel? [/Usr/src/linux/include] C Header cannot be found.

3, download the corresponding kernel-devel.rpm package for installation first check the kernel version: uname-r a bit, I am 2.6.25-14. fc9.i686, So download the kernel-devel-2.6.25-14.fc9.i686.rpm and then run the rpm-ivh kernel-devel-2.6.25-14.fc9.i686.rpm for installation. after the kernel is installed, use this command to determine the installation directory of the kernel C header: ls-d/usr/src/kernels/$ (uname-r) */include

To install the kernel, follow these steps:

 
 
  1. [root@localhost ~]# uname -r  
  2. 2.6.25-14.fc9.i686  
  3. [root@localhost ~]# rpm -q kernel-devel  
  4. package kernel-devel is not installed  
  5. [root@localhost ~]# cd /home  
  6. [root@localhost home]# wget http://www.cnblogs.com/mywebname/admin/ftp:  
  7. //rpmfind.net/linux/fedora/releases/9/Everything/i386/os/Packages/kernel-devel-2.6.25-14.fc9.i686.rpm  
  8. [root@localhost home]# rpm -i kernel-devel-2.6.25-14.fc9.i686.rpm  
  9. [root@localhost home]# rpm -q kernel-devel  
  10. kernel-devel-2.6.25-14.fc9.i686 

Note: When installing Linux VMware tools, if the prompt does not have the permission, then you need to use the chmod 777 file name to add the permission, for example, prompt Linux VMware-install.pl has no permission, then use the following command: chmod 777 Linux VMware-install.pl

Another: kernel header file C header files: http://rpmfind.net/linux/rpm2html/search.php? Query = kernel-devel

4. Run the command again. /Linux VMware-install.pl, press enter all the way down, will appear In file sorted ded from include/linux/string. h: 11, from/tmp/Linux VMware-config3/vmhgfs-only/cpName. h: 18, from/tmp/Linux VMware-config3/vmhgfs-only/cpName. c: 18: include/linux/types. h: 40: Error: conflict with 'uintptr _ t' type/tmp/Linux VMware-config3/vmhgfs-only/vm_basic_types.h: 170: Error: the previous declaration of 'uintptr _ t' in this make [2]: *** [/tmp/Linux VMware-config3/vmhgfs-only/cpName. o] Error 1 make [1]: *** [_ module _/tmp/Linux VMware-config3/vmhgfs-only] Error 2 make [1]: leaving directory '/usr/src/kernels/2.6.25-14. fc9.i686 'make: *** [vmhgfs. ko] Error 2 make: Leaving directory '/tmp/Linux VMware-config3/vmhgfs-only 'unable to build the vmhgfs module.

5. The solution is as follows: (copy it to notepad if you do not need it)

Download the latest open-vm-tools, now you can download to the latest version is open-vm-tools-2008.06.03-96374.tar.gz (very difficult to find, give a link, with thunder can download: http://jaist.dl.sourceforge.net/sourceforge/open-vm-tools/open-vm-tools-2008.06.03-96374.tar.gz ).tar xzvf open-vm-tools-2008.06.03-96374.tar.gzcd open-vm-tools-2008.06.03-96374 /. /configure & make

 
 
  1. cd modules/linux/  
  2. for i in *; do mv ${i} ${i}-only; tar -cf ${i}.tar ${i}-only; done  
  3. cd http://www.cnblogs.com/..  
  4. mv -f open-vm-tools-2008.06.03-96374/modules/linux/*.tar Linux VMware-tools-distrib/lib/modules/source/  
  5. cd Linux VMware-tools-distrib/  
  6. sudo ./Linux VMware-install.pl 

Press enter until the screen resolution option is displayed. Select the resolution you like.

6. There is another problem after the installation. When you write a file to the shared folder, the system always prompts that you do not have the permission. the root user prompts that you do not have the permission. after reading the log, selinux is playing a strange role. It is too troublesome to configure SElinux. It is better to disable it. vi/etc/sysconfig/selinux find SElinux = enforcing and change it to SElinux = disabled. after the restart, everything will be OK.

  1. The final installation of Linux vmware fails.
  2. Easy understanding of Linux VMware Internet access settings
  3. Check whether the Linux Samba client and server are installed
  4. Open-source implementation of running applications in Linux Hadoop
  5. The Beta3 version of the Linux Mono Project has been released to learn more RPM here

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.