euckr -> utf8

리눅스 2006. 2. 15. 22:59
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
.bashrc 파일에 alias 등록해둔것입니다.
euckr로 제작된파일들을 변환할필요가 있을때
사용합니다.

alias change_utf8='for i in *;do iconv -f euc-kr -t utf-8 < $i > $i.utf8 && cat $i.utf8 > $i && rm -f $i.utf8; rm -f *.utf8;done'

출처 : http://chaeya.blogspot.com/2005_03_01_chaeya_archive.html

'리눅스' 카테고리의 다른 글

NABI setting  (0) 2006.03.22
nabi & xwindows setting  (0) 2006.03.09
grub multi boot  (0) 2006.02.09
우분투 한영키  (0) 2006.02.04
srpm build  (0) 2006.01.20

grub multi boot

리눅스 2006. 2. 9. 20:11
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
[[ GRUB를 이용한 Windows 2000, Linux 멀티부팅 ]]
---------------------------------------------

1. 먼저 파티션을 나누어 Windows 2000설치한다.

2. Linux(RedHat 7.2) 설치시 GRUB을 부트로더로 하여 MBR(Master Boot Record)에 설치한다.

3. 설치완료후 Rebooting을 하면 Linux로 부팅되는데,

4. Linux 부팅후 /boot/grub/grub.conf에 다음을 추가한다.

title Windows 2000
root (hd0,0)
makeactive
chainloader +1

5. root (hd0,0) --> 첫번째 HardDisk의 첫번째 Partition을 의미한다(root다음 띄어쓰기 주의!!).

6. Rebooting하면 완료...

'리눅스' 카테고리의 다른 글

nabi & xwindows setting  (0) 2006.03.09
euckr -> utf8  (0) 2006.02.15
우분투 한영키  (0) 2006.02.04
srpm build  (0) 2006.01.20
jdk install  (0) 2006.01.07

우분투 한영키

리눅스 2006. 2. 4. 00:02
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

'리눅스' 카테고리의 다른 글

euckr -> utf8  (0) 2006.02.15
grub multi boot  (0) 2006.02.09
srpm build  (0) 2006.01.20
jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06

srpm build

리눅스 2006. 1. 20. 16:32
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
http://www.linuxfactory.org/board/read.php?table=pds&no=139&page=1&PHPSESSID=fa8696729521df23e5ffaaf232dd9e2c

RPM생성은(i686기준, target에 플랫폼에 맞게 넣으세요.)

# rpmbuild --rebuild --target=i686 unrar-3.2.2-lse.src.rpm

/usr/src/redhat/RPMS/i686 디렉에 생성됩니다.

'리눅스' 카테고리의 다른 글

grub multi boot  (0) 2006.02.09
우분투 한영키  (0) 2006.02.04
jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25

jdk install

리눅스 2006. 1. 7. 14:08
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
http://jjuriet.egloos.com/1018675/

