摘要: 1. 安裝vnc
rpm -ivh vnc-server-4.1.2-14.el5_3.1.i386.rpm
rpm -ivh vnc-4.1.2-14.el5_3.1.i386.rpm
3. 設置vnc server的訪問密碼
[ann@ecdev1 ~]# vncpasswd
3. 執行vncserver,第一次執行后會生產一些配置文件
4. 修改/home/ann/.vnc/xstart(如果無此文件,就運行vncserver)
#!/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/xsta
閱讀全文
posted @
2010-05-19 09:49 冰是沒有未來的,因為它的永恒|
編輯 收藏
摘要: I tried the Build and Deployment tool in Commerce version 7. I followed the tutorial for the same found here:
http://publib.boulder.ibm.com/infocenter/wchelp/v7r0m0/topic/com.ibm.commerce.developer.doc/concepts/cdewcbdbuild.htm
When I start the build process it extracts the projects from the CVS successfully, but while buildingarchiving the ejb jar the build fails with the following error:
java.io.IOException: Cannot run program "D:\Programs\RAD75\SDP\runtimes\base_v7\java\jre\b
閱讀全文
posted @
2010-05-17 10:56 冰是沒有未來的,因為它的永恒|
編輯 收藏
摘要:
SQL like子句的另一種實現方法,速度比like快
一般來說使用模糊查詢,大家都會想到LIKE
select * from table where a like '%字符%'
如果一個SQL語句中用多個 like模糊查詢,并且記錄條數很大,那速度一定會很慢。
下面兩種方法也可實現模糊查詢:
select * from table where patindex('%字符%',a)>0
select * from table where charindex('字符',a)>0
經測試這兩種方法比LIKE速度要快。
閱讀全文
posted @
2010-05-04 12:58 冰是沒有未來的,因為它的永恒|
編輯 收藏