admin 发表于 2019-11-20 19:08:35

linux内核过高导致vm打开出错修复脚本

#!/bin/bash
VMWARE_VERSION=workstation-15.1.0
TMP_FOLDER=/tmp/patch-vmware
rm -fdr $TMP_FOLDER
mkdir -p $TMP_FOLDER
cd $TMP_FOLDER
git clone https://github.com/mkubecek/vmware-host-modules.git
cd $TMP_FOLDER/vmware-host-modules
git checkout $VMWARE_VERSION
git fetch
make
make install
rm/usr/lib/vmware/lib/libz.so.1/libz.so.1
ln -s/lib/x86_64-linux-gnu/libz.so.1
/usr/lib/vmware/lib/libz.so.1/libz.so.1
/etc/init.d/vmware restart

nihaota 发表于 2022-10-31 02:48:38

好好好好好好好好好好好好好好好好好顶
页: [1]
查看完整版本: linux内核过高导致vm打开出错修复脚本