yum repository 확인
$ yum repolist
yum repository 설정 위치
$ cd /etc/yum.repos.d/
$ ls
CentOS-Base.repo
yum repository 설정
$ vi CentOS-Base.repo
SK브로드밴드, KT, LG 유플러스의 DNS, nameserver 설정
DNS (Domain Name System)
1. BIND 패키지
2. DNS 설정 파일
3. named 데몬
4. 방화벽 오픈
5. Chroot 구성 (설정, named-chroot 데몬)
6. 도메인 등록
현재 CentOs에 설정되어 있는 DNS 서버는 하나다. 이 서버를 이용할 수 없는 상황을 대비해
SK 브로드 밴드, KT, LG 유플러스
SK 브로드밴드 219.250.36.130 혹은 210.220.163.82
KT (한국 통신) 168.126.63.1 혹은 168.126.63.2
LG 유플러스 164.126.101.2 혹은 203.248.252.2
vi /etc/resolv.conf
cat /etc/resolv.conf
방화벽
적용하기
# systermctl restart network
'System > Linux' 카테고리의 다른 글
[Error] Job for sshd.service failed because the control process exited with error code. See "sysyemctl status sshd.service" and "journalctl -xe" for details. (0) | 2023.06.20 |
---|---|
yum 을 이용해서 ssh 설정 및 ssh 포트 변경하기 (0) | 2023.06.20 |
[Error] cp: omitting directory (0) | 2023.05.23 |
[Linux] root 전환 / 계정 생성 / 디렉터리 및 파일 / 압축 / history (0) | 2023.05.23 |
VirtualBox에 Linux CentOS 7 설치 및 초기 설정하기 (0) | 2023.04.27 |