2012年11月3日

security processing failed with reason 15 (解决DB2 9.5.2中用户认证的问题(SQL30082N))

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

posted @ 2012-11-10 17:33 Alicus 阅读(883) | 评论 (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 阅读(432) | 评论 (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 阅读(1405) | 评论 (0)编辑 收藏

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 阅读(417) | 评论 (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 阅读(367) | 评论 (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 阅读(231) | 评论 (0)编辑 收藏

灰常灰常经典的耍嘴皮子功夫


●说吧,你是想死呢还是不想活了?
●好久没有人把牛皮吹的这么清新脱俗了!
●你给我滚,马不停蹄的滚……
●人人都说我丑,其实我只是美得不明显。
●无理取闹,必有所图!
_________________________________________________
●天被熬亮了。
●不是路不平,而是你不行。
●恶心妈妈抱着恶心哭得很伤心,为什么呢?因为恶心死了……
●要不是打不过你,我早就和你翻脸了。
●我这心碎得,捧出来跟饺子馅似的。
_________________________________________________
●没人牵手,我就揣兜。
●我的兴趣爱好可分为静态和动态两种,静态就是睡觉,动态就是翻身…
●唉~这人要一没正形,连头痛都是偏的。
●我这人不太懂音乐,所以时而不靠谱,时而不着调。
●怎么会突然想哭?难道我也有些逆流成河的小忧伤?
_______________________________________
●好漂亮的美女叔叔啊!
●我不跟猪摔跤有两个原因:首先这让我自己变得很脏,其次这让猪很高兴。
●没事偷着乐是不太可能了,偷着胖还是有点儿希望.
●放下屠刀立地成佛的意思是,你放下屠刀的那一刻对方把你砍成两瓣儿了。
●没事可做时,觉得最累。
_________________________________________________
●李碧华说过: 什么叫多余?夏天的棉袄,冬天的蒲扇,还有等我已经心冷后你的殷勤。
●永远年轻,永远装嫩,永远不知好歹,永远热泪盈眶。
●我爸面对我发胖一事发表了看法:没有韩红的命,还得了韩红的病。
●你来我信你不会走,你走我当你没来过。——我们该这样对待缘分与爱。
●曾以为我是那崖畔的一枝花,后来才知道,不过是人海一粒渣。
_________________________________________________
●荡气回肠,消化不良。 ­
●女人喜欢长的坏坏的男人,并不是喜欢长坏了的男人.. ­
●麻子不叫麻子,坑人。 ­
●江湖险恶,不行就撤! ­
●不敲几下,你不可能知道一个人或一个西瓜的好坏。 ­
_________________________________________________
●孤独的人常表现得很坚强;寂寞的人则多半温和。 ­
●大笑是绽放的微笑。 ­
●我的意中人是个绝色大美女,终于有一天她会骑着喷火的恐龙来嫁给我 ­
的,可是我看见了她的坐骑,却没有看见她的主人。 ­
●孤单是一个人的狂欢,狂欢是一群人的孤单。 ­
●虽不安分,也该守己。 ­
________________________________________
●人不犯我,我不犯人。人若犯我,我就生气! ­
●别逼我,否则我伟大起来,一发不可收拾。 ­
●我们是平凡的人,我们也是特别的人,所以我们是特别平凡的人。 ­
●那个人敢说自己纯净?瞧你那眼神就透着浑浊。 ­
●没有什么比弱者对强者的鄙视更无力了。 ­
_________________________________________________
●如有雷同,纯属你抄我 ­●笨鸟先飞,笨猪先肥。 ­
●当你的眼泪忍不住要流出来的时候,睁大眼睛,千万别眨眼,你会看到世 ­
界由清晰到模糊的全过程。 ­
●告诉你别逼我,你要是再逼我,我就装死给你看。 ­
●年轻算什么,谁没年轻过?你老过吗?真是的 ­
__________________________________________
●别用世故的样子来武装自己,它会水土不服。 ­●解释就是掩饰,掩饰就是编故事。 ­
●所谓门槛,过去了便是门,过不去就成了槛。 ­
●陌生阻止你认识陌生的事物,熟悉妨碍你理解熟悉的事物。 ­
●人生的悲哀就在于,当你想两肋插刀的时候,却只有一把刀。 ­
____________________________________________
● 如果全是老姜,将是一个何等辛辣的社会。 ­
● 狮子不会因为听到狗吠而回头。 ­
● 水越深,水流越平稳。 ­
●在你不当回事的时候,一切就好了起来。 ­
● 无论是国王还是农夫,只要能在自己家里找到安宁,他就是最幸福的人。 ­
____________________________________________
● 一分钱一分货,稀饭吃了不经饿. ­
● 水壶啊,你为什么哭泣,是因为屁股太烫了吗? ­
● 如果命运抓住了伱的喉咙,伱就挠命运嘚胳肢窝。 ­
● 拦着成长的不是幼稚,而是自以为成熟。 ­
● 如果命运折断了你的腿,他会教你如何跛行 ­
__________________________________________ ­
● 打死你我也不说 ­
●左脑全是水,右脑全是面粉,不动便罢了,一动全是浆糊 ­
●挣钱就像用针掘地,花钱就像水渗进土里。 ­
●我也有要去的地方,只是我要去的地方,没道路通向那里。 ­
●你浪费的粮食都会堵在你去往天堂的路上。 ­
______________________________________________
●生活是丰富多彩的,但我也有自己的颜色。 ­●如果有一天我失踪了,只有两种可能:身体在旅行,或者灵魂在旅行。 ­
●讓人格与腦門一同閃亮。 ­
●你的丑和你的脸没有关系。 ­
●我从来没有欺骗过你,因为我从来没有欺骗你的必要。 ­
__________________________________________________
●我可以选择放弃,但我不能放弃选择。 ­
●天没降大任于我,照样苦我心志,劳我筋骨。 ­
●也许似乎大概是,然而未必不见得。 ­
●再过一百年,就长成了参天大葱。 ­
●幸福就是当你照镜子的时候,喜欢你看到的那个人。

I wish you will be happy every day!

posted @ 2012-11-03 21:17 Alicus 阅读(241) | 评论 (0)编辑 收藏

DB2 8.2 9.1 9.5 9.7 下载地址

    由于IBM推广DB2新版本的原因,导致旧的版本的链接被隐藏起来了。所以本人从网络上收集了一些链接,以方便有需要的朋友。

    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
 

    如以上没用,试试此链接:  http://www14.software.ibm.com/webapp/download/search.jsp?pn=DB2+9

posted @ 2012-11-03 21:14 Alicus 阅读(3448) | 评论 (0)编辑 收藏

EditPlus3.3 集成 SVN

今天在玩EditPlus的时候,由于自己想上传文件至SVN,本机已经安装了TSVN,听说近期EditPlus支持了SVN操作,
于是自己便带着好奇的心试试了。

已有的环境:
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: 一开始本人也认为不需要下载这个文件,自己本地已经有了TSVN了,只要修改SVN路径就行了,
不过试了后,无法实现提交、更新。

第二步:新建配置文件:tool.ini
贴进以下内容:
[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 的安装目录下。重新启动EditPlus.
PS: C:\Program Files\SlikSvn\bin\svn.exe 这个是你下载的文件的安装路径,
恩,通过以上步骤,基本上是可以的了。

不过还有几个需要注意的是:
1,貌似EditPlus里,这个不能直接将新建的文件Add到服务上,所以要确保进行Update、Commit操作之前,确保你更新的文件
已经纳入SVN版本控制中。

2,文件名不可以存在空格,Example: 文件名为 PowerDesigner 使用初步.txt  如果commit这个文件的话,会报
XX路径\PowerDesigner 未纳入版本的控制,把空格去掉就行了。
大家用的时候注意了哦。

通过以上步骤和注意点,您就可以用Ctrl+1 进行提交,用Ctrl+2进行更新操作。

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

欢迎一起交流。


posted @ 2012-11-03 21:05 Alicus 阅读(525) | 评论 (0)编辑 收藏

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


今天早上刷牙的时候突然想起了俞敏洪的一句话:“男生看女生叫审美,女生看男生叫好色”。

说到这,我感觉很奇怪,这句话不知道可不可以这样理解:
前面一句:男生看女生叫审美。
理解如下:审美的主语是男生,宾语是女生,审美—可以看成是“我”审美,很明显这里省略了“我”这个主语。看—我们可以理解为审的间接意思,那么可以推断出那个美是指女生了!间接地理解整句:女生是美女。

后面一句:女生看男生叫好色。
同理可推:女生—我(被省略的主语),看—好的间接理解,那么男生对应的就是色了。间接的理解整句:男生是色狼。

俞敏洪啊就是俞敏洪,即夸了女同胞,同时也道出了男同胞!

哈哈。。。个人之言,仅供娱乐!!

posted @ 2012-11-03 20:42 Alicus 阅读(250) | 评论 (0)编辑 收藏

How to delete the icons of Win7 desktop shortcuts

1. Copy the following bat code in a new txt  file.
2. save it as bat file extension type, run it as administrator role.

———————————————————— Content Start ———————————————————-
reg add “HKEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Explorer\Shell Icons” /v 29 /d “%systemroot%\system32\imageres.dll,196″ /t reg_sz /f
taskkill /f /im explorer.exe
attrib -s -r -h “%userprofile%\AppData\Local\iconcache.db”
del “%userprofile%\AppData\Local\iconcache.db” /f /q
start explorer
———————————————————-Content End ———————————————————-


Enjoy it, my friend !

posted @ 2012-11-03 20:23 Alicus 阅读(301) | 评论 (1)编辑 收藏

<2012年11月>
28293031123
45678910
11121314151617
18192021222324
2526272829301
2345678

导航

统计

常用链接

留言簿

随笔分类

随笔档案

文章分类

相册

Organization

Personal

搜索

最新评论

阅读排行榜

评论排行榜