vmware player 3.0 configure network interface mapping

十月 30, 2009

vmware player 3.0 released on 2009/10/27. This version allow users to create new virtual machines in vmware player. In previous version, this function is only available in vmware server. By the way, when I used the vmware player 2.x series, I created a new virtual machine through Eazyvmx web site.

I downloaded this version yesterday, and I found that there was a vmnetcfg.exe in previous version, but this program do not present in vmware player 3.0. vmnetcfg.exe is a utility that users can use to configure the vmware bridge interface would map to which interface in host OS. This is very useful in the situation that you have multiple network interfaces installed in your host OS.

Actually, the vmnetcfg.exe is included in the vmware player installation package, but you need to know some tip to extract this program from the package. This discussion provide detail steps. thanks the guy ascella provides this method.

1. Run the installer with /e option. For example:
VMware-player-3.0.0-197124.exe /e .\extract
All contents will be extracted to “extract” folder.

2. Open “network.cab” and copy vmnetcfg.exe to your installation folder,
typically “C:\Program Files\VMware\VMware Player\”.


如何預先 compile jsp page

六月 23, 2009

有時候在進行程式 debug 的時候,會想先進行 jsp page precompile ,先得知是否有錯誤,修正錯誤之後,才正式的執行 jsp 程式。

可能各家不同的 jsp container 會有不同的方式可以預先 compile jsp page,但是在 JAVA Servlet 的標準中,提到可以在 jsp page 後面加上 jsp_precompile 這個參數,讓 container compile jsp page,但是不執行 jsp 程式。

例如:

http://localhost:8080/test.jsp?jsp_precompile


open pcman search plugin(badongo,tr.im,google,google-scholar)

一月 11, 2009

我修改了一下之前網路上從Mozilla Taiwan 討論區: Search Plugin:Badongo短網址還原下載回來的 plugin, 原本不能顯示的圖示,將圖示格式格為 gif 之後,現在可以顯示了。

另外,製作了 http://tr.im/ 短網址的 search plugin,可以在下面的網址中下載,此外,順便更新了 google search plugin 的圖示,因為最近google 將網站的 icon 更新了。

使用的方式為打開檔案總管到 open pcman 的安裝目錄,以我的電腦上為例,是放在 C:\Program Files\Open PCMan\searchplugins ,再來只要將下載回來的 .xml 檔案放在放個目錄中,重開 open pcman 就可以了。

badongo.xml
google-scholar.xml
google.xml
tr.im.xml