SlideShare una empresa de Scribd logo
1 de 4
LÊ HUY VINH - SVTT Page 1
CÀI ĐẶT DNS CENTOS 6.5
I/ Cấu hình Hostname:
Sửa file /etc/hosts:
# vi /etc/hosts
Sửa file /etc/sysconfig/network
# vi /etc/sysconfig/network
Restart hệ thống: init 6
Kiểm tra Hostname:
II/ Cấu hình DNS:
1/ Cài đặt DNS:
Dùng câu lệnh: rpm –ivh <tên gói> để cài đặt các gói sau:
bind-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-libs-9.8.2-0.17.rc1.el6_4.6.i686.rpm
bind-utils-9.8.2-0.17.rc1.el6_4.6.i686.rpm
Ta có thể tìm các gới trên trong DVD cài đặt CentOS
LÊ HUY VINH - SVTT Page 2
2/ Cấu hình DNS:
Tạo file /etc/named.conf như sau:
# vi /etc/hosts
Tạo file /var/named/named.root bằng cách download trên mạng như sau:
Chú ý: Server phải kết nối đến internet.
Tạo file /var/named/athena.edu.vn.db:
LÊ HUY VINH - SVTT Page 3
Tạo file /var/named/100.168.192.in-addr.arpa.db:
Restart named daemon
Tắt Firewall:
Chọn Firewall
Configuration
Nhấn Space Bar để
disable Firewall → OK
LÊ HUY VINH - SVTT Page 4
Chọn Yes
Chọn Quit để thoát
setup

Más contenido relacionado

La actualidad más candente

Hướng dẫn cài đặt centOS 6.5-Thực Tập Athena
Hướng dẫn cài đặt centOS 6.5-Thực Tập AthenaHướng dẫn cài đặt centOS 6.5-Thực Tập Athena
Hướng dẫn cài đặt centOS 6.5-Thực Tập Athena
quocluong
 
Huongdancaicentos6 140419211354-phpapp01
Huongdancaicentos6 140419211354-phpapp01Huongdancaicentos6 140419211354-phpapp01
Huongdancaicentos6 140419211354-phpapp01
lehuyvinh
 
04 installing software
04  installing software04  installing software
04 installing software
Cơn Gió
 
11 networking fundamentals
11  networking fundamentals11  networking fundamentals
11 networking fundamentals
Cơn Gió
 
12 dhcp server
12  dhcp server12  dhcp server
12 dhcp server
Cơn Gió
 
10.chap10 file systemsimlementation
10.chap10 file systemsimlementation10.chap10 file systemsimlementation
10.chap10 file systemsimlementation
Linh Nguyễn Thanh
 
15 nis server
15  nis server15  nis server
15 nis server
Cơn Gió
 
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.comBảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Brand Xanh
 

La actualidad más candente (20)

Hướng dẫn cài đặt centOS 6.5-Thực Tập Athena
Hướng dẫn cài đặt centOS 6.5-Thực Tập AthenaHướng dẫn cài đặt centOS 6.5-Thực Tập Athena
Hướng dẫn cài đặt centOS 6.5-Thực Tập Athena
 
Cài centos 6.5
Cài centos 6.5Cài centos 6.5
Cài centos 6.5
 
Huongdancaicentos6 140419211354-phpapp01
Huongdancaicentos6 140419211354-phpapp01Huongdancaicentos6 140419211354-phpapp01
Huongdancaicentos6 140419211354-phpapp01
 
Baocaotuan2 Mail server Linux
Baocaotuan2 Mail server LinuxBaocaotuan2 Mail server Linux
Baocaotuan2 Mail server Linux
 
04 installing software
04  installing software04  installing software
04 installing software
 
Tailieu
TailieuTailieu
Tailieu
 
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNHCHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
CHIA SẺ TÀI NGUYÊN TRONG LAN TRÊN NHIỀU HỆ ĐIỀU HÀNH
 
11 networking fundamentals
11  networking fundamentals11  networking fundamentals
11 networking fundamentals
 
12 dhcp server
12  dhcp server12  dhcp server
12 dhcp server
 
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on UbuntuChapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
Chapter 1: Setup Apache, PHP, PhpMyAdmin. Python Mod on Ubuntu
 
Install ssl xampp
Install ssl xamppInstall ssl xampp
Install ssl xampp
 
10.chap10 file systemsimlementation
10.chap10 file systemsimlementation10.chap10 file systemsimlementation
10.chap10 file systemsimlementation
 
15 nis server
15  nis server15  nis server
15 nis server
 
Báo cáo thực tập tuần - VPS (slide)
Báo cáo thực tập tuần - VPS (slide)Báo cáo thực tập tuần - VPS (slide)
Báo cáo thực tập tuần - VPS (slide)
 
