본문 바로가기

분류 전체보기

osi7Layer 맵 더보기
mysql 기본 명령어 및 수정 Copyright (c) 2000, 2011, Oracle and/or its affiliates. All rights reserved. Oracle is a registered trademark of Oracle Corporation and/or its affiliates. Other names may be trademarks of their respective owners. Type 'help;' or '\h' for help. Type '\c' to clear the current input statement. mysql> mysql> show databases; +--------------------+ | Database | +--------------------+ | information_sch.. 더보기
라우터에서 NAT 설정 명령어 enable conf term hostname YONSAI line con 0 logg syn exec-ti 0 int f0/0 ip add dhcp ip nat outside ip virtual-reassembly no sh int f0/1 ip add 10.10.0.1 255.255.255.0 ip nat inside ip virtual-reassembly no sh exit ip nat inside source list test interface f0/0 overload ip access-list extended test permit ip 10.10.0.0 0.0.0.255 any 더보기
[CentOS 6.x] NFS,NIS 연동 NISnetwork imformation system ypbind-클라이언트프로그램 yp-tools-NIS 명령패키지 ypserv-서버프로그램 yum install 로 설치하자. disdomainname pjo.go.kr-설정하기전 해놓아야한다 vi /etc/sysconfig/network-hostname 밑에 nisdomain=pjo.go.kr 설정해준다 usermod -s /bin/bash user3-user3을 /bin/bash 쉘 사용하게하기 PATH=$PATH:/usr/lib/yp ypinit -m Ctrl+D-마스터서버로사용하겠다 %%~/.bash_profile 에 PATH=$PATH:$HOME/bin:/usr/lib/yp 를 설정하면 기본로그인시 적용 centos 2 로가서 vi /etc/h.. 더보기
DNS 설정파일 options { listen-on port 53 { 127.0.0.1; 192.168.2.150; }; listen-on-v6 port 53 { ::1; }; directory "/var/named"; dump-file "/var/named/data/cache_dump.db"; statistics-file "/var/named/data/named_stats.txt"; memstatistics-file "/var/named/data/named_mem_stats.txt"; recusion yes; allow-query { any; }; allow-query-cache { any; }; }; listen-on port 53 : 자신의 IP 중 청취할 IPv4 주소 listen-on-v6 port 53 : 자.. 더보기
NIS(Network Information Systme) 간단설정 NIS ( Network Information System) 네트워크를 통해 계정,그룹,hosts 정보를 공유할 때 사용. ypbind : 클라이언트 프로그램 yp-tools : NIS 명령 패키지 ypserv : 서버 프로그램 ------------------------ Server(Master) ------------------------ 1. ypserv 설치 2. nisdomainname 도메인명 더보기
rndc 설정 rndc (Remote Name Domain Controller) 원격으로 NS 서버를 제어하기 위해 사용하는 유틸리티이며, tcp 953 을 이용해 제어한다. 제어를 위해서는 반드시 클라이언트 PC에 NS서버의 대칭키가 존재해 야하며, 서버에서는 제어가능한 컴퓨터의 목록을 등록해야한다. 1. NS 서버의 설정 /etc/named.conf 에 controls 라는 옵션 설정이 되어 있어야한다. ------------------------ /etc/named.conf ----------------------- key "rndckey" { algorithm hmac-md5; secret "4SFIGvEhRvqmdnUzRFC0iw=="; }; controls { inet 127.0.0.1 port 953 al.. 더보기
/home 계정별 압축하는 명령어 만들기 보호되어 있는 글입니다. 더보기
awk 개론 awk 는 기본적으로 공백으로 구분 1.각각의 단어들을 하나의 변수로 처리 함.즉 탭과 공백을 구분문자로 사용 함. 2. 탭과 공백을 무시하고 특정문자 ":(콜론) | ;(세미콜론) | ,(콤마)" 등으로 구분 문자를 처리 한다고 한다면-F 옵션을 사용 하면 됨. 명령어 위치 : /bin/awk사용형식awk [옵션] '스크립트' [변수=값][파일...]awk [옵션] [-F] '{스크립트}'ex) cat /etc/passwd계정명 : 패스워드 : UID : GID : 코멘트 : 홈디렉토리 : 기본사용쉘$1 $2 $3 $4 $5 $6 $7 더보기
원격로그서버정리 보호되어 있는 글입니다. 더보기