목록OS관련/Linux Study (12)
DBA가 되고 싶은 병아리
CONTENTS: 0. Introduction 1. Hard link 1) "link"의 개념: 2) hard link란 ? 3) hard link의 특성 2. Symbolic link DESCRIPTION: 0. UNIX의 file type을 얘기할 때, ordinary, directory, special, socket, FIFOs와 함께 symbolic link, hard link도 언급된다. symbolic/hard link를 file type으로 이해하려면 우선 개념과 특징을 이해해야 할 것 같다. 1. Hard link 1) "link"의 개념: - "link"라는 개념을 이해하는 한 방법은 filesystem의 directory가 어떻게 계층적으로 구조를 형성하고 있으며 어떻게 "cd" com..
※ Linux에서 Software Level Mirroring 구성방법(RHEL V4) 이 과정은 시스템을 초기 설치시 RAID 1 레벨을 구성하는것이 아닌 이미 설치된 시스템에 디스크 두 개를 추가하여 구성하는 방식입니다. 또한 일반적으로 많이 알려진 raidtools를 이용한 raid 구성이 아닌 mdadm을 이용한 구성입니다. RHEL V4에서는 raidtools가 지원되지 않으며 mdadm이 제공됩니다. 1. fdisk 명령으로 레이드를 구성할 디스크 디바이스 확인 및 /dev/sdb와 /dev/sdc를 파티셔닝 작업 [root@RAID-Sever ~]# fdisk -l Disk /dev/sda: 21.4 GB, 21474836480 bytes 255 heads, 63 sectors/track, ..
리눅스 시간 맞추기 - 명령라인에서 설정 # rdate -s time.bora.net && hwclock -w - 부팅시 설정 . /etc/rc.d/rc.local 에 아랫부분 추가. rdate -s time.bora.net && hwclock -w - cron에 등록해서 주기적으로 서버의 시간 설정 . /etc/crontab 에 아랫부분 추가. 0 0 * * 1 root rdate -s time.bora.net && hwclock -w - 타임서버 time.bora.net time.nuri.net time-a.nist.gov ※ 출처 : http://sir.co.kr/bbs/board.php?bo_table=tip_linux&wr_id=490
SCP(1) BSD General Commands Manual SCP(1) NAME scp - secure copy (remote file copy program) SYNOPSIS scp [-1246BCpqrv] [-c cipher] [-F ssh_config] [-i identity_file] [-l limit] [-o ssh_option] [-P port] [-S program] [[user@]host1:]file1 [...] [[user@]host2:]file2 DESCRIPTION scp copies files between hosts on a network. It uses ssh(1) for data transfer, and uses the same authentication and provid..