linux vmware

 

 VM for Linux 版本的安裝步驟:

下面鏈接下載VM程序包 :

https://www.vmware.com/products/workstation-pro/workstation-pro-evaluation.html

安裝VMware Workstation for Linux,文件是Bundle格式,安裝步驟如下: 

第一步:先獲取權限(權限更改為:可執行)

sudo chmod +x VMware-Workstation-Full-7.1.3-324285.x86_64.bundle

第二步:執行安裝
./VMware-Workstation-Full-7.1.3-324285.x86_64.bundle

第三步:圖形安裝界面出來了 

 

troubleshooting

16.2.4

 VMWARE 的 kernel module 簽名。

"Cannot open /dev/vmmon: No such file or directory" error when powering on a VM (2146460)

vm-tools

[[email protected] signed-modules]# dnf -y install open-vm-tools-desktop
Last metadata expiration check: 0:44:44 ago on Mon 03 Jan 2022 03:35:32 AM PST.
Package open-vm-tools-desktop-11.3.0-2.fc35.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!
[[email protected] signed-modules]# 
[[email protected] signed-modules]# dnf -y install open-vm-tools
Last metadata expiration check: 0:44:50 ago on Mon 03 Jan 2022 03:35:32 AM PST.
Package open-vm-tools-11.3.0-2.fc35.x86_64 is already installed.
Dependencies resolved.
Nothing to do.
Complete!


$ vmware-modconfig --appname="VMware Workstation" --icon="vmware-workstation"

 

 

apt-get install linux-headers-5.18.0-kali-amd64

~$ uname -srm
Linux 5.13.0-35-generic x86_64

~$ uname -r
5.13.0-35-generic

~$ echo linux-headers-$(uname -r)
linux-headers-5.13.0-35-generic

 

~$ dpkg-query -s linux-headers-$(uname -r)
Package: linux-headers-5.13.0-35-generic
Status: install ok installed
Priority: optional
Section: devel
Installed-Size: 23974
Maintainer: Ubuntu Kernel Team <[email protected]>
Architecture: amd64
Source: linux-hwe-5.13
Version: 5.13.0-35.40~20.04.1
Provides: linux-headers, linux-headers-3.0
Depends: linux-hwe-5.13-headers-5.13.0-35, libc6 (>= 2.22), libelf1 (>= 0.142), libssl1.1 (>= 1.1.0), zlib1g (>= 1:1.2.3.3)
Description: Linux kernel headers for version 5.13.0 on 64 bit x86 SMP
 This package provides kernel header files for version 5.13.0 on
 64 bit x86 SMP. .
 This is for sites that want the latest kernel headers.  Please read
 /usr/share/doc/linux-headers-5.13.0-35/debian.README.gz for details.
 

 

值得說明的是,我發現

sudo apt install linux-headers-generic

sudo apt-get install linux-headers-$(uname -r)

會安裝不同版本的頭文件,如下,

~$ sudo apt install linux-headers-generic
...
將會同時安裝下列軟件:
linux-headers-5.4.0-104 linux-headers-5.4.0-104-generic
下列【新】軟件包將被安裝:
linux-headers-5.4.0-104 linux-headers-5.4.0-104-generic linux-headers-generic
...
您希望繼續執行嗎? [Y/n] n

~$ sudo apt install linux-headers-$(uname -r)
...
linux-headers-5.13.0-35-generic 已經是最新版 (5.13.0-35.40~20.04.1)。
linux-headers-5.13.0-35-generic 已設置爲手動安裝。
升級了 0 個軟件包,新安裝了 0 個軟件包,要卸載 0 個軟件包,有 0 個軟件包未被升級。

這兩個指令的不同之處在於,下面的指令

sudo apt install linux-headers-generic
sudo apt install --reinstall linux-headers-generic

會自動安裝並升級你的內核頭文件,而

apt install linux-headers-$(uname -r)

這個指令不會升級你的頭文件。

 

 

Linux如何查看內核版本並安裝內核頭文件linux-headers-generic

 

https://askubuntu.com/questions/1096052/vmware-15-error-on-ubuntu-18-4-could-not-open-dev-vmmon-no-such-file-or-dire



發表評論
所有評論
還沒有人評論,想成為第一個評論的人麼? 請在上方評論欄輸入並且點擊發布.
相關文章