Installing vmware workstation 8 for Ubuntu 12.04 of cainiao

Source: Internet
Author: User

Actually, I have taught the following methods:

Http://blog.csdn.net/luozhuang/article/details/7341063

However, someone in Ubuntu asked:

Luozhuang @ Ubuntu :~ $ Sudo Sh./patch-modules_3.2.0.sh

/Patch-modules_3.2.0.sh: 27: [: workstation8.0.2: Unexpected Operator
/Patch-modules_3.2.0.sh: 28: [: workstation8.0.2: Unexpected Operator
Sorry, this script is only for VMware Workstation 8.0.2 or VMWare Player 4.0.2. exiting

Note:

Luozhuang @ Ubuntu :~ $ Sudo Bash./patch-modules_3.2.0.sh
./Patch-modules_3.2.0.sh: line 42: Patch: Command not found

At this time: install path:

Luozhuang @ Ubuntu :~ $ Sudo apt-Get Install patch
Reading the package list... complete
Analyzing the dependency tree of the software package
Reading status information... complete
Recommended software packages:
Diffutils-Doc
The following [new] software packages will be installed:
Patch
0 software packages are upgraded, 1 new software package is installed, 0 software packages are to be uninstalled, and 156 software packages are not upgraded.
Download the 80.2 kb software package.
After decompression, 223 KB of extra space will be consumed.
Get: 1 http://mirrors.163.com/ubuntu/ precise/main patch amd64 2.6.1-3 [80.2 KB]
Download 80.2 kb, which takes 2 seconds (39.4 kb/s)
Selecting previusly unselected package patch.
(Reading the database... the system currently has 141404 files and directories installed .)
Extracting patch (from.../patch_2.6.1-3_amd64.deb )...
Processing the trigger for man-DB...
Configuring patch (2.6.1-3 )...
Luozhuang @ Ubuntu :~ $ Sudo Bash./patch-modules_3.2.0.sh
Patching file vmnet-only/filter. c
Patching file vmnet-only/netif. c
Patching file vmnet-only/userif. c
Stopping VMware services:
VMware authentication daemon done
VM communication interface socket family done
Virtual Machine Communication Interface done
Virtual Machine monitor done
Blocking file system done
Using 2.6.x kernel build system.
Make: Go to the '/tmp/vmware-root/modules/vmmon-only' directory'
Make-C/lib/modules/3.2.0-23-generic/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Entering directory '/usr/src/linux-headers-3.2.0-23-generic'
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driver. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/driverlog. o
CC [m]/tmp/vmware-root/modules/vmmon-only/Linux/hostif. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/APIC. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/comport. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/cpuid. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/hashfunc. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/memtrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/phystrack. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/task. o
CC [m]/tmp/vmware-root/modules/vmmon-only/common/vmx86.o
CC [m]/tmp/vmware-root/modules/vmmon-only/vmcore/moduleloop. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmmon-only/vmmon. Mod. o
LD [m]/tmp/vmware-root/modules/vmmon-only/vmmon. Ko
Make [1]: Leaving directory '/usr/src/linux-headers-3.2.0-23-generic'
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Entering the directory '/tmp/vmware-root/modules/vmmon-only'
Make [1]: "postbuild" is the latest.
Make [1]: leaving the directory '/tmp/vmware-root/modules/vmmon-only'
CP-F vmmon. ko ../vmmon. o
Make: Leave the directory "/tmp/vmware-root/modules/vmmon-only"
Built vmmon Module
Using 2.6.x kernel build system.
Make: Go to the '/tmp/vmware-root/modules/vmnet-only' directory'
Make-C/lib/modules/3.2.0-23-generic/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Entering directory '/usr/src/linux-headers-3.2.0-23-generic'
CC [m]/tmp/vmware-root/modules/vmnet-only/driver. o
CC [m]/tmp/vmware-root/modules/vmnet-only/hub. o
CC [m]/tmp/vmware-root/modules/vmnet-only/userif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/netif. o
CC [m]/tmp/vmware-root/modules/vmnet-only/Bridge. o
CC [m]/tmp/vmware-root/modules/vmnet-only/filter. o
CC [m]/tmp/vmware-root/modules/vmnet-only/procfs. o
CC [m]/tmp/vmware-root/modules/vmnet-only/smac_compat.o
CC [m]/tmp/vmware-root/modules/vmnet-only/SMAC. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetevent. o
CC [m]/tmp/vmware-root/modules/vmnet-only/vnetuserlistener. o
LD [m]/tmp/vmware-root/modules/vmnet-only/vmnet. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmnet-only/vmnet. Mod. o
LD [m]/tmp/vmware-root/modules/vmnet-only/vmnet. Ko
Make [1]: Leaving directory '/usr/src/linux-headers-3.2.0-23-generic'
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Entering the directory '/tmp/vmware-root/modules/vmnet-only'
Make [1]: "postbuild" is the latest.
Make [1]: leaving the directory '/tmp/vmware-root/modules/vmnet-only'
CP-F vmnet. KO./../vmnet. o
Make: Leave the directory "/tmp/vmware-root/modules/vmnet-only"
Built vmnet Module
Using 2.6.x kernel build system.
Make: Go to the '/tmp/vmware-root/modules/vmblock-only' directory'
Make-C/lib/modules/3.2.0-23-generic/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Entering directory '/usr/src/linux-headers-3.2.0-23-generic'
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/block. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/control. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/dbllnklst. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/dentry. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/file. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/filesystem. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/inode. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/module. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/stubs. o
CC [m]/tmp/vmware-root/modules/vmblock-only/Linux/super. o
LD [m]/tmp/vmware-root/modules/vmblock-only/vmblock. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vmblock-only/vmblock. Mod. o
LD [m]/tmp/vmware-root/modules/vmblock-only/vmblock. Ko
Make [1]: Leaving directory '/usr/src/linux-headers-3.2.0-23-generic'
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Entering the directory '/tmp/vmware-root/modules/vmblock-only'
Make [1]: "postbuild" is the latest.
Make [1]: leaving the directory '/tmp/vmware-root/modules/vmblock-only'
CP-F vmblock. ko ../vmblock. o
Make: Leave the directory "/tmp/vmware-root/modules/vmblock-only"
Built vmblock Module
Using 2.6.x kernel build system.
Make: Go to the '/tmp/vmware-root/modules/VMCI-only' directory'
Make-C/lib/modules/3.2.0-23-generic/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Entering directory '/usr/src/linux-headers-3.2.0-23-generic'
CC [m]/tmp/vmware-root/modules/VMCI-only/Linux/driver. o
CC [m]/tmp/vmware-root/modules/VMCI-only/Linux/vmcikernelif. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcicontext. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidat.pdf. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidriver. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcidoorbell. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcihashtable. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciqpair. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciqueuepair. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmcievent. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciresource. o
CC [m]/tmp/vmware-root/modules/VMCI-only/common/vmciroute. o
CC [m]/tmp/vmware-root/modules/VMCI-only/driverlog. o
LD [m]/tmp/vmware-root/modules/VMCI-only/VMCI. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/VMCI-only/VMCI. Mod. o
LD [m]/tmp/vmware-root/modules/VMCI-only/VMCI. Ko
Make [1]: Leaving directory '/usr/src/linux-headers-3.2.0-23-generic'
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Entering the directory '/tmp/vmware-root/modules/VMCI-only'
Make [1]: "postbuild" is the latest.
Make [1]: Leaving directory '/tmp/vmware-root/modules/VMCI-only'
CP-f vmci. ko ../VMCI. o
Make: Leave the directory "/tmp/vmware-root/modules/VMCI-only"
Built VMCI Module
Using 2.6.x kernel build system.
Make: Go to the '/tmp/vmware-root/modules/vsock-only' directory'
Make-C/lib/modules/3.2.0-23-generic/build/include/... subdirs = $ PWD srcroot = $ PWD /.\
Modulebuilddir = modules
Make [1]: Entering directory '/usr/src/linux-headers-3.2.0-23-generic'
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/af_vsock.o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/notify. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/notifyqstate. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/stats. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/vsockaddr. o
CC [m]/tmp/vmware-root/modules/vsock-only/Linux/util. o
CC [m]/tmp/vmware-root/modules/vsock-only/driverlog. o
LD [m]/tmp/vmware-root/modules/vsock-only/vsock. o
Building modules, stage 2.
Modpost 1 modules
CC/tmp/vmware-root/modules/vsock-only/vsock. Mod. o
LD [m]/tmp/vmware-root/modules/vsock-only/vsock. Ko
Make [1]: Leaving directory '/usr/src/linux-headers-3.2.0-23-generic'
Make-C $ PWD srcroot = $ PWD /.\
Modulebuilddir = postbuild
Make [1]: Entering the directory '/tmp/vmware-root/modules/vsock-only'
Make [1]: "postbuild" is the latest.
Make [1]: leaving the directory '/tmp/vmware-root/modules/vsock-only'
CP-F vsock. ko ../vsock. o
Make: Leave the directory "/tmp/vmware-root/modules/vsock-only"
Built vsock Module
Starting VMware services:
Virtual Machine monitor done
Virtual Machine Communication Interface done
VM communication interface socket family done
Blocking file system done
Virtual ethernet done
VMware authentication daemon done
Shared memory available done

All done, you can now run vmware workstation.
Modules sources backup can be found in the '/usr/lib/vmware/modules/source-workstation8.0.2-2012-06-14-09: 49: 26-Backup' directory
Luozhuang @ Ubuntu :~ $

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.