在虚拟机软件中,vmware player是对硬件支持很好的,通过它可以很方便的使用网银、单片机开发等等工作。但是最近ubuntu每次升级内核后,vmware都会启动失败,提示:Before you can run VMware, server modules must be compiled and loaded into the running kernel(Kernel headers for version 3.8.0-25-generic were not found)
这时需要重新编译一遍即可解决:
sudo apt-get install linux-headers-`uname -r`
sudo vmware-modconfig --console --install-all --appname="VMware Player" --icon="vmware-player"