tài liệu Mã nguồn mở Lap trình shells
tài liệu Mã nguồn mở  Lap trình shellstài liệu Mã nguồn mở  Lap trình shells
tài liệu Mã nguồn mở Lap trình shells
 
Thuc hanh 13
Thuc hanh  13Thuc hanh  13
Thuc hanh 13
 
Huong dan ghost hdh linux qua g4 l
Huong dan ghost hdh linux qua g4 lHuong dan ghost hdh linux qua g4 l
Huong dan ghost hdh linux qua g4 l
 
Các lệnh shell cơ bản trong linux
Các lệnh shell cơ bản trong linuxCác lệnh shell cơ bản trong linux
Các lệnh shell cơ bản trong linux
 
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.comBảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
Bảng tra cứu các lệnh cơ bản của unix và linux sưu tầm bởi www.vilinux.com
 
Sử dụng Linux
Sử dụng LinuxSử dụng Linux
Sử dụng Linux
 

Destacado (12)

Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01Cauhinhdnscentos 140419221022-phpapp01
Cauhinhdnscentos 140419221022-phpapp01
 
linux_huongdanthuchanh
linux_huongdanthuchanhlinux_huongdanthuchanh
linux_huongdanthuchanh
 
Basic linux tutorial
Basic linux tutorialBasic linux tutorial
Basic linux tutorial
 
529 _07._ky_nang_quan_ly_theo_qua_trinh
529  _07._ky_nang_quan_ly_theo_qua_trinh529  _07._ky_nang_quan_ly_theo_qua_trinh
529 _07._ky_nang_quan_ly_theo_qua_trinh
 
Cac lenh linux_co_ban
Cac lenh linux_co_banCac lenh linux_co_ban
Cac lenh linux_co_ban
 
Proxmox VE
Proxmox VEProxmox VE
Proxmox VE
 
Cài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-AthenaCài đặt web server (linux)-Pham Hoang Phuc-Athena
Cài đặt web server (linux)-Pham Hoang Phuc-Athena
 
Xây dựng web-hosting trên linux centos
Xây dựng web-hosting trên linux centosXây dựng web-hosting trên linux centos
Xây dựng web-hosting trên linux centos
 
Xậy dựng hệ thống webserver trên linux
Xậy dựng hệ thống webserver trên linux Xậy dựng hệ thống webserver trên linux
Xậy dựng hệ thống webserver trên linux
 
(274364013) baibaocaogiuaky 140505213913-phpapp02
(274364013) baibaocaogiuaky 140505213913-phpapp02(274364013) baibaocaogiuaky 140505213913-phpapp02
(274364013) baibaocaogiuaky 140505213913-phpapp02
 
Baocaocuoiky
BaocaocuoikyBaocaocuoiky
Baocaocuoiky
 
Bao cao cuoi ky
Bao cao cuoi kyBao cao cuoi ky
Bao cao cuoi ky
 

Similar a Cauhinhdnscentos 140419221022-phpapp01

Cài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptxCài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptx
chamkhe
 
Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5
thienma217
 
Squirrelmail centos 6.5
Squirrelmail centos 6.5Squirrelmail centos 6.5
Squirrelmail centos 6.5
thienma217
 
07 booting and shutting down
07  booting and shutting down07  booting and shutting down
07 booting and shutting down
Cơn Gió
 
Linux07 khoidong&dongtat
Linux07 khoidong&dongtatLinux07 khoidong&dongtat
Linux07 khoidong&dongtat
anhbinhminhpro
 
Linux thietlaphethongmangubunt-45879
Linux thietlaphethongmangubunt-45879Linux thietlaphethongmangubunt-45879
Linux thietlaphethongmangubunt-45879
Son Giap
 
Huong dan cai dat fedora 4[bookbooming.com]
Huong dan cai dat fedora 4[bookbooming.com]Huong dan cai dat fedora 4[bookbooming.com]
Huong dan cai dat fedora 4[bookbooming.com]
bookbooming1
 
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
bookbooming1
 
[Kmasecurity.net] ksec club-hirrent's boot-cd
[Kmasecurity.net] ksec club-hirrent's boot-cd[Kmasecurity.net] ksec club-hirrent's boot-cd
[Kmasecurity.net] ksec club-hirrent's boot-cd
Vu Trung Kien
 
Basic cau hinh ip tren solaris
Basic cau hinh ip tren solarisBasic cau hinh ip tren solaris
Basic cau hinh ip tren solaris
Bui Van Cuong
 
Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)
Thang Man
 

Similar a Cauhinhdnscentos 140419221022-phpapp01 (20)

