본문 바로가기

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 : 자.. 더보기