分別測了 CentOS 6 和 7,裝好 CentOS 後,執行下列指令,以便順利安裝 Vmware Workstation Server。
yum update
yum groupinstall "GNOME Desktop"
systemctl set-default graphical.target
重新開機後,繼續安裝發展工具,以便裝 kernel module。yum groupinstall "Development tools"
yum install kernel-headers
yum install kernel-devel
yum install epel-release
yum groupinstall xfce
chmod +x VMware-Workstation-Full-10.0.6-2700073.x86_64.bundle
./VMware-Workstation-Full-10.0.6-2700073.x86_64.bundle
==> 在 CentOS 7 下,無法執行,因為改成 systemd 的管理
vmware-installer -u vmware-workstation
# cat /usr/lib/vmware/hostd/docroot/client/clients.xml
<ConfigRoot>
<clientConnection id="0000">
<authdPort>902</authdPort>
<version>6</version>
<exactVersion>6.0.0</exactVersion>
<patchVersion>1.0.0</patchVersion>
<apiVersion>dev</apiVersion>
<downloadUrl>@@HOSTCLIENT_URL_WIN@@</downloadUrl>
<flexClientVersion>6.0.0</flexClientVersion>
</clientConnection>
</ConfigRoot>
==> 在 CentOS 7 下,無法執行,因為改成 systemd 的管理
vmware-installer -u vmware-workstation
# cat /usr/lib/vmware/hostd/docroot/client/clients.xml
<ConfigRoot>
<clientConnection id="0000">
<authdPort>902</authdPort>
<version>6</version>
<exactVersion>6.0.0</exactVersion>
<patchVersion>1.0.0</patchVersion>
<apiVersion>dev</apiVersion>
<downloadUrl>@@HOSTCLIENT_URL_WIN@@</downloadUrl>
<flexClientVersion>6.0.0</flexClientVersion>
</clientConnection>
</ConfigRoot>
# chkconfig --list
Note: This output shows SysV services only and does not include native
systemd services. SysV configuration data might be overridden by native
systemd configuration.
If you want to list systemd services use 'systemctl list-unit-files'.
To see services enabled on particular target use
'systemctl list-dependencies [target]'.
netconsole 0:off 1:off 2:off 3:off 4:off 5:off 6:off
network 0:off 1:off 2:on 3:on 4:on 5:on 6:off
vmware 0:off 1:off 2:on 3:on 4:off 5:on 6:off
vmware-USBArbitrator 0:off 1:off 2:on 3:on 4:off 5:on 6:off
vmware-workstation-server 0:off 1:off 2:on 3:on 4:off 5:on 6:off
參考
https://slackblogs.blogspot.com/2015/04/vmware-workstation-10-on-linux-kernel.html
cp /usr/lib/vmware/modules/source/vmnet.tar /usr/lib/vmware/modules/source/vmnet_org.tar
tar xvf /usr/lib/vmware/modules/source/vmnet_org.tar
vi vmnet-only/netif.c
vmnet-only/netif.c:468:7:
- dev->trans_start = jiffies;
+ netif_trans_update(dev);
vmware-modconfig --console --install-all
vmnet-only/netif.c:464:7: error: ‘struct net_device’ has no member named ‘trans_start’
dev->trans_start = jiffies;
https://www.visibil.it/blog/2017/10/5/vmware-workstation-12-and-centos-7
https://www.unixmen.com/install-vmware-10-centos-7/
https://stackoverflow.com/questions/24921593/installation-of-vmware-workstation-10-0-1-on-centos-7
http://www.voidcn.com/article/p-ofiwnxuj-bmb.html
https://communities.vmware.com/thread/484273
vmware-modconfig --console --install-all
在 CentOS 7
目的,想用 ESXi client 來連
12 可以連上,必須用一般使用者身分
11
Vmware workstation 可以連上,netif.c 要改,exactVersion>6.0.0</exactVersion
ESXi client 不能連
32 bit guest 可以開,64 bit guest 不能開機
10
vmware-workstation-server 無法啟動,netif.c 要改
https://www.unixmen.com/install-vmware-10-centos-7/
https://stackoverflow.com/questions/24921593/installation-of-vmware-workstation-10-0-1-on-centos-7
http://www.voidcn.com/article/p-ofiwnxuj-bmb.html
https://communities.vmware.com/thread/484273
vmware-modconfig --console --install-all
在 CentOS 7
目的,想用 ESXi client 來連
12 可以連上,必須用一般使用者身分
11
Vmware workstation 可以連上,netif.c 要改,exactVersion>6.0.0</exactVersion
ESXi client 不能連
32 bit guest 可以開,64 bit guest 不能開機
10
vmware-workstation-server 無法啟動,netif.c 要改