HƯỚNG DẪN CÀI ĐẶT IIS WEBSERVER, FTP LÀM DOWNLOAD TRÊN WINDOWS SERVER 2019
Contents
Thông tin
Server OS: WS Server 2019
IP: 172.16.23.200/24
Cài đặt OS và Cập nhật Windows Server bản vá mới nhất
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-1.png)
CÀI ĐẶT
Vào Server Manager->Manage-> Add roles and feautures
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-3.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-5.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-7.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-9.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-11.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-13.png)
Cài đặt thành công
Test Web IIS
Cấu hình Web
Tạo thư mục để lưu file
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-15.png)
Tạo new website
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-17.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-19.png)
Cấu hình FTP SERVER
Đây là cách cấu hình FTP chạy theo hostname nhé
Chọn vào website vừa tạo ->Add FTP publishing
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-21.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-23.png)
Tạo nhóm user FTP
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-25.png)
Add nhóm G_FTP
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-27.png)
Cấp quyền thư mục D:\wwwroot\dl.viettechgroup.vn cho G_FTP
Phân quyền thư mục
Kiểm tra truy cập
Lưu ý đối với truy cập FTP bằng host name không dùng IP và không nên dùng windows explorer hay lỗi xãy ra
Nhập thông tin:
- Hostname: hostname port 21
- Username: hostname|username
- Ví dụ dl.viettechgroup.vn
- Hostname: dl.viettechgroup.vn
- Username: dl.viettechgroup.vn|phuong.nguyen
Sử dụng app winscp nhé
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-29.png)
Có thể Mapping bằng windows
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-31.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-33.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-35.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-37.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-39.png)
Ok nhé
Chúc các bạn thành công
Giờ thì các bạn có thể tổ chức cập nhật file download server
Cấu hình WebDav SERVER
IIS manager-> chọn site lúc nãy làm lab luôn nhé->chọn vào webdav authorizing rules
Chúng ta add luôn nhóm G_FTP lúc nãy vào luôn và phân quyền
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-41.png)
Cho phép listing thư mục nhé
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-43.png)
Cấu hình IIS authentication
Disable [Anonymous Authentication] và Enable [Basic Authentication] như bên dưới.
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-45.png)
Share thư mục Download
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-47.png)
Kết nối Webdav
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-49.png)
Nhập tài khoản truy cập
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-51.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-53.png)
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-55.png)
Có thể truy cập trên web browser lun
![](https://viettechgroup.vn/wp-content/uploads/2023/02/word-image-11573-57.png)
Chúc các bạn thành công vui lòng ghi rõ nguồn nếu có copy
Phương Nguyễn Viết