« 使用 sshguard 保護 OpenSSH 服務器 | 首頁 | PengYou Project 安裝備忘 »

2007年03月28日

在 Fedora Core 6 安裝 VMware Server

環境

安裝需求套件

yum install kernel-devel xinetd

yum groupinstall "Development Libraries" "Development Tools"

安裝 VMware Server 1.0.2

下載 VMware Server (VMware Server 1.0.2 for Linux Systems Binary - tar.gz)

tar zxf VMware-server*.tar.gz

cd vmware-server-distrib/lib/modules/source

tar xf vmmon.tar

vi vmmon-only/include/compat_kernel.h

將第 21 行的 static inline _syscall1(int, compat_exit, int, exit_code); 改成:

#if LINUX_VERSION_CODE < KERNEL_VERSION(2,6,20)

static inline _syscall1(int, compat_exit, int, exit_code);

#endif

注意: KERNEL_VERSION 括弧中的數字是以逗號隔開

tar cf vmmon.tar vmmon-only

rm -rf vmmon-only

cd ../../../

./vmware-install.pl

過程中皆按 Enter 接受預設值

填寫註冊資料以取得產品啟用序號 (免費)

實作: 在 VMware Server 安裝 Windows 2000 Advanced Server

  1. 於 FC6 GNOME 桌面點選 Applications -> System Tools -> VMware Server Console
  2. Create a new virtual machine
  3. Virtual Machine Configuration: Typical, Next
  4. Guest Operation System: Microsoft Windows -> Windows 2000 Advanced Server, Next
  5. Network Connection: Use bridged networking, Next
  6. Disk Size: 2.0 GB (or any size you like), Finish
  7. 將 Windows 2000 Advanced Server 光碟片置入光碟機中, 或雙擊 CD-ROM 項目, 指定光碟映象檔 (.iso) 所在位置
  8. Power on this virtual machine, 開始安裝. (bridge mode: IP 位址與 FC6 同網段)

完成後, Fedora Core 6 Linux 除了原有的 Linux 服務之外, 也能提供 Windows 2000 Server 的網路服務, 一台當兩台用

ps. 滑鼠游標脫離 Virtual Host 視窗: Ctrl + Alt


參考資料


附錄 - 急性結膜炎第 15 天紀念 - 視力模糊中

沒想到 Windows 的 "超大型字" 真的派上用場了

  • Fedora Core 6 GNOME Desktop + Beryl
    • gnome-terminal font size: increase=Ctrl+Shift+"="; decrease=Ctrl+"-"
    • Beryl: zoom-in=<Super>+ScrollUp; zoom-out=<Super>+ScrollDown
      ps. Super 鍵 = 微軟視窗鍵
  • Windows 2000 Professional
    • 控制台→顯示→外觀→配色→Windows標準配色(超大型字)
    • 開始→程式集→附屬應用程式→協助工具→放大鏡
  • Firefox & Internet Explorer 7
    • Font size: increase=Ctrl+"+"; decrease=Ctrl+"-"; normal=Ctrl+"0"

Posted by Jamyy at 2007年03月28日 14:29

Trackback Pings

TrackBack URL for this entry:
http://cha.homeip.net/cgi-bin/mt/mt-tb.cgi/266

Comments

將第 21 行的 static inline _syscall1(int, compat_exit, int, exit_code); 改成:
注意: KERNEL_VERSION 括弧中的數字是以逗號隔開

請問要設成什麼 不好意思 看不太懂

Posted by: 拉拉 at 2007年04月06日 21:45

呵, 不好意思, 排版有點錯亂
現在已經調整好了 :P

Posted by: Jamyy at 2007年04月07日 21:05

Fantastico. Great Tip. Thanks

Posted by: Sergi at 2007年04月17日 03:01

Jamyy你好!
我是前幾天打擾你的jimmy
為了解決網路卡的問題
我重新安裝FC6
很高興已經解決網路卡的問題
可是卻發現另一個問題
我有兩台電腦其中一台
在安裝完FC6後第一次的開機
電腦停在
yum-updatesd:
我等了一小時還是沒動
另一台電腦沒有此問題
不知你是否有遇到類似的情況?

抱歉再次打擾你了
***@contrel.com.tw or ***@msa.hinet.net

Posted by: jimmy at 2007年07月16日 16:31

您好 ,
我使用的環境
* Fedora Core 6 Linux (kernel: 2.6.22.4-45.fc6)
* VMware Server 1.0.3 for Linux
已修改過 static inline _syscall1(int, compat_exit, int, exit_code);
但執行 ./vmware-install.pl 後會出現下訊息 ...不知有那些需要注意的 , 謝謝您 .

CC /tmp/vmware-config6/vmmon-only/vmmon.mod.o
LD [M] /tmp/vmware-config6/vmmon-only/vmmon.ko
make[1]: Leaving directory `/usr/src/kernels/2.6.22.4-45.fc6-i686'
cp -f vmmon.ko ./../vmmon.o
make: Leaving directory `/tmp/vmware-config6/vmmon-only'
Unable to make a vmmon module that can be loaded in the running kernel:
insmod: error inserting '/tmp/vmware-config6/vmmon.o': -1 Invalid module format
There is probably a slight difference in the kernel configuration between the
set of C header files you specified and your running kernel. You may want to
rebuild a kernel based on that directory, or specify another directory.

For more information on how to troubleshoot module-related problems, please
visit our Web site at "http://www.vmware.com/download/modules/modules.html" and
"http://www.vmware.com/support/reference/linux/prebuilt_modules_linux.html".

Execution aborted.

Posted by: Ahsin at 2007年09月17日 16:19

您好 , 我已完成修復 , 只要把 kernel-devel 改為 2.6.22.4-45.fc6-i586 版就可以解決了 . 謝謝

Posted by: Ahsin at 2007年09月17日 17:02

恭喜你解決問題了 :)

Posted by: Jamyy at 2007年09月17日 18:00