압축 내용 확인 하기
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 의 상태를 확인해 본다.
Posted by 삐꾸강아쥐



