fedora 6安裝VMware

Home Home
引用 | 編輯 隨風飛舞
2007-05-07 10:07
樓主
推文 x0
如題...安裝後執行vmware-config.pl後一直跟我要kernel的東東...那a安呢?
希望站上的大大能幫一下忙...感恩

ps.安裝在fedora4沒問題..

獻花 x0
引用 | 編輯 mylinux
2007-05-07 11:06
1樓
  
假如 VMware 不支援您的 Kernel,就須要 Kernel source 來編譯模組(modules),
通常 Kernel source 是置放於 /usr/src/linux 下,沒有的話就安裝此套件,
因為不玩 Fedora,所以不知正確的套件名稱。

獻花 x0
引用 | 編輯 隨風飛舞
2007-05-08 17:19
2樓
  
了解.我再試試看是否沒編譯模組,感謝,有問題再來請教

獻花 x0
引用 | 編輯 bluecat
2007-07-20 13:14
3樓
  
  1. 將 VMware-workstation-5.5.3-34685.tar.gz 複製到 /usr/src//usr/local/src/ /tmp/ 目錄中解壓縮,解壓所後的資料放置於 vmware-distrib/ 目錄底下
  2. 上網至 http://knihovny.cvut.cz/ftp/pub/vmware/ 下載 vmware-any-any-update110.tar.gz 後,複製到 /usr/src//usr/local/src/ /tmp/ 目錄中解壓縮,解壓所後的資料放置於 vmware-any-any-update110/ 目錄底下
  3. 檢查已安裝的 kernel 版本:rpm -qa | grep kernel
  4. 檢查使用中的 kernel 版本:uname -r
  5. 更新 kernel:yum -y update kernel-smp (雙核心或單核但支援Hyper-threading)或 yum -y update kernel (單核心)
  6. 安裝 kernel C headers,編譯 VMware 模組時會用到:yum -y install kernel-smp-devle (雙核心或單核但支援Hyper-threading)或 yum -y install kernel-devel (單核心)
  7. 查詢是否安裝 GNU C compiler:rpm -q gcc;如果沒有則安裝,yum -y install gcc
  8. 查詢是否安裝 GNU C++ compiler:rpm -q gcc-c++;如果沒有則安裝,yum -y install gcc-c++
  9. 執行 vmware-distrib/ 目錄底下的 vmware-install.pl 安裝 VMware,全部按照預設值回答即可,除下列問題回答no「Before running VMware Workstation for the first time, you need to configure it by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this program to invoke the command for you now?[yes]」
  10. 執行 vmware-any-any-update110/ 目錄底下的 runme.pl 重新編譯 VMware,下列問題回答yes「Before running VMware for the first time after update, you need to configure it for you running kernel by invoking the following command: "/usr/bin/vmware-config.pl". Do you want this script to invoke the ommand for you now?[no]」完成安裝程序 [list=1]
  11. 安裝過程如果出現詢問What is the location of the directory of C header files that match your running kernel? [/usr/src/linux/include] 」,但卻出現「The path "user/src/linux/include" is not an existing dirctory. 」時,導致無法正常繼續安裝,則先查詢目前正在執行的 kernel 版本為何。並確定是否有安裝正確的 kernel C headers,kernel-devel 或 kernel-smp-devel
參考資料:
  1. How to install VMware Server on Linux


獻花 x0
引用 | 編輯 mnbmnb5266
2010-08-20 22:43
4樓
  
我也遇到過這類的麻煩可就是不知道如何使用Kernel source 來編譯模組

獻花 x0