리눅스 유용한 자료들...

- tar -

압축 내용 확인 하기

tar -tvf file


zcat xxx.img | cpio -itv | less

xxx.img 파일의 내용을 보기위한 명령어


- RPM -

rpm -V 설치된 패키지 검증

rpm -Va 모든 패키지 검증

rpm -Vp rpm 검증


- yum -

yum 해당 그룹 단위로 설치 하기

yum grouplist - 그룹 리스트 보기
yum groupinstall 그룹 이름

ex) yum groupinstall Editors


- samba -

samba mount

ex)
mount -t cifs(smbfs) //address/path /mnt/samba -o user=id,dom=domain,uid=500,file_mode=644



fstab 에 추가 하기

//address/path /mnt/samba    cifs(smbfs)    credentials=/etc/samba/cred.txt 0 0

cred.txt 파일에

username=id
password=pass

넣어주면 된다.

관련 내용 (man mount.cifs)

credentials=filename
specifies a file that contains a username and/or password. The format of the file is:

 username=value
 password=value

This is preferred over having passwords in  plaintext  in  a  shared  file,  such  as
/etc/fstab. Be sure to protect any credentials file properly.



- 원격 로그 서버 만들기 -

서버

/etc/sysconfig/syslog 파일에

SYSLOGD_OPTIONS="-r -m 0"

클라이언트

/etc/syslog.conf

user.*    @Server_IP


syslogd 를 모두 restart 한다.

그리고 /var/log/messages 의 상태를 확인해 본다.



크리에이티브 커먼즈 라이센스
Creative Commons License
이올린에 북마크하기(0) 이올린에 추천하기(0)

Posted by 삐꾸강아쥐

2007/08/24 18:53 2007/08/24 18:53
, , , ,
Response
0 Trackbacks , 0 Comments
RSS :
http://blog.blog.n-nuri.com/rss/response/465

Trackback URL : http://blog.blog.n-nuri.com/trackback/465

Leave a comment
[로그인][오픈아이디란?]
« Previous : 1 : ... 103 : 104 : 105 : 106 : 107 : 108 : 109 : 110 : 111 : ... 515 : Next »

블로그 이미지

http://blog.n-nuri.com 이 접속이 안 될경우 http://x2x.dnip.net 으로 접속해 주세요 공유하지 않는 지식은 썩은 물과 같다~~~!!!

- 삐꾸강아쥐

Archives

Recent Trackbacks

Calendar

«   2009/01   »
        1 2 3
4 5 6 7 8 9 10
11 12 13 14 15 16 17
18 19 20 21 22 23 24
25 26 27 28 29 30 31

Site Stats

Total hits:
227674
Today:
25
Yesterday:
279
free counters