2. jdk 설치
(http://java.sun.com 에서 다운로드 가능)
#chmod +x jdk-1_5_0_06-linux-i586.bin
#./jdk-1_5_0_06-linux-i586.bin
Do you agree to the above license terms? [yes or no]
yes
# vi /etc/profile
PATH="$PATH:/usr/local/jdk1_5_0_06/bin"
export JAVA_HOME="/usr/local/jdk1_5_0_06"
두줄 추가
# source profile

'리눅스' 카테고리의 다른 글

우분투 한영키  (0) 2006.02.04
srpm build  (0) 2006.01.20
find 를 이용한 파일 삭제  (0) 2006.01.06
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25
cvs 서버 구축  (0) 2005.12.21

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
작성자 : qwert (2004-10-13 19:54)
제목 : 하부 디렉토리까지 특정 이름의 파일 찾아서 지우기  

만약에 cvs로 받은 패키지의 'CVS'디렉토리를 모두 지운다면,

'find . -name CVS -exec rm -rf {} \;'를 실행한다.
[ 이 글에 댓글달기 | 본문에 댓글달기 | 수정 | 삭제]  


작성자 : 검은밤하늘 (2004-10-15 21:45)
제목 : 작성된지 30일 이상 지난 파일을 모두 지우기  

작성되거나 변경된지 30일 이상 지난 파일을 모두 지울려면

find . -mtime +30 -exec rm -f {} \;


-mtime 옵션은 최종변경시간을 체크하는 옵션이죠.
/tmp 나 /var/log 디렉토리에서 오래된 파일을 지울 때 유용한 옵션입니다.  


http://man.linux.co.kr/?platform=redhat9&program=find§ion=1

'리눅스' 카테고리의 다른 글

srpm build  (0) 2006.01.20
jdk install  (0) 2006.01.07
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25
cvs 서버 구축  (0) 2005.12.21
cvs 사용기  (0) 2005.12.20

336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

안녕하세요.
http://www.rootman.co.kr 운영자 정찬호입니다.

rkhunter는 rootkit을 찾아 주는 유틸리티로 설치도 간단하고 보는 법도 간단합니다.
또한 중요 파일에 대한 위, 변조를 알려 주어 관리자로 하여금 약간 안도감을 주는^^ 프로그램이죠.

혹시 모르셨던 분들 한 번 써 보세요.
도움이 꼭 되시길 바라면서.

Have a good time !


1. 관련사이트
  http://www.rootkit.nl/projects/rootkit_hunter.html


2. 소스 다운로드
  (1) http://downloads.rootkit.nl/rkhunter-1.2.7.tar.gz
  (2) http://mirror.1day.co.kr/download/Security/rkhunter-1.2.7.tar.tar


3. 설치
[root@ns1 /usr/local/src]# tar xvfz rkhunter-1.2.7.tar.tar
[root@ns1 /usr/local/src]# cd rkhunter-1.2.7
[root@ns1 rkhunter-1.2.7]# ./installer.sh
Rootkit Hunter installer 1.2.7 (Copyright 2003-2005, Michael Boelen)
---------------
Starting installation/update

Checking  /usr/local... OK
Checking file retrieval tools... /usr/bin/wget
Checking installation directories...
- Checking /usr/local/rkhunter...Created
- Checking /usr/local/rkhunter/etc...Created
- Checking /usr/local/rkhunter/bin...Created
- Checking /usr/local/rkhunter/lib/rkhunter/db...Created
- Checking /usr/local/rkhunter/lib/rkhunter/docs...Created
- Checking /usr/local/rkhunter/lib/rkhunter/scripts...Created
- Checking /usr/local/rkhunter/lib/rkhunter/tmp...Created
- Checking /usr/local/etc...Exists
- Checking /usr/local/bin...Exists
Checking system settings...
  - Perl... OK
Installing files...
Installing  Perl module checker... OK
Installing  Database updater... OK
Installing  Portscanner... OK
Installing  MD5 Digest generator... OK
Installing  SHA1 Digest generator... OK
Installing  Directory viewer... OK
Installing  Database Backdoor ports... OK
Installing  Database Update mirrors... OK
Installing  Database Operating Systems... OK
Installing  Database Program versions... OK
Installing  Database Program versions... OK
Installing  Database Default file hashes... OK
Installing  Database MD5 blacklisted files... OK
Installing  Changelog... OK
Installing  Readme and FAQ... OK
Installing  Wishlist and TODO... OK
Installing  RK Hunter configuration file... OK
Installing  RK Hunter binary... OK
Configuration updated with installation path (/usr/local/rkhunter)

Installation ready.
See /usr/local/rkhunter/lib/rkhunter/docs for more information. Run 'rkhunter' (/usr/local/bin/rkhunter)


4. 실행 파일 복사
[root@ns1 rkhunter-1.2.7]# cp rkhunter /usr/sbin/


5. 시스템 검사하기
(1) 검사 레포트 crt 출력
[root@ns1 rkhunter-1.2.7]# rkhunter -c

(2) 검사 파일 저장하기
[root@ns1 rkhunter-1.2.7]# rkhunter --checkall --createlogfile
....
....
---------------------------- Scan results ----------------------------
MD5
MD5 compared: 0
Incorrect MD5 checksums: 0

File scan
Scanned files: 342
Possible infected files: 0

Application scan
Vulnerable applications: 3

Scanning took 365 seconds
Scan results written to logfile (/var/log/rkhunter.log)


6. 버전 확인하기
[root@ns1 rkhunter-1.2.7]# /usr/local/bin/rkhunter --versioncheck
http://www.rootkit.nl/rkhunter/rkhunter_latest.dat

Rootkit Hunter 1.2.3, copyright Michael Boelen

This version:   1.2.3
Latest version: 1.2.7
Update available


7. rkhunter 업데이트하기
[root@ns1 root]# /usr/local/bin/rkhunter --update     
Running updater...

Mirrorfile /usr/local/rkhunter/lib/rkhunter/db/mirrors.dat rotated
Using mirror http://www.rootkit.nl/rkhunter
[DB] Mirror file                      : Update available
  Action: Database updated (current version: 2005033000, new version 2005050700)
[DB] MD5 hashes system binaries       : Update available
  Action: Database updated (current version: 2005041000, new version 2005080200)
[DB] Operating System information     : Update available
  Action: Database updated (current version: 2005032500, new version 2005091100)
[DB] MD5 blacklisted tools/binaries   : Up to date
[DB] Known good program versions      : Update available
  Action: Database updated (current version: 2005040300, new version 2005071500)
[DB] Known bad program versions       : Update available
  Action: Database updated (current version: 2005040300, new version 2005071500)

Ready.

- 이상 -

'리눅스' 카테고리의 다른 글

jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06
cvs 서버 구축  (0) 2005.12.21
cvs 사용기  (0) 2005.12.20
cvs 관리  (0) 2005.12.19

cvs 서버 구축

리눅스 2005. 12. 21. 19:03
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
# default: on
# description: The cvspsever serves CVS Password Server sessions; it uses \
#          unencrypted username/password pairs for authentication.
service cvspserver
{
       disable         = no
       flags           = REUSE
       socket_type     = stream
       wait            = no
       user            = root
       server          = /usr/bin/cvs
       server_args     = -f --allow-root=/home/cvs pserver
       log_on_failure  += USERID
}

/etc/xinetd.d/ 디렉토리에 cvspserver 파일을 만든다
xinetd 재시작

관련 문서
http://wiki.kldp.org/wiki.php/DocbookSgml/CVS%5FTutorial-KLDP

'리눅스' 카테고리의 다른 글

jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25
cvs 사용기  (0) 2005.12.20
cvs 관리  (0) 2005.12.19

cvs 사용기

리눅스 2005. 12. 20. 04:27
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.
이번에 msn bot 을 만들기 시작하면서, 소스 관리를 cvs 로 하기로 마음 먹었다. cvs 서버 설정, 계정 설정, 프로젝트 추가 등등 몇시간의 삽질 끝에, 지금은 대략 cvs 사용법을 알게 된것 같다. 한번 써 보니깐 - 정말 편해서 쓰기가 좋다 ㅎ

'리눅스' 카테고리의 다른 글

jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25
cvs 서버 구축  (0) 2005.12.21
cvs 관리  (0) 2005.12.19

cvs 관리

리눅스 2005. 12. 19. 17:16
336x280(권장), 300x250(권장), 250x250, 200x200 크기의 광고 코드만 넣을 수 있습니다.

'리눅스' 카테고리의 다른 글

jdk install  (0) 2006.01.07
find 를 이용한 파일 삭제  (0) 2006.01.06
[펌]rkhunter을 통한 시스템 무결성 체킹하기  (0) 2005.12.25
cvs 서버 구축  (0) 2005.12.21
cvs 사용기  (0) 2005.12.20