想看點(diǎn)關(guān)于cluster的理論教材的,
看到Distributed Systems Concepts And Design,
而且書評(píng)也不錯(cuò),于是就買了.
沒想到講了一堆什么TCP/IP,ATM, 路由,轉(zhuǎn)換之類的,都是
我不感興趣的內(nèi)容,好無(wú)聊嘎.雖然好像有章節(jié)講到cluster,
不過(guò)貌似在很后面和后面的樣子,要經(jīng)過(guò)好多無(wú)聊的章節(jié):(
放下書后又看了一下頁(yè)數(shù),天:(,800多頁(yè),那么每一章節(jié)都要是
又臭又長(zhǎng),有許多boring的內(nèi)容了..
還有抱怨一句,可能是由于影印版的關(guān)系,里頭的每節(jié)的heading,
以及圖里頭的一些塊的顏色,都是淺色,根本看不清楚。我想原書
這些應(yīng)該是來(lái)強(qiáng)調(diào)的吧,不過(guò)被影印了之后,反倒
需要更加費(fèi)力的看,根本達(dá)不到強(qiáng)調(diào)的效果了。
另,可憐的blogdriver為什么上不去了,一連就成tomcat的默認(rèn)頁(yè)面樣子?..
以前用過(guò)一次Norton Goback,整個(gè)恢復(fù)時(shí)間持續(xù)兩小時(shí),太慢了,要比Norton Ghost的恢復(fù)麻煩多了.
昨天機(jī)器慢,又想重裝,發(fā)現(xiàn)可以restore的時(shí)間點(diǎn)就剩下最近的兩個(gè)了,之前的都沒有了,
我的天,那不是沒有用么.
本來(lái)Norton Ghost,一個(gè)光驅(qū)+win98安裝盤就是一個(gè)完美的備份恢復(fù)解決方案,可惜的是
公司沒有光驅(qū),導(dǎo)致這種方案不能用。
另外一種方案就是一個(gè)盤上裝上主操作系統(tǒng)如winxp,另一個(gè)盤裝上win98,雙啟動(dòng),
然后可以用win98進(jìn)來(lái)作恢復(fù)。這種就是針對(duì)沒光驅(qū)的恢復(fù)方案,不過(guò)需要一開始
裝系統(tǒng)的時(shí)候就裝成這樣。
explorer /select, $FilePath$
(from webwork in action).webwork in action的源代碼建立了crudStack簡(jiǎn)化crud編程,
而書中也提到了如何建立直接從ide跑resin.
Alternatively, you can set up a Servlet container’s main method to be executed
directly like any other application and pass it the configuration information it
needs to automatically pick up your web application. For example, to set up
Resin 2.1 from Caucho (
www.caucho.com) as a standalone application pointing
to a project-specific configuration file, you would set parameters as follows:
Setting up your environment 387
■ Main class—com.caucho.server.http.HttpServer
■ VM parameters—-Dresin.home=. -Xdebug -Xnoagent -Djava.compiler=NONE
-Xrunjdwp:transport=dt_socket,server=y,suspend=n,address=12345
■ Program parameters—-conf resin.xml
■ Working directory—Root directory of your project
■ Classpath—Classpath of your project plus the Resin JARs