Cài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptxCài đặt và cấu hình căn bản hệ điều hành.pptx
Cài đặt và cấu hình căn bản hệ điều hành.pptx
 
Cac lenh co_ban_linux
Cac lenh co_ban_linuxCac lenh co_ban_linux
Cac lenh co_ban_linux
 
Quản trị mạng linux full
Quản trị mạng linux fullQuản trị mạng linux full
Quản trị mạng linux full
 
Tai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracleTai lieu quan tri he thong erp oracle
Tai lieu quan tri he thong erp oracle
 
tài liệu Mã nguồn mở 02 sudung
tài liệu Mã nguồn mở  02 sudungtài liệu Mã nguồn mở  02 sudung
tài liệu Mã nguồn mở 02 sudung
 
Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5Postfix Dovecot CentOS 6.5
Postfix Dovecot CentOS 6.5
 
Squirrelmail centos 6.5
Squirrelmail centos 6.5Squirrelmail centos 6.5
Squirrelmail centos 6.5
 
07 booting and shutting down
07  booting and shutting down07  booting and shutting down
07 booting and shutting down
 
Linux07 khoidong&dongtat
Linux07 khoidong&dongtatLinux07 khoidong&dongtat
Linux07 khoidong&dongtat
 
cai dat va quan tri Zpanel
cai dat va quan tri Zpanelcai dat va quan tri Zpanel
cai dat va quan tri Zpanel
 
TỰ HỌC LPI 2
TỰ HỌC LPI 2TỰ HỌC LPI 2
TỰ HỌC LPI 2
 
Linux LPI Bacis
Linux LPI BacisLinux LPI Bacis
Linux LPI Bacis
 
Quản lý ổ đĩa
Quản lý ổ đĩaQuản lý ổ đĩa
Quản lý ổ đĩa
 
Linux thietlaphethongmangubunt-45879
Linux thietlaphethongmangubunt-45879Linux thietlaphethongmangubunt-45879
Linux thietlaphethongmangubunt-45879
 
Huong dan cai dat fedora 4[bookbooming.com]
Huong dan cai dat fedora 4[bookbooming.com]Huong dan cai dat fedora 4[bookbooming.com]
Huong dan cai dat fedora 4[bookbooming.com]
 
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
Huong dan cai_redhat_linux_fedora_core_4[bookbooming.com]
 
[Kmasecurity.net] ksec club-hirrent's boot-cd
[Kmasecurity.net] ksec club-hirrent's boot-cd[Kmasecurity.net] ksec club-hirrent's boot-cd
[Kmasecurity.net] ksec club-hirrent's boot-cd
 
Basic cau hinh ip tren solaris
Basic cau hinh ip tren solarisBasic cau hinh ip tren solaris
Basic cau hinh ip tren solaris
 
Basic cau hinh ip tren solaris
Basic cau hinh ip tren solarisBasic cau hinh ip tren solaris
Basic cau hinh ip tren solaris
 
Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)Lesson 6 - Administering Linux System (2)
Lesson 6 - Administering Linux System (2)
 

Cauhinhdnscentos 140419221022-phpapp01

  • 1. LÊ HUY VINH - SVTT Page 1 CÀI ĐẶT DNS CENTOS 6.5 I/ Cấu hình Hostname: Sửa file /etc/hosts: # vi /etc/hosts Sửa file /etc/sysconfig/network # vi /etc/sysconfig/network Restart hệ thống: init 6 Kiểm tra Hostname: II/ Cấu hình DNS: 1/ Cài đặt DNS: Dùng câu lệnh: rpm –ivh <tên gói> để cài đặt các gói sau: bind-9.8.2-0.17.rc1.el6_4.6.i686.rpm bind-libs-9.8.2-0.17.rc1.el6_4.6.i686.rpm bind-utils-9.8.2-0.17.rc1.el6_4.6.i686.rpm Ta có thể tìm các gới trên trong DVD cài đặt CentOS
  • 2. LÊ HUY VINH - SVTT Page 2 2/ Cấu hình DNS: Tạo file /etc/named.conf như sau: # vi /etc/hosts Tạo file /var/named/named.root bằng cách download trên mạng như sau: Chú ý: Server phải kết nối đến internet. Tạo file /var/named/athena.edu.vn.db:
  • 3. LÊ HUY VINH - SVTT Page 3 Tạo file /var/named/100.168.192.in-addr.arpa.db: Restart named daemon Tắt Firewall: Chọn Firewall Configuration Nhấn Space Bar để disable Firewall → OK
  • 4. LÊ HUY VINH - SVTT Page 4 Chọn Yes Chọn Quit để thoát setup