본문 바로가기

728x90

변상철

[bind] 슬레이브 DNS ZONE 파일 유형 변경(ASCII text > data) 슬레이브 DNS ZONE 파일 유형 변경(ASCII text > data) ----------------------------------------------------------------- # /usr/local/bind-9.9.4-P1/sbin/named -v BIND 9.9.4-P1 (Extended Support Version) # file * 192.168.0-rev: data sangchul.kr-zone: data ----------------------------------------------------------------- ----------------------------------------------------------------- # named -v BIND 9.8.2rc1.. 더보기
[리눅스] yum X window 설치 yum X window 설치 yum groupinstall "GNOME Desktop Environment" yum groupinstall "X Window System" 더보기
[Bonding] CentOS6 Linux NIC bonding 구성 CentOS6 Linux NIC bonding 구성 eth0 08:00:27:5B:BE:D9 eth1 08:00:27:A6:82:43 eth2 08:00:27:E3:E9:D0 eth3 08:00:27:EA:D7:42 구성1. eth0-eth2 : DHCP(10.0.2.15) 구성2. eth1-eth3 : Statice IP(192.168.56.10) 기본 설정 1. channel bonding interface 설정 bond0 생성 [root@kss ~]# cat /etc/sysconfig/network-scripts/ifcfg-bond0 DEVICE=bond0 BOOTPROTO=dhcp ONBOOT=yes BONDING="mode=1 miimon=100" bond1 생성 [root@kss ~]# cat.. 더보기
[리눅스] grep 명령어 grep 명령어 사용법 3.1 grep 명령어 grep : 파일 전체를 뒤져 정규표현식에 대응하는 모든 행들을 출력한다. egrep : grep의 확장판으로, 추가 정규표현식 메타문자들을 지원한다. fgrep : fixed grep 이나 fast grep으로 불리며, 모든 문자를 문자 그래도 취급한다. 즉, 정규표현식의 메타문자도 일반 문자로 취급한다. 3.2 정규표현식을 사용하는 grep의 예제 # grep NW datafile # grep NW d* (d로 시작하는 모든 파일에서 NW를 포함하는 모든 행을 찾는다.) # grep '^n' datafile (n으로 시작하는 모든 행을 출력한다.) # grep '4$' datafile (4로 끝나는 모든 행을 출력한다.) # grep TB Savage d.. 더보기
[kickstart] 킥스타트 옵션 킥스타트 옵션 Red Hat Enterprise Linux 3: 시스템 관리 가이드-9장. 킥스타트 설치 http://www.linux4u.co.kr/RedhatAS/s1-kickstart2-options.html [root@kss kickstart]# pwd /tftpboot/kickstart [root@kss kickstart]# cat ks_centos6.4_64.cfg #platform=x86,AMD64,Intel EM64T #version=RHEL6 # Install OS instead of upgrade install #url --url=http://mirror.cdnetworks.com/centos/6/os/x86_64 nfs --server=192.168.1.105 --dir=/mnt/ce.. 더보기
[Kickstart] Kickstart(킥스타트) 설치 Kickstart(킥스타트) 설치 [참고] 킥스타트 설치 https://access.redhat.com/site/documentation/ko-KR/Red_Hat_Enterprise_Linux/6/html/Installation_Guide/ch-kickstart2.html#s1-kickstart2-whatis 1. TFTP(Trivial File Transfer Protocol) 설치 2. DHCP(Dynamic Host Configuration Protocol) 설치 3. NFS(Network File System) 설치 4. SYSLINUX 설치 5. 기타 추가 설정 6. 서비스 시작 시스템 구축 환경 [root@kss ~]# cat /etc/redhat-release CentOS release 6... 더보기
[리눅스] yum으로 X window 설치 yum X window 설치 yum groupinstall "GNOME Desktop Environment" yum groupinstall "X Window System" Install Desktop Packages # yum -y groupinstall "Desktop" "Desktop Platform" "X Window System" "Fonts" You can also install the following optional GUI packages. # yum -y groupinstall "Graphical Administration Tools" # yum -y groupinstall "Internet Browser" # yum -y groupinstall "General Purpose Desktop.. 더보기
[switch] Vlan 설정 (정적 포트별 나누기) Vlan 설정 (정적 포트별 나누기) Switch>enable Switch#configure terminal Enter configuration commands, one per line. End with CNTL/Z. Switch(config)#vlan 100//vlan 100 생성 Switch(config-vlan)#vlan 200//vlan 200 생성 Switch(config-vlan)#end %SYS-5-CONFIG_I: Configured from console by console Switch#show vlan VLAN Name Status Ports ---- -------------------------------- --------- ------------------------------- 1.. 더보기

반응형