pchero on 4월 18th, 2012

  리눅스/유닉스 환경에서 디렉토리 압축을 할 때, 특정 디렉토리를 제외하고 압축을 해야하는 경우가 있다. 흔히 로그 디렉토리같은 경우는 용량이 커서 압축시 제외를 해야하는데 이럴때는 다음과 같이 사용하면 된다.   eclipse 디렉토리에 다음과 같이 구조되어 있다고 보자. jonathan@jonathan-laptop:~$ ls -l eclipse/ total 684 -rw-r–r–  1 jonathan jonathan  18909 2011-02-10 12:31 about.html drwxr-sr-x  2 jonathan jonathan   4096 [...]

Continue reading about 특정 폴더 제외 후 압축하기

pchero on 4월 13th, 2012

IBM Unix AIX  메뉴얼 http://publib.boulder.ibm.com/infocenter/pseries/v5r3/index.jsp

Continue reading about IBM Unix AIX 메뉴얼

사내에서 사용하는 SVN 을 이전해서 새로이 kdesvn 설정을 맞추던 중 아래의 에러가 나타났다.  SSL handshake failed: SSL error: Key usage violation in certificate has been detected. Virtual Box 에서 사용하는 Windows 의 TortoiseSVN 은 정상으로 접속이 되는데.. 유독 KDESVN 만 접속이 안되는 것이 마음에 걸려 해결방법을 찾아 보았다. 아래의 사이트에서 해결방법을 찾을 수 있었다. http://andrewbrobinson.com/2011/11/01/fixing-ssl-handshake-failed-ssl-error-key-usage-violation-in-certificate-has-been-detected-error-on-svn-checkout/ [...]

Continue reading about kdesvn Error : SSL handshake failed: SSL error: Key usage violation in certificate has been detected.

  컴파일 도중 아래의 에러를 발견했다. TuSelector.cxx:220:16: error: ‘INT_MAX’ was not declared in this scope TuSelector.cxx:222:1: warning: control reaches end of non-void function 해당 파일에 다음의 헤더파일을 추가하면 된다. #include <climits>  

Continue reading about error: ‘INT_MAX’ was not declared in this scope

pchero on 4월 2nd, 2012

오픈소스 컴파일 중, 다음과 같은 에러 메시지를 발견했다. error: ‘EOF’ was not declared in this scope make[1]: Entering directory `/home/jonathan/workspace/13.CIDS/CIDSSip/SipLibrary/resiprocate-1.6/rutil’ g++         -march=i686 -D_REENTRANT  -g  -Wall  -I.. -I../build/../contrib/ares -DOS_MAJOR_VER=2 -DOS_MINOR_VER=6 -DOS_POINT_VER=38-13-generic-pae -DOS_PATCH_VER=0 -DRESIP_OSTYPE_LINUX -DRESIP_ARCH_I686 -DRESIP_LARCH_IA32 -DRESIP_TOOLCHAIN_GNU -DUSE_ARES -c -o obj.debug.Linux.i686/SysLogBuf.o SysLogBuf.cxx SysLogBuf.cxx: In member function ‘virtual int resip::SysLogBuf::overflow(int)’: SysLogBuf.cxx:39:13: error: ‘EOF’ was not declared in this [...]

Continue reading about error: ‘EOF’ was not declared in this scope

  Linux/Unix 에서 ps 명령어를 리다이렉트로 사용하는 경우가 많다. ps -ef > test.txt 이 명령이 평소에는 잘 먹다가도 특정 시스템에서는 잘 안되는 현상이 있다. 주로 Unix에서 발생하며 오래된 버전의 Linux 에서도 같은 현상이 나타난다. 증상은 명령어 결과 최초 80 바이트만 Redirect 되는 현상이다. 이는 다음의 옵션을 통해 해결할 수 있다. ps 명령어 입력 때, w [...]

Continue reading about ps 명령어 Redirect 할 때, 80 바이트만 Redirect 되는 현상..

pchero on 3월 13th, 2012

얼랭 설치하기 Ubuntu의 경우.. sudo apt-get install erlang   셸 시작하기 터미널 창에서 erl 이라고 입력하고 얼랭을 시작하자. $ erl jonathan@jonathan-laptop:~$ erl Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0] [hipe] [kernel-poll:false] Eshell V5.7.4  (abort with ^G) 1> 20 + 30. 50 2>   간단한 정수 연산 jonathan@jonathan-laptop:~$ erl Erlang R13B03 (erts-5.7.4) [source] [smp:4:4] [rq:4] [async-threads:0] [...]

Continue reading about 2. 시작

오라클에서 테이블에 설정된 칼럼의 내용을 확인하는 쿼리.   Select table_name, column_name, data_type, nullable, data_length, column_id, owner From All_tab_columns Where table_name = ‘테이블명’

Continue reading about [ORACLE] 오라클 테이블 칼럼 내용 확인하는 쿼리