Đề kiểm tra
Lộ trình giải đề kiểm tra.
1_Một vùng mạng có máy chủ dịch vụ và người dùng
- Vùng mạng: tuan-cntt.lan
- Máy chủ cần thiết lập:
DNS và DHCP (dc1) IP: 10.10.10.10
HA-Proxy (haproxy1) IP: 10.10.10.20
Web Server1 (websrv1) IP: 10.10.10.21
Web Server2 (websrv2) IP: 10.10.10.22
User Client (pc01) IP: nhận IP qua DHCP
- Cài đặt các máy chủ trên công cụ ảo hóa VMWare, KVM, Oracle VM VirtualBox, ...
https://www.oracle.com/virtualization/technologies/vm/virtualbox.html
2_Hệ thống cân bằng tải cho web server sử dụng HAProxy hoặc nginx
- Cài đặt Ubuntu trên công cụ ảo (Tên máy chủ: haproxy1)
https://ubuntu.com/tutorials/install-ubuntu-server#1-overview
- Cách triển khai HAProxy trên Ubuntu
https://www.linuxtechi.com/install-configure-haproxy-on-ubuntu/?utm_content=cmp-true
https://docs.vultr.com/how-to-deploy-haproxy-on-ubuntu-22-04