2012年11月10日

          security processing failed with reason 15 (解決DB2 9.5.2中用戶(hù)認(rèn)證的問(wèn)題(SQL30082N))

          Just for a note! 
          Reference: http://blog.csdn.net/thinkhy/article/details/4122427

          posted @ 2012-11-10 17:33 Alicus 閱讀(913) | 評(píng)論 (0)編輯 收藏

          How to adjust the screen resolution for Ubuntu Server in VMware

          1. vi /etc/default/grub 
          2. modify the value of GRUB_CMDLINE_LINUX parameter , Ex : GRUB_CMDLINE_LINUX="vga=0x317".
              Before changing it, backup orginal value is recommended.
          3. there are some values for reference . 
                 |  640x480  800x600  1024x768 1280x1024
          ----  | --------------------------------------
          256  |  0x301     0x303      0x305      0x307
          32k  |  0x310     0x313      0x316      0x319
          64k  |  0x311     0x314      0x317      0x31A
          16M |  0x312     0x315       0x318     0x31B
          4. $sudo update-grub
          5. $sudo reboot

          Good luck to you!
          Reference: http://blog.csdn.net/weilanxing/article/details/7664324

          posted @ 2012-11-10 16:18 Alicus 閱讀(455) | 評(píng)論 (0)編輯 收藏

          Ubuntu12.4 Server Install vsftpd

          First step : sudo apt-get install vsftpd 
          Second step  :  sudo vi /etc/vsftpd.conf
          when you open the vsftpd.conf, make the following changes:
          1. uncomment :  local_enable=YES
          2. uncomment :  chroot_local_user=YES
          3. uncomment :  write_enable=YES 

          After above steps, please restart vsfptd service as follows: sudo /etc/init.d/vsftpd restart 

          Q&A:
          Q1. 500 OOPS: vsftpd: refusing to run with writable root inside chroot()
          A1: 1. edit the file /etc/vsftpd.conf ,
                2. uncomment  chroot_local_user=YES 、 chroot_list_enable=YES 、 chroot_list_file=/etc/vsfptd.chroot_list
                3. edit /etc/vsfptd.chroot_list file, then input the ftp login account like ftpuser, save and exit.
                4. restart your vsftpd service.

          Hope it will be helpful to you !

          posted @ 2012-11-10 15:11 Alicus 閱讀(1425) | 評(píng)論 (0)編輯 收藏

          2012年11月3日

          The solution for "Could not get lock /var/lib/apt/lists/lock - open"

              In Linux, you always wanna to use command: sudo apt-get update to update source list.
              But if one of terminal doesn't finish updating, and then you execute another same command : sudo apt-get update,
          it will has the error message like the following :
          Error output:
              alicus@ubuntu:~$ sudo apt-get update
              E: Could not get lock /var/lib/apt/lists/lock - open (11: Resource temporarily unavailable)
              E: Unable to lock the list directory

          The solution is :    
              Open a new  terminal console, execute command like this : sudo rm /var/cache/apt/archives/lock ( it is that has been locked ).
              
              After that, you are allowed to execute sudo apt-get update again.

              Good luck to you !

          posted @ 2012-11-03 22:51 Alicus 閱讀(435) | 評(píng)論 (0)編輯 收藏

          Ubuntu Install DB2V9.5

          1. Download the DB2V9.5 Software from URL: http://www14.software.ibm.com/webapp/download/search.jsp?pn=DB2+9

          2. Install Prepared Packages:

              shell cmd : sudo apt-get install alien

              shell cmd : sudo apt-get install libstdc++5 ( need update System Sources List — > sudo gedit /etc/apt/sources.list )

               if it still has problem like this : libaio.so.1 is not found, try this command: sudo apt-get install libaio-dev 

              You can see the source list in here : http://forum.ubuntu.org.cn/viewtopic.php?t=268843

              or add the following URLs immediately :

              deb http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse   
              deb-src http://mirrors.163.com/ubuntu/ lucid main universe restricted multiverse
              deb http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
              deb-src http://mirrors.163.com/ubuntu/ lucid-security universe main multiverse restricted
              deb http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted
              deb http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
              deb-src http://mirrors.163.com/ubuntu/ lucid-proposed universe main multiverse restricted
              deb http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
              deb-src http://mirrors.163.com/ubuntu/ lucid-backports universe main multiverse restricted
              deb-src http://mirrors.163.com/ubuntu/ lucid-updates universe main multiverse restricted

          3. change a root account's password as the default root's password is random :

              shell cmd : sudo passwd root

              please input the root password

              shell cmd : su root  (change current account to root)

          4. access to db2 install folder,input the command: ./db2setup to install

          5. When the install page popped, choose the options you want.

          6. use db2 account to login :

              shell cmd : su –login db2inst1

              password : db2inst1

          QA:

          1. when you use cmd: su — login db2inst1  to login, then you input db2cc ,it will have errors like following:

              #db2cc
              No protocol specified
              Error: Can not open display

              A:  use root account and then input cmd:  xhost local:db2inst1

          Hope it will be helpful to you !

          posted @ 2012-11-03 21:41 Alicus 閱讀(384) | 評(píng)論 (0)編輯 收藏

          The solution for "Eclipse is running in a JRE, but a JDK is required"

          Open the eclipse folder and access the eclipse.ini file:
          Before changing it ,you will find it don’t have the -vm parameter,so add it.
          vm
          C:\Program Files\Java\jdk1.6.0_10\bin\javaw.exe
          Note: It should be add before the -vmargs parameter.
          See my eclipse.ini, just like this:
           1 -startup
           2 plugins/org.eclipse.equinox.launcher_1.3.0.v20120522-1813.jar
           3 –launcher.library
           4 plugins/org.eclipse.equinox.launcher.win32.win32.x86_1.1.200.v20120522-1813
           5 -product
           6 org.eclipse.epp.package.jee.product
           7 –launcher.defaultAction
           8 openFile
           9 –launcher.XXMaxPermSize
          10 256M
          11 -showsplash
          12 org.eclipse.platform
          13 –launcher.XXMaxPermSize
          14 256m
          15 –launcher.defaultAction
          16 openFile
          17 -vm
          18 C:\Program Files (x86)\Java\jdk1.6.0_17\bin\javaw.exe
          19 -vmargs
          20 -Dosgi.requiredJavaVersion=1.5
          21 -Dhelp.lucene.tokenizer=standard
          22 -Xms40m
          23 -Xmx512m

           

          Wish to be helpful to you!

          Enjoy it!

           

          posted @ 2012-11-03 21:26 Alicus 閱讀(250) | 評(píng)論 (0)編輯 收藏

          灰常灰常經(jīng)典的耍嘴皮子功夫


          ●說(shuō)吧,你是想死呢還是不想活了?
          ●好久沒(méi)有人把牛皮吹的這么清新脫俗了!
          ●你給我滾,馬不停蹄的滾……
          ●人人都說(shuō)我丑,其實(shí)我只是美得不明顯。
          ●無(wú)理取鬧,必有所圖!
          _________________________________________________
          ●天被熬亮了。
          ●不是路不平,而是你不行。
          ●惡心媽媽抱著惡心哭得很傷心,為什么呢?因?yàn)閻盒乃懒?#8230;…
          ●要不是打不過(guò)你,我早就和你翻臉了。
          ●我這心碎得,捧出來(lái)跟餃子餡似的。
          _________________________________________________
          ●沒(méi)人牽手,我就揣兜。
          ●我的興趣愛(ài)好可分為靜態(tài)和動(dòng)態(tài)兩種,靜態(tài)就是睡覺(jué),動(dòng)態(tài)就是翻身…
          ●唉~這人要一沒(méi)正形,連頭痛都是偏的。
          ●我這人不太懂音樂(lè),所以時(shí)而不靠譜,時(shí)而不著調(diào)。
          ●怎么會(huì)突然想哭?難道我也有些逆流成河的小憂(yōu)傷?
          _______________________________________
          ●好漂亮的美女叔叔啊!
          ●我不跟豬摔跤有兩個(gè)原因:首先這讓我自己變得很臟,其次這讓豬很高興。
          ●沒(méi)事偷著樂(lè)是不太可能了,偷著胖還是有點(diǎn)兒希望.
          ●放下屠刀立地成佛的意思是,你放下屠刀的那一刻對(duì)方把你砍成兩瓣兒了。
          ●沒(méi)事可做時(shí),覺(jué)得最累。
          _________________________________________________
          ●李碧華說(shuō)過(guò): 什么叫多余?夏天的棉襖,冬天的蒲扇,還有等我已經(jīng)心冷后你的殷勤。
          ●永遠(yuǎn)年輕,永遠(yuǎn)裝嫩,永遠(yuǎn)不知好歹,永遠(yuǎn)熱淚盈眶。
          ●我爸面對(duì)我發(fā)胖一事發(fā)表了看法:沒(méi)有韓紅的命,還得了韓紅的病。
          ●你來(lái)我信你不會(huì)走,你走我當(dāng)你沒(méi)來(lái)過(guò)。——我們?cè)撨@樣對(duì)待緣分與愛(ài)。
          ●曾以為我是那崖畔的一枝花,后來(lái)才知道,不過(guò)是人海一粒渣。
          _________________________________________________
          ●蕩氣回腸,消化不良。 ­
          ●女人喜歡長(zhǎng)的壞壞的男人,并不是喜歡長(zhǎng)壞了的男人.. ­
          ●麻子不叫麻子,坑人。 ­
          ●江湖險(xiǎn)惡,不行就撤! ­
          ●不敲幾下,你不可能知道一個(gè)人或一個(gè)西瓜的好壞。 ­
          _________________________________________________
          ●孤獨(dú)的人常表現(xiàn)得很堅(jiān)強(qiáng);寂寞的人則多半溫和。 ­
          ●大笑是綻放的微笑。 ­
          ●我的意中人是個(gè)絕色大美女,終于有一天她會(huì)騎著噴火的恐龍來(lái)嫁給我 ­
          的,可是我看見(jiàn)了她的坐騎,卻沒(méi)有看見(jiàn)她的主人。 ­
          ●孤單是一個(gè)人的狂歡,狂歡是一群人的孤單。 ­
          ●雖不安分,也該守己。 ­
          ________________________________________
          ●人不犯我,我不犯人。人若犯我,我就生氣! ­
          ●別逼我,否則我偉大起來(lái),一發(fā)不可收拾。 ­
          ●我們是平凡的人,我們也是特別的人,所以我們是特別平凡的人。 ­
          ●那個(gè)人敢說(shuō)自己純凈?瞧你那眼神就透著渾濁。 ­
          ●沒(méi)有什么比弱者對(duì)強(qiáng)者的鄙視更無(wú)力了。 ­
          _________________________________________________
          ●如有雷同,純屬你抄我 ­●笨鳥(niǎo)先飛,笨豬先肥。 ­
          ●當(dāng)你的眼淚忍不住要流出來(lái)的時(shí)候,睜大眼睛,千萬(wàn)別眨眼,你會(huì)看到世 ­
          界由清晰到模糊的全過(guò)程。 ­
          ●告訴你別逼我,你要是再逼我,我就裝死給你看。 ­
          ●年輕算什么,誰(shuí)沒(méi)年輕過(guò)?你老過(guò)嗎?真是的 ­
          __________________________________________
          ●別用世故的樣子來(lái)武裝自己,它會(huì)水土不服。 ­●解釋就是掩飾,掩飾就是編故事。 ­
          ●所謂門(mén)檻,過(guò)去了便是門(mén),過(guò)不去就成了檻。 ­
          ●陌生阻止你認(rèn)識(shí)陌生的事物,熟悉妨礙你理解熟悉的事物。 ­
          ●人生的悲哀就在于,當(dāng)你想兩肋插刀的時(shí)候,卻只有一把刀。 ­
          ____________________________________________
          ● 如果全是老姜,將是一個(gè)何等辛辣的社會(huì)。 ­
          ● 獅子不會(huì)因?yàn)槁?tīng)到狗吠而回頭。 ­
          ● 水越深,水流越平穩(wěn)。 ­
          ●在你不當(dāng)回事的時(shí)候,一切就好了起來(lái)。 ­
          ● 無(wú)論是國(guó)王還是農(nóng)夫,只要能在自己家里找到安寧,他就是最幸福的人。 ­
          ____________________________________________
          ● 一分錢(qián)一分貨,稀飯吃了不經(jīng)餓. ­
          ● 水壺啊,你為什么哭泣,是因?yàn)槠ü商珷C了嗎? ­
          ● 如果命運(yùn)抓住了伱的喉嚨,伱就撓命運(yùn)嘚胳肢窩。 ­
          ● 攔著成長(zhǎng)的不是幼稚,而是自以為成熟。 ­
          ● 如果命運(yùn)折斷了你的腿,他會(huì)教你如何跛行 ­
          __________________________________________ ­
          ● 打死你我也不說(shuō) ­
          ●左腦全是水,右腦全是面粉,不動(dòng)便罷了,一動(dòng)全是漿糊 ­
          ●掙錢(qián)就像用針掘地,花錢(qián)就像水滲進(jìn)土里。 ­
          ●我也有要去的地方,只是我要去的地方,沒(méi)道路通向那里。 ­
          ●你浪費(fèi)的糧食都會(huì)堵在你去往天堂的路上。 ­
          ______________________________________________
          ●生活是豐富多彩的,但我也有自己的顏色。 ­●如果有一天我失蹤了,只有兩種可能:身體在旅行,或者靈魂在旅行。 ­
          ●讓人格與腦門(mén)一同閃亮。 ­
          ●你的丑和你的臉沒(méi)有關(guān)系。 ­
          ●我從來(lái)沒(méi)有欺騙過(guò)你,因?yàn)槲覐膩?lái)沒(méi)有欺騙你的必要。 ­
          __________________________________________________
          ●我可以選擇放棄,但我不能放棄選擇。 ­
          ●天沒(méi)降大任于我,照樣苦我心志,勞我筋骨。 ­
          ●也許似乎大概是,然而未必不見(jiàn)得。 ­
          ●再過(guò)一百年,就長(zhǎng)成了參天大蔥。 ­
          ●幸福就是當(dāng)你照鏡子的時(shí)候,喜歡你看到的那個(gè)人。

          I wish you will be happy every day!

          posted @ 2012-11-03 21:17 Alicus 閱讀(262) | 評(píng)論 (0)編輯 收藏

          DB2 8.2 9.1 9.5 9.7 下載地址

              由于IBM推廣DB2新版本的原因,導(dǎo)致舊的版本的鏈接被隱藏起來(lái)了。所以本人從網(wǎng)絡(luò)上收集了一些鏈接,以方便有需要的朋友。

              DB2 8.2

              Windows 32位: ftp://public.dhe.ibm.com/ps/products/db2/fixes2/english-us/db2winIA32v8/fixpak/FP18_WR21443/FP18_WR21443_ESE.exe

              DB2 9.1

              Windows 32位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/00vcl/0/v9fp9_win_ese.exe

              Windows 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/00vcw/0/v9fp9_winx64_ese.exe

              Windows 64位 Itanium: http://delivery04.dhe.ibm.com/sar/CMA/IMA/00vj9/0/v9fp9_win64_ese.exe

              Linux 32位 :http://delivery04.dhe.ibm.com/sar/CMA/IMA/00vem/0/v9fp9_linux_ese.tar.gz

              Linux 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/00vft/0/v9fp9_linuxx64_universal_fixpack.tar.gz

              HP unix 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/00ve6/0/v9fp9_hppa_universal_fixpack.tar.gz

              DB2 9.5

              Windows 32位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02bok/1/v9.5fp7_nt32_server.exe

              Windows 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02box/1/v9.5fp7_ntx64_server.exe

              Linux 32位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02bnv/0/v9.5fp7_linuxia32_universal_fixpack.tar.gz

              linux 64 位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02bni/0/v9.5fp7_linuxx64_universal_fixpack.tar.gz

              Aix 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02bmd/0/v9.5fp7_aix64_universal_fixpack.tar.gz

              HP unix 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/02bmr/0/v9.5fp7_hpipf64_universal_fixpack.tar.gz

              DB2 9.7

              Windows 32位: http://delivery04.dhe.ibm.com/sar/CMA/IMA/0152u/1/v9.7fp3a_nt32_universal_fixpack.exe

              Windows 64位: http://delivery04.dhe.ibm.com/sar/CMA/IMA/01534/1/v9.7fp3a_ntx64_universal_fixpack.exe

              Linux 32位: http://delivery04.dhe.ibm.com/sar/CMA/IMA/0152j/1/v9.7fp3a_linuxia32_universal_fixpack.tar.gz

              linux 64 位: http://delivery04.dhe.ibm.com/sar/CMA/IMA/01523/1/v9.7fp3a_linuxx64_universal_fixpack.tar.gz

              Aix 64位: http://delivery04.dhe.ibm.com/sar/CMA/IMA/0150o/1/v9.7fp3a_aix64_universal_fixpack.tar.gz

              HP unix 64位:http://delivery04.dhe.ibm.com/sar/CMA/IMA/01512/1/v9.7fp3a_hpipf64_universal_fixpack.tar.gz
           

              如以上沒(méi)用,試試此鏈接:  http://www14.software.ibm.com/webapp/download/search.jsp?pn=DB2+9

          posted @ 2012-11-03 21:14 Alicus 閱讀(3556) | 評(píng)論 (0)編輯 收藏

          EditPlus3.3 集成 SVN

          今天在玩EditPlus的時(shí)候,由于自己想上傳文件至SVN,本機(jī)已經(jīng)安裝了TSVN,聽(tīng)說(shuō)近期EditPlus支持了SVN操作,
          于是自己便帶著好奇的心試試了。

          已有的環(huán)境:
          EditPlus 3.3
          TSVN 1.5
          VisualSVN Server 2.1.3
          目的:能夠在EditPlus里使用SVN編輯、更新文件。

          第一步: 先下載http://www.sliksvn.com/pub/Slik-Subversion-1.5.2-win32.msi 安裝上。
          PS: 一開(kāi)始本人也認(rèn)為不需要下載這個(gè)文件,自己本地已經(jīng)有了TSVN了,只要修改SVN路徑就行了,
          不過(guò)試了后,無(wú)法實(shí)現(xiàn)提交、更新。

          第二步:新建配置文件:tool.ini
          貼進(jìn)以下內(nèi)容:
          [Tools\0]
          Count=2
          Text=Group 1
          [Tools\0\0]
          Text=SVN commit
          Command=C:\Program Files\SlikSvn\bin\svn.exe
          Argument=commit -m "" $(FilePath) --non-interactive
          InitDir=$(FileDir)
          RedirOut=1
          Stdin=0
          Plugin=0
          Save=1
          Pattern=0
          Pattern Regex=
          Close=0
          Help=0
          [Tools\1]
          Count=0
          Text=Group 2
          [Tools\2]
          Count=0
          Text=Group 3
          [Tools\3]
          Count=0
          Text=Group 4
          [Tools\4]
          Count=0
          Text=Group 5
          [Tools\5]
          Count=0
          Text=Group 6
          [Tools\6]
          Count=0
          Text=Group 7
          [Tools\7]
          Count=0
          Text=Group 8
          [Tools\8]
          Count=0
          Text=Group 9
          [Tools\9]
          Count=0
          Text=Group 10
          [Tools\0\1]
          Text=SVN update
          Command=C:\Program Files\SlikSvn\bin\svn.exe
          Argument=update $(FilePath)
          InitDir=$(FileDir)
          RedirOut=1
          Stdin=0
          Plugin=0
          Save=1
          Pattern=0
          Pattern Regex=
          Close=0
          Help=0

          將新建的tool.ini 放到EditPlus 的安裝目錄下。重新啟動(dòng)EditPlus.
          PS: C:\Program Files\SlikSvn\bin\svn.exe 這個(gè)是你下載的文件的安裝路徑,
          恩,通過(guò)以上步驟,基本上是可以的了。

          不過(guò)還有幾個(gè)需要注意的是:
          1,貌似EditPlus里,這個(gè)不能直接將新建的文件Add到服務(wù)上,所以要確保進(jìn)行Update、Commit操作之前,確保你更新的文件
          已經(jīng)納入SVN版本控制中。

          2,文件名不可以存在空格,Example: 文件名為 PowerDesigner 使用初步.txt  如果commit這個(gè)文件的話,會(huì)報(bào)
          XX路徑\PowerDesigner 未納入版本的控制,把空格去掉就行了。
          大家用的時(shí)候注意了哦。

          通過(guò)以上步驟和注意點(diǎn),您就可以用Ctrl+1 進(jìn)行提交,用Ctrl+2進(jìn)行更新操作。

          參考:http://www.cnblogs.com/baogg/archive/2011/08/14/2137653.html

          歡迎一起交流。


          posted @ 2012-11-03 21:05 Alicus 閱讀(544) | 評(píng)論 (0)編輯 收藏

          男生看女生叫審美,女生看男生叫好色——新解


          今天早上刷牙的時(shí)候突然想起了俞敏洪的一句話:“男生看女生叫審美,女生看男生叫好色”。

          說(shuō)到這,我感覺(jué)很奇怪,這句話不知道可不可以這樣理解:
          前面一句:男生看女生叫審美。
          理解如下:審美的主語(yǔ)是男生,賓語(yǔ)是女生,審美—可以看成是“我”審美,很明顯這里省略了“我”這個(gè)主語(yǔ)。看—我們可以理解為審的間接意思,那么可以推斷出那個(gè)美是指女生了!間接地理解整句:女生是美女。

          后面一句:女生看男生叫好色。
          同理可推:女生—我(被省略的主語(yǔ)),看—好的間接理解,那么男生對(duì)應(yīng)的就是色了。間接的理解整句:男生是色狼。

          俞敏洪啊就是俞敏洪,即夸了女同胞,同時(shí)也道出了男同胞!

          哈哈。。。個(gè)人之言,僅供娛樂(lè)!!

          posted @ 2012-11-03 20:42 Alicus 閱讀(267) | 評(píng)論 (0)編輯 收藏

          僅列出標(biāo)題  下一頁(yè)
          <2025年6月>
          25262728293031
          1234567
          891011121314
          15161718192021
          22232425262728
          293012345

          導(dǎo)航

          統(tǒng)計(jì)

          常用鏈接

          留言簿

          隨筆分類(lèi)

          隨筆檔案

          文章分類(lèi)

          相冊(cè)

          Organization

          Personal

          搜索

          最新評(píng)論

          閱讀排行榜

          評(píng)論排行榜

          主站蜘蛛池模板: 青神县| 科技| 岢岚县| 裕民县| 拉孜县| 永城市| 泰安市| 通江县| 吴江市| 蕲春县| 镇远县| 克什克腾旗| 兴化市| 五莲县| 建阳市| 盐津县| 湾仔区| 邢台市| 永昌县| 开阳县| 寻乌县| 德安县| 历史| 岑巩县| 枣庄市| 常山县| 禄劝| 武宣县| 绥化市| 波密县| 汾阳市| 澄城县| 昌邑市| 靖边县| 桦川县| 木兰县| 潮州市| 隆子县| 汉阴县| 潼关县| 景谷|