Difference between revisions of "VMware"

From Blue-IT.org Wiki

(Created page with "== VMware-Player on Ubuntu == === Ubuntu 17.10 === Due to a [https://askubuntu.com/questions/966585/ubuntu-17-10-upgrade-broke-vmware-workstation-12-5 update bug] vmware-play...")
 
(VMware-Player and VIX API on Ubuntu)
 
(12 intermediate revisions by one other user not shown)
Line 1: Line 1:
== VMware-Player on Ubuntu ==
+
== VMware-Player and VIX API on Ubuntu ==
 +
=== Ubuntu 17.10 ===
 +
In Ubuntu 17.10 you will encounter problems running older versions of vmware-player. Due to a [https://askubuntu.com/questions/966585/ubuntu-17-10-upgrade-broke-vmware-workstation-12-5 update bug] vmware-player won't compile.
  
=== Ubuntu 17.10 ===
+
But I got can confirm, that '''[https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads VMware-player version 14.1.1]''' is working fine.  
Due to a [https://askubuntu.com/questions/966585/ubuntu-17-10-upgrade-broke-vmware-workstation-12-5 update bug] vmware-player won't compile.
 
But I got can confirm, that [https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads version 14.1.1] ist working fine.  
 
  
If you like to use the cli interfaxe VIX with vmware-player (always use '''-T player''' !):
+
If you like to use '''vmrun''' of the cli interfaxe VIX with vmware-player always use it with the parameter '''-T player''':
 
  vmrun -T player ...
 
  vmrun -T player ...
  
you will most likely get the error:
+
If you don't and if you don't perform additional tasks you will most likely get the error:
  
 
  vmrun -T player list
 
  vmrun -T player list
Line 14: Line 14:
 
  > Error: The specified version was not found
 
  > Error: The specified version was not found
  
To get it running with vmware-player perform the following tasḱs:
+
To get it running do the following:
  
 
*  [https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads Download the  VIX API] and install it  
 
*  [https://my.vmware.com/de/web/vmware/free#desktop_end_user_computing/vmware_workstation_player/14_0%7CPLAYER-1411%7Cproduct_downloads Download the  VIX API] and install it  
 
  chmod 755 VMware-VIX*.bundle && sudo ./VMware-VIX*.bundle
 
  chmod 755 VMware-VIX*.bundle && sudo ./VMware-VIX*.bundle
  
* go into super user mode, change to the VIX-directory and alter the  file ''vixwrapper-config.txt'' according to your installed components (vmware-player version). Then rename the folder named ''"Workstation-xx.0.0" according to your vmware-player version: e.g. Workstation-14.0.0. You can therefore lookup the /usr/lib/vmware/
+
* go into super user mode, change to the VIX-directory and alter the  file ''vixwrapper-config.txt'' according to your installed components (vmware-player version).  
 +
 
 
  sudo su
 
  sudo su
 
  cd /usr/lib/vmware-vix
 
  cd /usr/lib/vmware-vix
Line 26: Line 27:
 
  > # Workstation 12.0.0
 
  > # Workstation 12.0.0
 
  > #ws          19  vmdb  12.1.1 Workstation-12.0.0
 
  > #ws          19  vmdb  12.1.1 Workstation-12.0.0
  > #player   19  vmdb  12.1.1 Workstation-12.0.0
+
  > #player     19  vmdb  12.1.1 Workstation-12.0.0
  > ws         19  vmdb  14.1.1 Workstation-14.0.0
+
  > ws           19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
  > player   19  vmdb  14.1.1 Workstation-14.0.0
+
  > player       19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
 
 
mv Workstation-12.0.0 Workstation-14.0.0
 
  
 
Voilá:  
 
Voilá:  
Line 38: Line 37:
  
 
P.S.: remember: using ''vmrun'' with ''vmware-player'' always needs the parameter '''-T player'' to work!!!
 
P.S.: remember: using ''vmrun'' with ''vmware-player'' always needs the parameter '''-T player'' to work!!!
 +
 +
== Troubleshooting ==
 +
=== Kernel modules not installed ===
 +
sudo vmware-modconfig --console --install-all
 +
 +
 +
[[Category:Virtualisation]]
 +
[[Category:VMware]]
 +
[[Category:Ubuntu]]

Latest revision as of 21:18, 5 April 2018

VMware-Player and VIX API on Ubuntu

Ubuntu 17.10

In Ubuntu 17.10 you will encounter problems running older versions of vmware-player. Due to a update bug vmware-player won't compile.

But I got can confirm, that VMware-player version 14.1.1 is working fine.

If you like to use vmrun of the cli interfaxe VIX with vmware-player always use it with the parameter -T player:

vmrun -T player ...

If you don't and if you don't perform additional tasks you will most likely get the error:

vmrun -T player list
> Unable to connect to host.
> Error: The specified version was not found

To get it running do the following:

chmod 755 VMware-VIX*.bundle && sudo ./VMware-VIX*.bundle
  • go into super user mode, change to the VIX-directory and alter the file vixwrapper-config.txt according to your installed components (vmware-player version).
sudo su
cd /usr/lib/vmware-vix
vim vixwrapper-config.txt

> # Workstation 12.0.0
> #ws          19  vmdb  12.1.1 Workstation-12.0.0
> #player      19  vmdb  12.1.1 Workstation-12.0.0
> ws           19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1
> player       19  vmdb  14.1.1 Workstation-12.0.0 # if you installed Player 14.4.1

Voilá:

vmrun -T player list
> Total running VMs: 1
> /virtualmachines/Vmware/myMachine

P.S.: remember: using vmrun with vmware-player always needs the parameter '-T player to work!!!

Troubleshooting

Kernel modules not installed

sudo vmware-modconfig --console --install-all