الأحد، 8 يناير 2012

Fix all VMware Issues on Linux

In this post I will introduce steps to avoid all VMware installation and running issues.
These issues includes:
  • VMware cannot find modules.
  • VMware cannot find header files.
  • VMware cannot compile.
  • Installing VMware tools on Linux guest.
First: Installing the VMware bundle file
    1. You need to make the bundle file executable
# sudo chmod +x  the_bundle_file_name.bundle
Just replace "the_bundle_file_name.bundle" with the name of the bundle file you have
    2. Now install the bundle file
# sudo ./the_bundle_file_name
Note: on openSUSE no graphical interface will appear since you will be installing using the root user. This is how things done on openSUSE, if you use su command or sudo you need the password of the root user( I think this is the best thing for desktop users ). So while installing you can install it from any user but you need to login to the root in next steps so login to the root in the graphical interface from now.
Second: Running VMware on Linux:
  * Running VMware on Linux needs some packages to be installed as well as some
     programs
  * You can install the packages from the GUI package manager of your distribution


   1. Install make
for openSUSE
# sudo zypper install  make
for Fedora, CentOS, RedHat 6, Oracle Linux, or any distribution uses yum
# sudo yum install make
for Debian, Mint, Ubuntu, or any distribution uses apt-get
# sudo apt-get install make
    2. Install gcc compiler
for openSUSE
# sudo zypper install  gcc
for Fedora, CentOS, RedHat 6, Oracle Linux, or any distribution uses yum
# sudo yum install gcc
for Debian, Mint, Ubuntu, or any distribution uses apt-get
# sudo apt-get install gcc
    3. Install kernel headers, and kernel-devel

for openSUSE
# sudo zypper install kernel-headers kernel-devel
for Fedora, CentOS, RedHat 6, Oracle Linux, or any distribution uses yum
# sudo yum install kernel-headers kernel-devel
for Debian, Mint, Ubuntu, or any distribution uses apt-get
# sudo apt-get install kernel-headers kernel-devel
 * So far, we solved the issue of cannot find header file
 * If the problem still there just update you system and it will be fixed
    Since the kernel-headers and kernel-devel will be of the latest kernel version of
    you distribution and by nature your installation media will have an older version
    of the kernel.
 * If you have any problem please add them in the comments.


 * Now we come to solve the issue of cannot find modules
 * Here i strongly recommend you to login to the root in the GUI


   1. Go to this directory
/usr/lib/vmware/modules/source
 In command line:
 # cd /usr/lib/vmware/modules/source
   2. Copy all the tar files from this directory to this one:
/tmp/vmware-root
 The name of this files are:
vmblock.tar  vmci.tar  vmmon.tar  vmnet.tar  vsock.tar
 In the command line:
 # sudo cp * /tmp/vmware-root
    3. Extract each tar file that copied to /tmp/vmware-root
In the command line:
# su                   then enter the root password
# cd /tmp/vmware-root
# tar -xvf vmblock.tar
# tar -xvf vmci.tar
# tar -xvf vmmon.tar
# tar -xvf vmnet.tar
# tar -xvf vsock.tar
    4. Now type vmware in the command line:
# vmware
 * So far we solved the issue on VMware cannot find module
 * If you have any problem please add them in the comments.


 * Now we come to solve Installing VMware tools on Linux guest.
  • Just install make, gcc, kernel-headers, and kernel-devel then start the installaton and you won't face any problem.
for openSUSE
# sudo zypper install make gcc kernel-headers kernel-devel
for Fedora, CentOS, RedHat 6, Oracle Linux, or any distribution uses yum
# sudo yum install make gcc kernel-headers kernel-devel
for Debian, Mint, Ubuntu, or any distribution uses apt-get
# sudo apt-get install make gcc kernel-headers kernel-devel

Please rate this topic

If you like this topic please support by downloading this file
Download To Suppport

Angry face

ليست هناك تعليقات:

إرسال تعليق