2010年2月4日 星期四

在 Oracle Enterprise Linux 和 iSCSI 上構建您自己的 Oracle RAC 集群(1~3)

在 Oracle Enterprise Linux 和 iSCSI 上構建您自己的 Oracle RAC 集群
在 Oracle Enterprise Linux 和 iSCSI 上構建您自己的 Oracle RAC 集群(2)
在 Oracle Enterprise Linux 和 iSCSI 上構建您自己的 Oracle RAC 集群(3)

密文........

試試AES 加密法囉,
剛看了一下原檔......好像是用AES 256bit..??

w7NawqLCmCYBITAhITAhLeiqneednOeZusKXw6cCBOmCgOeqq+WJluWsjuaWquW/kemApOaZo+W8jS3kuKTlprPvv4flmajngrbpgpXop4/nlYTli6jliIvkuKvnmq7mlp/nq5HmioXogaUt5Yme5a6IwqvDoD0X5bmr5pyh5oub6IeT5bWd5Luk5p+n5b2m6Kqj5a6kLeeivOWXlMOY5ZC+

這種方式其實滿麻煩的....
內文不能隨時更改,產生之後就固定了,要重寫只能重新到
http://app.piipo.com/encrypt-post/
這個地方重新產生...

但好處是安全....也應該沒什麼cracker會對這種小東西有興趣吧....XD

另外再加一個龍邦鞋業的GPS點
wpfDtsK1wpgmASEwISEwIS09wodBBMO4w5Yqw7wuKsKGbkovGcKfLT7ClcKlKg==

2010年2月3日 星期三

[原創] 在Linux 下使用VNC server,並使其登入時使用 Runlevel 5 (KDE or Gnome)

先使用 vncpasswd 修改 vnc登入的密碼

接著使用 vncserver,將出現類似指令

[root@rhel5 .vnc]# vncserver
xauth:  creating new authority file /root/.Xauthority

New 'rhel5:1 (root)' desktop is rhel5:1

Starting applications specified in /root/.vnc/xstartup
Log file is /root/.vnc/rhel5:1.log

不過當你使用vncviewer去登入時,發現卻只有xterm這個醜醜的畫面,
當如何修改呢???

直接修改

~/.vnc/xstartup
會看到
#!/bin/sh

# Uncomment the following two lines for normal desktop:
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
twm &

看到最後一行
twm &    了嗎?
只要將這行mark或刪除,直接在最底下加入

startx &
另外再把
# unset SESSION_MANAGER
# exec /etc/X11/xinit/xinitrc
這兩行前面的"#"拿掉
總體會變成這樣:
#!/bin/sh

# Uncomment the following two lines for normal desktop:
 unset SESSION_MANAGER
 exec /etc/X11/xinit/xinitrc

[ -x /etc/vnc/xstartup ] && exec /etc/vnc/xstartup
[ -r $HOME/.Xresources ] && xrdb $HOME/.Xresources
xsetroot -solid grey
vncconfig -iconic &
xterm -geometry 80x24+10+10 -ls -title "$VNCDESKTOP Desktop" &
startx &
 
那麼先將你剛剛已經開啟的vncserver先用這個指令刪除
#vncserver -kill :1
 
再重新啟動vncserver
#service vncserver restart
接著啟動vncserver的display 1 ,然後再重連一次vncserver...結果自己看囉
#vncserver 
 

2010年1月31日 星期日

海のものともや山のものともわからない.....

可11:24-『凡你們禱告祈求的,無論是什麼,只要信是得著的,就必得著。』
 
但人又何嘗不是用自己的希望,認為神該用什麼方式賞我們什麼
殊不知神會用人從未聽見、從未看到、從未想到的方式,使我們得著我們該得著的東西
如同這句日語說的....... 
海のものともや山のものともわからない
"不是山產、也不是海產......我不能預見"
 
neither fish nor fowl, cannot be foreseen.
山產?海產?不都是收穫嗎?
那麼人為什麼堅持我們不知道堅持為何的結果呢??
 

2010年1月22日 星期五

The detailed introduction of Taiwan(1)

Figure 1 (The view from my apartments of Hsinchu city)



I would like to take the pictures about our country.

Not just introduce the well-known beauty spots or famous food to other people. I want to introduce Taiwanese's true life to the foreigner who wants to visit Taiwan for a long stay.

Every time I see the introduction about Taiwan, All are about our famous food. However, we won't eat the famous food every day, we may just take some food in the neighborhood.

For example, every one who lives in Hsinchu, they know the City God Temple have many popular and famous foods, but even me, working in my company wherr is near ChengHuang Temple, we will not choose ChengHuang Temple to be our lunch place.

After I ask some people, I got the same answer, the ChengHuang Temple is like open for the visitors , the people whose real life in Hsinchu, they seldom went to ChengHuang Temple.

I believe many visitors or foreigners miss the "Real life" in Taiwan,  maybe  it's our problem, the book or magazine only introduces the well-known beauty spots or famous food, Our and our English tour guides are  too less, or maybe, it's because we live in our place too long to rember some beautiful things or places we've already seen or been there.

So I hope this blog can be a good blog that introduces our true life to visitors and foreigners.

2010年1月14日 星期四

Walter 我支持Google....絕非以退為進...這是難得糊塗的大智慧...

很多新聞發表.....

Google聲稱要退出中國市場,是以退為進對中國大陸政府進行逼宮

也有很多人說
DO NO EVIL 其實是很無聊的信條

但就我看來,地球運作模式早以因"經濟"二字在轉動,
所有的人類活動除了慈善工作,絕大部份都是因為"經濟"& "尋求獲利"在運轉,

Google當時配合中國政府做搜索結果屏蔽,據說當時Google高層有開會向公司員工解釋
Walter我猶記得有些人在網路上或BBS站:PTT上還是酸文不停,
甚至以子之矛攻子之盾,說:"Do No Evil" is a Joke
當時我只覺得.....I don't think so.

事實至今也證明,Google的信條及其精神還是存在,
Google大可不必冒著大不諱的禁忌去挑戰中國政府,先踩痛了中國政府的腳,這對中國來說是最不能接受的事,俗稱的"他們不一定吃軟,但一定不吃硬"
 所以有人說Google這樣的表態是以退為進,是對中國政府逼宮,這樣的看法及說法是太過權謀且不了解Google企業文化的,更是低估了Google經營團隊的智商,難道他們不懂中國政府不可能對這種事情友善回應嗎?有可能嗎?

地球是因為經濟二字在轉動沒錯,但不代表因為經濟活動,所以全世界所有人類都需對經濟低頭,包括以前的Time Warner Cinemas、 eBay、Giordano,都曾因不肯低頭而退出中國市場

你說這些CEO及高層真傻嗎?"放棄大陸等於放棄半個未來 " 這句話時有所聞,
但同樣身為華文人口,我卻對Google有著無窮的敬意,你說他們真糊塗,是的,在這件事上,沒錯。

難得胡塗是需要勇氣、智慧、犧牲來達成
請你舉出同時擁有三者的企業?


Google....Good job.
或許這篇文章一出,對岸的憤青又要來洗版了,

但我只想說...正義不敗,若要人不知,除非己莫為
套句張學友有部電影的台詞
這世上有兩種東西用錢買不到,一個是正義,一個是老子不願意

再大的經濟體也敵不過正義公理以及民心,歷史上有多少帝國由極盛快速轉為極衰?歷史早已給了證明.....

附上官方的文章
Official Google Blog: A new approach to China