ITeye博客

Hide From All

RobertLeeJesus · 共 138 篇文章

How to use cvs in linux?

1. Find the modifed files. cvs status | grep File | grep Modified 2. Find the modifed files and output it in red. cvs status | grep File | grep Modified | sed 's#\(File:.*Status:.*\)#\x1b[1;31m\1\x1b[1;37m#' 3. How to use tag? cvs tag release_name module_name cvs status -v moudle_name =============…

2008-07-28 15:10 · Linux - Miscellaneous · 评论(0)

Install Oracle 11g in my Ubuntu Linux 8.

Installing Oracle 11g on Ubuntu Linux 8 I take this chapter from internet and install Oracle 11g in Ubuntu Linux 8. One little issue is that Ubuntu is unsupported by Oracle. So, through this text, we will trick the Oracle installer into thinking it’s actually running on a Red Hat box. Step Zero Thi…

2008-07-27 17:36 · Oracle · 评论(1)

How to control the jobs with shell?

There are 3 commands to contol jobs. 1. Ctrl + Z 2. bg & fg 3. kill 4. jobs For example, 1. robert@debianlaptop:~$ emacs [1]+ Stopped emacs 2. robert@debianlaptop:~$ fg %1 emacs [1]+ Stopped emacs . robert@debianlaptop:~$ bg %1 [1]+ emacs & 3. robert@debianlaptop:~$ jobs [1]+ Running emacs & 4. rob…

2008-07-27 17:16 · Linux - Miscellaneous · 评论(0)

Netbeans: optional language package is not install

Compilers If you are using netbeans to develop c/c++ program, it has 3 kind compilers availabe to us. 1. Sun UCB Compatible C Compiler. Make command, /usr/ccs/bin/make C compiler, /usr/ucb/cc 2. GNU Compiler Collection Make command, /usr/sfw/bin/gmake C Compiler, /usr/sfw/bin/gcc C++ Compilter, /us…

2008-07-27 17:15 · J2SE&J2EE · 评论(0)

How to extract the file *.tar.bz2?

#bunzip2 xxx.tar.bz2 然后会在同目录下生成一个文件 xxx.tar #tar xvf xxx.tar 文件就会完全的被解压. tar zcvf dest.tar.gz folder_name tar zxvf dest.tar.gz

2008-07-27 17:14 · Linux - Miscellaneous · 评论(1)

How to add a user and set environments for the us

1. How to add a user and login with new user in Solaris? #bash #groupadd users #useradd -d /export/home/robert -m -g users robert Keep in root user #passwd robert #chown -R robert:users /export/home/robert Notes, you must change the ower of the home directory. Otherwise you can't login JDS correctl…

2008-07-27 17:13 · Linux - Miscellaneous · 评论(0)

Simple ksh knowledge

1. Parameter handover. The ksh paramerter comprises $order, for example, $0, $1. The $0 means the program itself or the function itself, just like the C++, so the $1 is the first parameter, $2 second... There are other parameter information, $# ----传递给程序的总的参数数目 $? ----上一个代码或者shell程序在shell中退出的情况,如果正…

2008-07-27 17:12 · Linux - Miscellaneous · 评论(0)

我安装Solaris的全过程。

毕业四年,一直在windows下做开发,来到了这家公司工作,总被一些使用命令行的家伙笑话,他们号称是unix高手,所以,决定学习一下unix, 查了一下,公司用的unix是Sun Solaris. 决定在自己家的机器上安装一个Sun Solaris. 下面详细的叙述一下安装的步骤, 1. 去网站下载安装文件, http://www.sun.com/software/solaris/get.jsp,这里有CD版和DVD版,我的光驱是CD-ROM, 所以,我下载了CD版的,CD版共有5个ISO。 2. 把这5个ISO分别刻录到5个CD盘上。安装盘准备好了,开始安装系统。 3. 我的机器上原来安装…

2008-07-27 17:12 · Linux - Miscellaneous · 评论(3)

With commons loggin and Log4j, the TRACE level is

Recently, when I was using the commons logging 1.0.4 and log4j 1.2.13, I found the log level TRACE is replaced with DEBUG. Then I trace into the codes, I found the Apache commons logging has the TRACE level earlier than log4j. So when it process the trace level, it will send the TRACE message to lo…

2008-07-27 17:11 · J2SE&J2EE · 评论(0)

How to control the jobs with shell?

There are 3 commands to contol jobs. 1. Ctrl + Z 2. bg & fg 3. kill 4. jobs For example, 1. robert@debianlaptop:~$ emacs [1]+ Stopped emacs 2. robert@debianlaptop:~$ fg %1 emacs [1]+ Stopped emacs . robert@debianlaptop:~$ bg %1 [1]+ emacs & 3. robert@debianlaptop:~$ jobs [1]+ Running emacs & 4. rob…

2008-07-27 17:00 · Linux - Miscellaneous · 评论(0)

桌面图标的背景颜色

今天,我在word拷贝了一个gif的图片,然后,直接粘贴到了桌面,接着windows提示保存路径,我选择了桌面,把这个gif图像保存到了桌 面。结果桌面的图标就变成了有蓝色底色,然后,我就按照惯例,在“我的电脑”,依次单击“属性/高级/性能设置”在“视觉效果中做了调整,结果竟然不好 用,google了一番,终于找到最佳答案。 电脑|属性|高级|性能项的 设置|自定义|在桌面上为图标标签使用阴影|打上勾| 如果不行,再在桌面空白处右击|排列图标|在桌面上锁定web项目|把勾去掉 可以尝试以下4种方法: 1.右击“我的电脑”,依次单击“属性/高级/性能设置”在“视觉效果”页中将“在桌面上为图标标…

2008-07-26 16:02 · 杂项 · 评论(0)

The welcome screen losts in after lock the compuer

Question: The welcome screen works when logging on, but doesn't work after locking the computer. Solution: 1. Enacle and start the service - Terminal Services. 2. 运行“Regedit”命令打开注册表编辑器,定位到 “[KEY_LOCAL_MACHINE\SOFTWARE\Microsoft\Windows\CurrentVersion\Policies \Explorer]”分支,在右边窗口中找到NoWelcomeScreen(如…

2008-07-26 16:01 · 杂项 · 评论(0)

Instroduction GNU/Linux/Debia

1. Linux is the kernalof OS. http://www.linux.org/ http://www.kernel.org/ 2. Gnu is the tool collection of OS. Gnu had planned to implement the kernal of OS. But never finished it. http://www.gnu.org/ http://www.gnu.org/software/gcc/ 3. devian is a combination of linux and gnu. As its name means, i…

2008-07-26 15:58 · Linux - Miscellaneous · 评论(0)

The variants of ksh

Points 1. If you want to share the variants in a shell to the the children of the current processes. There are 2 ways in ksh, 1) . setEnv.ksh 2) eval "setEnv.ksh" 2. You can define a variants in the 3 ways, they are similar 1) OUTPUT="test" 2) OUTPUT="test" export OUTPUT 3) typeset OUTPUT="test" Th…

2008-07-26 15:58 · Linux - Miscellaneous · 评论(0)

The process of installing debain in my T61

Firstly, I downloaded the debian stable version - the first ISO file, and burn it into a CD. Then install it into T61. 1. After installation, Video driver is not working. When it tries to start Gnome GUI, then it shows an error about video driver. Copy and override a conf file - /usr/X11/xorg.xml, …

2008-07-26 15:57 · Linux - Miscellaneous · 评论(3)