SlideShare a Scribd company logo
“Chuyên trang dành cho kỹ thuật viên tin học”
CHIA SẺ - KINH NGHIỆM - HỌC TẬP - THỦ THUẬT
Part 45 - Upgrade Server 2008 - Internet Information Services - IIS
Kể từ phiên bản Windows Server 2008 trình IIS đã được Microsoft chú trọng hơn với những thiết kế hoàn toàn mới
và nhiều tính năng rất mạnh. Trong bài này chúng ta sẽ tìm hiểu về IIS trong môi trường Windows Server 2008
Giả sử tôi có 2 Website là gccom.net và kythuatvien.com và để cấu hình cho hệ thống có thể truy cập các trang Web
này thì đòi hỏi tôi phải có một DNS Server nhằm phân giải các tên miền này.
Như vậy trong mô hình này tôi sử dụng 2 máy trong đó
- Máy PC01 là máy DNS Server và sẽ cài đặt thêm dịch vụ IIS
- Máy PC02 máy Client
Cấu hình IP các máy như sau:
Máy Đặc tính PC01 PC02
Card Lan
IP Address 192.168.1.1
Subnet Mask 255.255.255.0
Default
gateway
Preferred DNS 127.0.0.1
Card Cross
IP Address 172.16.1.1 172.16.1.2
Subnet Mask 255.255.255.0 255.255.255.0
Default
gateway
172.16.1.1
Preferred DNS
Card Lan: nối gián tiếp 2 máy PC01 & PC02 với nhau thông qua
Switch
Card Cross: nối trực tiếp các cặp máy PC01 với PC02
Tại máy PC01 (Web Server) để cài đặt Internet Information Server (IIS) bạn vào Server Manager chọn Add
Roles
Trong màn hình Select Server Roles bạn chọn Web Server (IIS)
1 of 23
Trong Server Role Service có rất nhiều tùy chọn như ASP.Net, CGI... tuy nhiên trong bài tôi chỉ cài IIS để Test mà
thôi nên tôi giữ nguyên giá trị mặc định
Tiếp tục vào DNS để tạo Zone là gccom.net và tạo các Host (A) cho domain này
2 of 23
Tạo tiếp các Pointer cho domain này
Làm tương tự cho Zone kythuatvien.com
Tiếp tục bạn tạo các trang Web Default cho gccom.net và kythuatvien.com như trong hình
Trong thư mục gccom.net tôi tạo thêm một thư mục là Virtual và tạo một trang Web Default cho thư mục này
3 of 23
Bây giờ ta bật chương trình Internet Information Services (IIS) Manager lên bằng cách vào Start -> Programs
-> Administrative Tools -> Internet Information Services (IIS) Manager
Nhận thấy IIS Version 7.0 trong Server 2008 có bố cục hoàn toàn khác với IIS 6.0 trong Server 2003
Mặc định IIS tao sẵn một Default Website tuy nhiên ta không sử dụng nó mà tạo một Website mới bằng cách nhấp
phải vào Sites chọn Add Web Site...
4 of 23
Trong cửa sổ Add Web Site bạn đặt tên cho Website này tại ô Site Name
Chọn đường dẫn chứa trang Web tương ứng cho Website trong ô Physical path
5 of 23
Đến đây do hệ thống chúng ta tồn tại hơn 2 Website nên khi truy cập vào mặc định hệ thống sẽ chạy Default
Website chính vì thế để phân biệt các Website với nhau trong Server 2003 ta dùng Host Header Value thì trong
Server 2008 ta dùng Host Name
Nhấp phải vào GC Com Co bạn chọn Edit Bindings
6 of 23
Trong cửa sổ Site Bindings chọn Add
Add một Host Name mới là www.gccom.net
Tương tự Add một Host name nữa là gccom.net
Xóa Host name default đi để đảm bảo trong này chỉ tồn tại 2 Host Name ta vừa tạo mà thôi
Trở lại màn hình IIS bạn nhấp phải vào GC Com Co chọn tiếp Manager Web Site -> Start để chạy dịch vụ Web này
7 of 23
Làm tương tự cho Web kythuatvien.com
Tiếp theo tại GC Com Co tôi sẽ tạo một Virtual Website nhằm chỉ đến thư mục Virtual trong gccom.net mà tôi đã
tạo từ trước. Bạn nhấp phải vào GC Com Co chọn Add Virtual Directory
Giả sử tôi đặt tên cho Virtual website này là mail nên trong ô Alias tôi nhập là mail và dẫn đường đến thư mục
Virtual trong gccom.net
8 of 23
Màn hình sau khi hoàn tất
Bây giờ từ máy Client ta truy cập thử 2 trang Web sẽ thấy thành công
9 of 23
Truy cập thử địa chỉ Alias của gccom.net cũng thấy thành công
Đến đây ta đã cơ bản hoàn tất việc cấu hình IIS bây giờ ta sẽ đi vào tìm hiểu cách cấu hình SSL cho các Website
Để cài đặt Certificate (CA) bạn vào lại Server Manager chọn Roles -> Add Roles
Trong màn hình Select Server Roles bạn chọn Active Directory Certificate Services
10 of 23
Trong màn hình Select Role Services bạn chọn 2 mục là Certification Authority và Certification Authority Web
Enrollment
Trong bài do tôi chỉ khảo sát CA trong môi trường WORKGROUP mà thôi nên trong cửa sổ Specify Setup Type tôi
chọn Standalone
11 of 23
Chọn Root CA
Chọn tiếp Create a new private key
12 of 23
Màn hình Configure Cryptography for CA giữ nguyên giá trị mặc định
Tiếp tục tại cửa sổ Configure CA Name đặt tên cho CA của bạn trong bài giả sử tôi đặt là SERVER-CA
Màn hình Select Role Services giữ nguyên giá trị mặc định
13 of 23
Sau khi hoàn tất cài đặt CA bạn trở lại IIS tại màn hình IIS nhấp chọn Server Certificates
Trong màn hình Server Certificates ta nhận thấy chỉ có một Certificate mặc định là SERVER-CA
Bây giờ ta sẽ tiến hành xin Certificate cho Web Server bằng cách nhấp vào Create Certificate Request
14 of 23
Trong Distinguished Name Properties bạn nhập thông tin cho Certificate các thông tin trong này bạn tùy thích chỉ
có thông tin trong Common name là quan trọng nhất và ta phải nhập chính xác thông tin trong Common name này
Do tôi xin Certificate cho trang www.gccom.net nên trong này tôi nhập là www.gcom.net
Trong màn hình Cryptographic Service Provider Properties giữ nguyên giá trị mặc định
15 of 23
Trong cửa sổ File Name bạn nhập đường dẫn để CA trích xuất Certificate trong bài ví dụ là C:gccom.txt
Trong ổ đĩa C: sẽ xuất hiện file gccom.txt
Bạn mở file gccom.txt lên copy toàn bộ nội dung này
Tiếp theo bạn vào trang web của CA Server để xin Certificate tiếp tục nhấp vào Request a certificate
16 of 23
Nhấp chọn Advanced certificate request
Tiếp tục nhấp vào Link thứ 2 bên dưới
17 of 23
Tại mục Saved Request bạn dán nội dung copy trong file gccom.txt
Bật trình Certification Authority để Issue cho Certificate vừa xin cấp
18 of 23
Tại máy Web Server vào lại màn hình Web của CA để xem trạng thái của Certificate và tiến hành cài đặt CA về máy
Nhấp vào Saved Request Certificate
19 of 23
Nhấp chọn Download certificate
Trong bài tôi sẽ lưu file này vào C: có tên là certnew.cer
20 of 23
Quay trở lại màn hình Server Certificates của IIS bạn nhấp chọn Complete Certificate Request
Chọn file certnew.cer trong cửa sổ Specify Certificate Authority Response và đặt tên cho Certificate này là Web
GCC
Nhận thấy trong màn hình Server Certificate sẽ xuất hiện thêm một Certificate mới đây chính là Certificate cho
Website của bạn
Bây giờ tôi sẽ cấu hình SSL cho trang gccom.net nên tại GC Com Co bạn nhấp phải chọn Edit Bindings
21 of 23
Trong cửa sổ Add Site Bendings bạn chọn giao thức https trong Type
Trong SSL certificate bạn chọn là Web GCC
Màn hình sau khi hoàn tất
Bây giờ từ máy Client ta truy cập thử trang gccom.net với giao thức SSL sẽ thấy truy cập thành công
22 of 23
OK mình vừa trình bày xong phần Internet Information Services - IIS trong 70-648, 70-649 của MCSA.
Công ty TNHH đầu tư phát triển tin học GC Com
Chuyên trang kỹ thuật máy vi tính cho kỹ thuật viên tin học
Điện thoại: (073) - 3.511.373 - 6.274.294
Website: http://www.gccom.net
23 of 23

More Related Content

What's hot

Cau hinh hotmail lam mail
Cau hinh hotmail lam mailCau hinh hotmail lam mail
Cau hinh hotmail lam mail
Sơn Hoàng
 
Chuong1 active directory domain
Chuong1 active directory domainChuong1 active directory domain
Chuong1 active directory domainHoangbach Nguyen
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Part 38 isa server - server publishing - configuration -www.key4_vip.info
Part 38   isa server - server publishing - configuration -www.key4_vip.infoPart 38   isa server - server publishing - configuration -www.key4_vip.info
Part 38 isa server - server publishing - configuration -www.key4_vip.infolaonap166
 
Part 42 upgrade server 2008 - domain controller - join domain -www.key4_vip...
Part 42   upgrade server 2008 - domain controller - join domain -www.key4_vip...Part 42   upgrade server 2008 - domain controller - join domain -www.key4_vip...
Part 42 upgrade server 2008 - domain controller - join domain -www.key4_vip...laonap166
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Hngdnsdngpleskcontrolpanel9 130909090029-
Hngdnsdngpleskcontrolpanel9 130909090029-Hngdnsdngpleskcontrolpanel9 130909090029-
Hngdnsdngpleskcontrolpanel9 130909090029-laonap166
 
Part 50 upgrade server 2008 - active directory rights management services -...
Part 50   upgrade server 2008 - active directory rights management services -...Part 50   upgrade server 2008 - active directory rights management services -...
Part 50 upgrade server 2008 - active directory rights management services -...laonap166
 
Part 12 roaming user - homedirs - profiles -www.key4_vip.info
Part 12   roaming user - homedirs - profiles -www.key4_vip.infoPart 12   roaming user - homedirs - profiles -www.key4_vip.info
Part 12 roaming user - homedirs - profiles -www.key4_vip.infolaonap166
 
Thiet lap nhieu domain chay song song trien khai he thong dfs
Thiet lap nhieu domain chay song song trien khai he thong dfsThiet lap nhieu domain chay song song trien khai he thong dfs
Thiet lap nhieu domain chay song song trien khai he thong dfslaonap166
 
Hdsd plesk 11
Hdsd plesk 11Hdsd plesk 11
Hdsd plesk 11laonap166
 
Rename domain controller server 2012
Rename domain controller server 2012Rename domain controller server 2012
Rename domain controller server 2012
laonap166
 
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-12816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-1Bình Trọng Án
 
Domain controller join domain
Domain controller   join domainDomain controller   join domain
Domain controller join domaincuongcong15
 

What's hot (19)

Cau hinh hotmail lam mail
Cau hinh hotmail lam mailCau hinh hotmail lam mail
Cau hinh hotmail lam mail
 
Chuong1 active directory domain
Chuong1 active directory domainChuong1 active directory domain
Chuong1 active directory domain
 
Baocaogiuaky
BaocaogiuakyBaocaogiuaky
Baocaogiuaky
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Part 38 isa server - server publishing - configuration -www.key4_vip.info
Part 38   isa server - server publishing - configuration -www.key4_vip.infoPart 38   isa server - server publishing - configuration -www.key4_vip.info
Part 38 isa server - server publishing - configuration -www.key4_vip.info
 
Part 42 upgrade server 2008 - domain controller - join domain -www.key4_vip...
Part 42   upgrade server 2008 - domain controller - join domain -www.key4_vip...Part 42   upgrade server 2008 - domain controller - join domain -www.key4_vip...
Part 42 upgrade server 2008 - domain controller - join domain -www.key4_vip...
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Hngdnsdngpleskcontrolpanel9 130909090029-
Hngdnsdngpleskcontrolpanel9 130909090029-Hngdnsdngpleskcontrolpanel9 130909090029-
Hngdnsdngpleskcontrolpanel9 130909090029-
 
Báo cáo thực tập giữa kỳ
Báo cáo thực tập giữa kỳBáo cáo thực tập giữa kỳ
Báo cáo thực tập giữa kỳ
 
Part 50 upgrade server 2008 - active directory rights management services -...
Part 50   upgrade server 2008 - active directory rights management services -...Part 50   upgrade server 2008 - active directory rights management services -...
Part 50 upgrade server 2008 - active directory rights management services -...
 
Part 12 roaming user - homedirs - profiles -www.key4_vip.info
Part 12   roaming user - homedirs - profiles -www.key4_vip.infoPart 12   roaming user - homedirs - profiles -www.key4_vip.info
Part 12 roaming user - homedirs - profiles -www.key4_vip.info
 
Thiet lap nhieu domain chay song song trien khai he thong dfs
Thiet lap nhieu domain chay song song trien khai he thong dfsThiet lap nhieu domain chay song song trien khai he thong dfs
Thiet lap nhieu domain chay song song trien khai he thong dfs
 
Báo cáo thực tập giữa kỳ
Báo cáo thực tập giữa kỳBáo cáo thực tập giữa kỳ
Báo cáo thực tập giữa kỳ
 
Hdsd plesk 11
Hdsd plesk 11Hdsd plesk 11
Hdsd plesk 11
 
Vpn
VpnVpn
Vpn
 
Rename domain controller server 2012
Rename domain controller server 2012Rename domain controller server 2012
Rename domain controller server 2012
 
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-12816 mcsa--part-11--domain-c111ntroller--join-domain-1
2816 mcsa--part-11--domain-c111ntroller--join-domain-1
 
Domain controller join domain
Domain controller   join domainDomain controller   join domain
Domain controller join domain
 

Viewers also liked

Part 30 network address translation - nat -www.key4_vip.info
Part 30   network address translation - nat -www.key4_vip.infoPart 30   network address translation - nat -www.key4_vip.info
Part 30 network address translation - nat -www.key4_vip.infolaonap166
 
Part 2 osi model -www.key4_vip.info
Part 2   osi model -www.key4_vip.infoPart 2   osi model -www.key4_vip.info
Part 2 osi model -www.key4_vip.infolaonap166
 
Part 38 isa server - array - configuration -www.key4_vip.info
Part 38   isa server - array - configuration -www.key4_vip.infoPart 38   isa server - array - configuration -www.key4_vip.info
Part 38 isa server - array - configuration -www.key4_vip.infolaonap166
 
Part 38 isa server - caching -www.key4_vip.info
Part 38   isa server - caching -www.key4_vip.infoPart 38   isa server - caching -www.key4_vip.info
Part 38 isa server - caching -www.key4_vip.infolaonap166
 
Loi web reported-attack-site
Loi web reported-attack-siteLoi web reported-attack-site
Loi web reported-attack-sitelaonap166
 
Part 37 exchange server - address list -www.key4_vip.info
Part 37   exchange server - address list -www.key4_vip.infoPart 37   exchange server - address list -www.key4_vip.info
Part 37 exchange server - address list -www.key4_vip.infolaonap166
 
Part 35 certificate authority -www.key4_vip.info
Part 35   certificate authority -www.key4_vip.infoPart 35   certificate authority -www.key4_vip.info
Part 35 certificate authority -www.key4_vip.infolaonap166
 
Part 38 isa server - template -www.key4_vip.info
Part 38   isa server - template -www.key4_vip.infoPart 38   isa server - template -www.key4_vip.info
Part 38 isa server - template -www.key4_vip.infolaonap166
 
Part 5 local user - local group -www.key4_vip.info
Part 5   local user - local group -www.key4_vip.infoPart 5   local user - local group -www.key4_vip.info
Part 5 local user - local group -www.key4_vip.infolaonap166
 
Hdsd tool vmail client
Hdsd tool vmail clientHdsd tool vmail client
Hdsd tool vmail clientlaonap166
 
Aoc usas-l8i
Aoc usas-l8iAoc usas-l8i
Aoc usas-l8ilaonap166
 
Hướng dẫn ghi file iso bằng nero và ultral iso
Hướng dẫn ghi file iso bằng nero và ultral isoHướng dẫn ghi file iso bằng nero và ultral iso
Hướng dẫn ghi file iso bằng nero và ultral isolaonap166
 
Part 37 exchange server - storage group -www.key4_vip.info
Part 37   exchange server - storage group -www.key4_vip.infoPart 37   exchange server - storage group -www.key4_vip.info
Part 37 exchange server - storage group -www.key4_vip.infolaonap166
 
Microsoft forefront tmg part 2 - secure nat - proxy - firewall client -www....
Microsoft forefront tmg   part 2 - secure nat - proxy - firewall client -www....Microsoft forefront tmg   part 2 - secure nat - proxy - firewall client -www....
Microsoft forefront tmg part 2 - secure nat - proxy - firewall client -www....laonap166
 

Viewers also liked (14)

Part 30 network address translation - nat -www.key4_vip.info
Part 30   network address translation - nat -www.key4_vip.infoPart 30   network address translation - nat -www.key4_vip.info
Part 30 network address translation - nat -www.key4_vip.info
 
Part 2 osi model -www.key4_vip.info
Part 2   osi model -www.key4_vip.infoPart 2   osi model -www.key4_vip.info
Part 2 osi model -www.key4_vip.info
 
Part 38 isa server - array - configuration -www.key4_vip.info
Part 38   isa server - array - configuration -www.key4_vip.infoPart 38   isa server - array - configuration -www.key4_vip.info
Part 38 isa server - array - configuration -www.key4_vip.info
 
Part 38 isa server - caching -www.key4_vip.info
Part 38   isa server - caching -www.key4_vip.infoPart 38   isa server - caching -www.key4_vip.info
Part 38 isa server - caching -www.key4_vip.info
 
Loi web reported-attack-site
Loi web reported-attack-siteLoi web reported-attack-site
Loi web reported-attack-site
 
Part 37 exchange server - address list -www.key4_vip.info
Part 37   exchange server - address list -www.key4_vip.infoPart 37   exchange server - address list -www.key4_vip.info
Part 37 exchange server - address list -www.key4_vip.info
 
Part 35 certificate authority -www.key4_vip.info
Part 35   certificate authority -www.key4_vip.infoPart 35   certificate authority -www.key4_vip.info
Part 35 certificate authority -www.key4_vip.info
 
Part 38 isa server - template -www.key4_vip.info
Part 38   isa server - template -www.key4_vip.infoPart 38   isa server - template -www.key4_vip.info
Part 38 isa server - template -www.key4_vip.info
 
Part 5 local user - local group -www.key4_vip.info
Part 5   local user - local group -www.key4_vip.infoPart 5   local user - local group -www.key4_vip.info
Part 5 local user - local group -www.key4_vip.info
 
Hdsd tool vmail client
Hdsd tool vmail clientHdsd tool vmail client
Hdsd tool vmail client
 
Aoc usas-l8i
Aoc usas-l8iAoc usas-l8i
Aoc usas-l8i
 
Hướng dẫn ghi file iso bằng nero và ultral iso
Hướng dẫn ghi file iso bằng nero và ultral isoHướng dẫn ghi file iso bằng nero và ultral iso
Hướng dẫn ghi file iso bằng nero và ultral iso
 
Part 37 exchange server - storage group -www.key4_vip.info
Part 37   exchange server - storage group -www.key4_vip.infoPart 37   exchange server - storage group -www.key4_vip.info
Part 37 exchange server - storage group -www.key4_vip.info
 
Microsoft forefront tmg part 2 - secure nat - proxy - firewall client -www....
Microsoft forefront tmg   part 2 - secure nat - proxy - firewall client -www....Microsoft forefront tmg   part 2 - secure nat - proxy - firewall client -www....
Microsoft forefront tmg part 2 - secure nat - proxy - firewall client -www....
 

Similar to Part 45 upgrade server 2008 - internet information services - iis -www.key4_vip.info

Cài đặt exchange 2013 trên windows server 2008 r2
Cài đặt exchange 2013 trên windows server 2008 r2Cài đặt exchange 2013 trên windows server 2008 r2
Cài đặt exchange 2013 trên windows server 2008 r2
laonap166
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.infolaonap166
 
MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8
La Bảo
 
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...laonap166
 
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain ControllerHướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Thức Nguyễn Văn
 
Part 29 domain name system - dns -www.key4_vip.info
Part 29   domain name system - dns -www.key4_vip.infoPart 29   domain name system - dns -www.key4_vip.info
Part 29 domain name system - dns -www.key4_vip.infolaonap166
 
Cấu hình network load balancing trên windows server 2008
Cấu hình network load balancing trên windows server 2008Cấu hình network load balancing trên windows server 2008
Cấu hình network load balancing trên windows server 2008
laonap166
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tậpNhật Trinh
 
Part 37 exchange server - installation -www.key4_vip.info
Part 37   exchange server - installation -www.key4_vip.infoPart 37   exchange server - installation -www.key4_vip.info
Part 37 exchange server - installation -www.key4_vip.infolaonap166
 
Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1
laonap166
 
Hướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent osHướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent os
laonap166
 
Part 33 hacking - windows server update service - wsus -www.key4_vip.info
Part 33   hacking - windows server update service - wsus -www.key4_vip.infoPart 33   hacking - windows server update service - wsus -www.key4_vip.info
Part 33 hacking - windows server update service - wsus -www.key4_vip.infolaonap166
 
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.infoPart 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.infolaonap166
 
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
anh hieu
 
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
Nhận Viết Đề Tài Trọn Gói ZALO 0932091562
 
Part 38 isa server - server publishing - smtp - pop3 - owa -www.key4_vip.info
Part 38   isa server - server publishing - smtp - pop3 - owa -www.key4_vip.infoPart 38   isa server - server publishing - smtp - pop3 - owa -www.key4_vip.info
Part 38 isa server - server publishing - smtp - pop3 - owa -www.key4_vip.infolaonap166
 
Part 38 isa server - access rule -www.key4_vip.info
Part 38   isa server - access rule -www.key4_vip.infoPart 38   isa server - access rule -www.key4_vip.info
Part 38 isa server - access rule -www.key4_vip.infolaonap166
 
Active directory federation services
Active directory federation servicesActive directory federation services
Active directory federation services
PhuocNguyen231
 
Part 41 upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...
Part 41   upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...Part 41   upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...
Part 41 upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...laonap166
 

Similar to Part 45 upgrade server 2008 - internet information services - iis -www.key4_vip.info (20)

Cài đặt exchange 2013 trên windows server 2008 r2
Cài đặt exchange 2013 trên windows server 2008 r2Cài đặt exchange 2013 trên windows server 2008 r2
Cài đặt exchange 2013 trên windows server 2008 r2
 
Part 31 internet information service - iis -www.key4_vip.info
Part 31   internet information service - iis -www.key4_vip.infoPart 31   internet information service - iis -www.key4_vip.info
Part 31 internet information service - iis -www.key4_vip.info
 
MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8MailExchange 2007 tren winserver2k8
MailExchange 2007 tren winserver2k8
 
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...Part 43   upgrade server 2008 - windows deployment services - wds -www.key4_v...
Part 43 upgrade server 2008 - windows deployment services - wds -www.key4_v...
 
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain ControllerHướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
Hướng dẫn nâng cấp Windows Server 2008 lên thành Domain Controller
 
Part 29 domain name system - dns -www.key4_vip.info
Part 29   domain name system - dns -www.key4_vip.infoPart 29   domain name system - dns -www.key4_vip.info
Part 29 domain name system - dns -www.key4_vip.info
 
Cấu hình network load balancing trên windows server 2008
Cấu hình network load balancing trên windows server 2008Cấu hình network load balancing trên windows server 2008
Cấu hình network load balancing trên windows server 2008
 
Báo cáo thực tập
Báo cáo thực tậpBáo cáo thực tập
Báo cáo thực tập
 
Part 37 exchange server - installation -www.key4_vip.info
Part 37   exchange server - installation -www.key4_vip.infoPart 37   exchange server - installation -www.key4_vip.info
Part 37 exchange server - installation -www.key4_vip.info
 
Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1Quản trị exchange server 2010 phan 1
Quản trị exchange server 2010 phan 1
 
Hướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent osHướng dẫn cài đặt và cấu hình cacti trên cent os
Hướng dẫn cài đặt và cấu hình cacti trên cent os
 
Nang cap dc
Nang cap dcNang cap dc
Nang cap dc
 
Part 33 hacking - windows server update service - wsus -www.key4_vip.info
Part 33   hacking - windows server update service - wsus -www.key4_vip.infoPart 33   hacking - windows server update service - wsus -www.key4_vip.info
Part 33 hacking - windows server update service - wsus -www.key4_vip.info
 
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.infoPart 48   upgrade server 2008 - windows server core - wsc -www.key4_vip.info
Part 48 upgrade server 2008 - windows server core - wsc -www.key4_vip.info
 
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
đề thi trắc nghiệm asp net co kem đáp án trên 400 câu hỏi thiết kế website ki...
 
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
400 câu hỏi thi trắc nghiệm ASP.NET có đáp án - Thiết kế website kinh doanh 2
 
Part 38 isa server - server publishing - smtp - pop3 - owa -www.key4_vip.info
Part 38   isa server - server publishing - smtp - pop3 - owa -www.key4_vip.infoPart 38   isa server - server publishing - smtp - pop3 - owa -www.key4_vip.info
Part 38 isa server - server publishing - smtp - pop3 - owa -www.key4_vip.info
 
Part 38 isa server - access rule -www.key4_vip.info
Part 38   isa server - access rule -www.key4_vip.infoPart 38   isa server - access rule -www.key4_vip.info
Part 38 isa server - access rule -www.key4_vip.info
 
Active directory federation services
Active directory federation servicesActive directory federation services
Active directory federation services
 
Part 41 upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...
Part 41   upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...Part 41   upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...
Part 41 upgrade server 2008 - upgrade server 2003 dc to server 2008 dc -www...
 

More from laonap166

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may in
laonap166
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epson
laonap166
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documents
laonap166
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cntt
laonap166
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biết
laonap166
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code
laonap166
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2
laonap166
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitor
laonap166
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake php
laonap166
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tlt
laonap166
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxt
laonap166
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang c
laonap166
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanh
laonap166
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hang
laonap166
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
laonap166
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbra
laonap166
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2
laonap166
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012
laonap166
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...
laonap166
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2
laonap166
 

More from laonap166 (20)

Huong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may inHuong dan xu ly cac loi khi su dung phan mem reset may in
Huong dan xu ly cac loi khi su dung phan mem reset may in
 
Huong dan reset muc l200 epson
Huong dan reset muc l200 epsonHuong dan reset muc l200 epson
Huong dan reset muc l200 epson
 
NEC Server Documents
NEC Server DocumentsNEC Server Documents
NEC Server Documents
 
Mtcv giám đốc tt cntt
Mtcv giám đốc tt cnttMtcv giám đốc tt cntt
Mtcv giám đốc tt cntt
 
Nếu bạn làm it bạn cần biết
Nếu bạn làm it  bạn cần biếtNếu bạn làm it  bạn cần biết
Nếu bạn làm it bạn cần biết
 
Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code Nhạp mon lap trinh khong code
Nhạp mon lap trinh khong code
 
Ha active active bang gfs2
Ha active  active bang gfs2Ha active  active bang gfs2
Ha active active bang gfs2
 
Hướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitorHướng dẫn cài đặt phần mềm turnoffmonitor
Hướng dẫn cài đặt phần mềm turnoffmonitor
 
Bao cao web cake php
Bao cao web cake phpBao cao web cake php
Bao cao web cake php
 
He 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tltHe 74 a-thltht-lãxuântâm-11tlt
He 74 a-thltht-lãxuântâm-11tlt
 
Quản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxtQuản lý cua hang giai khat lxt
Quản lý cua hang giai khat lxt
 
Ve ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang cVe ngoi nha lap trinh do hoa bang c
Ve ngoi nha lap trinh do hoa bang c
 
Don xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanhDon xin thanh lap doanh nghiep lien doanh
Don xin thanh lap doanh nghiep lien doanh
 
Thu cam on khach hang
Thu cam on khach hangThu cam on khach hang
Thu cam on khach hang
 
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloatCai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
Cai dat su_dung_acronis_snapdeployforpc_debungfilebackuphangloat
 
Xd email server zimbra
Xd email server zimbraXd email server zimbra
Xd email server zimbra
 
Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2Tom tat ly thuyet thi bằng lái xe b2
Tom tat ly thuyet thi bằng lái xe b2
 
Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012Policy Based Assignment DHCP – Windows Server 2012
Policy Based Assignment DHCP – Windows Server 2012
 
How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...How to backup active directory domain services database in windows server 201...
How to backup active directory domain services database in windows server 201...
 
Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2Dns backup and recovery in windows server 2012 r2
Dns backup and recovery in windows server 2012 r2
 

Part 45 upgrade server 2008 - internet information services - iis -www.key4_vip.info

  • 1. “Chuyên trang dành cho kỹ thuật viên tin học” CHIA SẺ - KINH NGHIỆM - HỌC TẬP - THỦ THUẬT Part 45 - Upgrade Server 2008 - Internet Information Services - IIS Kể từ phiên bản Windows Server 2008 trình IIS đã được Microsoft chú trọng hơn với những thiết kế hoàn toàn mới và nhiều tính năng rất mạnh. Trong bài này chúng ta sẽ tìm hiểu về IIS trong môi trường Windows Server 2008 Giả sử tôi có 2 Website là gccom.net và kythuatvien.com và để cấu hình cho hệ thống có thể truy cập các trang Web này thì đòi hỏi tôi phải có một DNS Server nhằm phân giải các tên miền này. Như vậy trong mô hình này tôi sử dụng 2 máy trong đó - Máy PC01 là máy DNS Server và sẽ cài đặt thêm dịch vụ IIS - Máy PC02 máy Client Cấu hình IP các máy như sau: Máy Đặc tính PC01 PC02 Card Lan IP Address 192.168.1.1 Subnet Mask 255.255.255.0 Default gateway Preferred DNS 127.0.0.1 Card Cross IP Address 172.16.1.1 172.16.1.2 Subnet Mask 255.255.255.0 255.255.255.0 Default gateway 172.16.1.1 Preferred DNS Card Lan: nối gián tiếp 2 máy PC01 & PC02 với nhau thông qua Switch Card Cross: nối trực tiếp các cặp máy PC01 với PC02 Tại máy PC01 (Web Server) để cài đặt Internet Information Server (IIS) bạn vào Server Manager chọn Add Roles Trong màn hình Select Server Roles bạn chọn Web Server (IIS) 1 of 23
  • 2. Trong Server Role Service có rất nhiều tùy chọn như ASP.Net, CGI... tuy nhiên trong bài tôi chỉ cài IIS để Test mà thôi nên tôi giữ nguyên giá trị mặc định Tiếp tục vào DNS để tạo Zone là gccom.net và tạo các Host (A) cho domain này 2 of 23
  • 3. Tạo tiếp các Pointer cho domain này Làm tương tự cho Zone kythuatvien.com Tiếp tục bạn tạo các trang Web Default cho gccom.net và kythuatvien.com như trong hình Trong thư mục gccom.net tôi tạo thêm một thư mục là Virtual và tạo một trang Web Default cho thư mục này 3 of 23
  • 4. Bây giờ ta bật chương trình Internet Information Services (IIS) Manager lên bằng cách vào Start -> Programs -> Administrative Tools -> Internet Information Services (IIS) Manager Nhận thấy IIS Version 7.0 trong Server 2008 có bố cục hoàn toàn khác với IIS 6.0 trong Server 2003 Mặc định IIS tao sẵn một Default Website tuy nhiên ta không sử dụng nó mà tạo một Website mới bằng cách nhấp phải vào Sites chọn Add Web Site... 4 of 23
  • 5. Trong cửa sổ Add Web Site bạn đặt tên cho Website này tại ô Site Name Chọn đường dẫn chứa trang Web tương ứng cho Website trong ô Physical path 5 of 23
  • 6. Đến đây do hệ thống chúng ta tồn tại hơn 2 Website nên khi truy cập vào mặc định hệ thống sẽ chạy Default Website chính vì thế để phân biệt các Website với nhau trong Server 2003 ta dùng Host Header Value thì trong Server 2008 ta dùng Host Name Nhấp phải vào GC Com Co bạn chọn Edit Bindings 6 of 23
  • 7. Trong cửa sổ Site Bindings chọn Add Add một Host Name mới là www.gccom.net Tương tự Add một Host name nữa là gccom.net Xóa Host name default đi để đảm bảo trong này chỉ tồn tại 2 Host Name ta vừa tạo mà thôi Trở lại màn hình IIS bạn nhấp phải vào GC Com Co chọn tiếp Manager Web Site -> Start để chạy dịch vụ Web này 7 of 23
  • 8. Làm tương tự cho Web kythuatvien.com Tiếp theo tại GC Com Co tôi sẽ tạo một Virtual Website nhằm chỉ đến thư mục Virtual trong gccom.net mà tôi đã tạo từ trước. Bạn nhấp phải vào GC Com Co chọn Add Virtual Directory Giả sử tôi đặt tên cho Virtual website này là mail nên trong ô Alias tôi nhập là mail và dẫn đường đến thư mục Virtual trong gccom.net 8 of 23
  • 9. Màn hình sau khi hoàn tất Bây giờ từ máy Client ta truy cập thử 2 trang Web sẽ thấy thành công 9 of 23
  • 10. Truy cập thử địa chỉ Alias của gccom.net cũng thấy thành công Đến đây ta đã cơ bản hoàn tất việc cấu hình IIS bây giờ ta sẽ đi vào tìm hiểu cách cấu hình SSL cho các Website Để cài đặt Certificate (CA) bạn vào lại Server Manager chọn Roles -> Add Roles Trong màn hình Select Server Roles bạn chọn Active Directory Certificate Services 10 of 23
  • 11. Trong màn hình Select Role Services bạn chọn 2 mục là Certification Authority và Certification Authority Web Enrollment Trong bài do tôi chỉ khảo sát CA trong môi trường WORKGROUP mà thôi nên trong cửa sổ Specify Setup Type tôi chọn Standalone 11 of 23
  • 12. Chọn Root CA Chọn tiếp Create a new private key 12 of 23
  • 13. Màn hình Configure Cryptography for CA giữ nguyên giá trị mặc định Tiếp tục tại cửa sổ Configure CA Name đặt tên cho CA của bạn trong bài giả sử tôi đặt là SERVER-CA Màn hình Select Role Services giữ nguyên giá trị mặc định 13 of 23
  • 14. Sau khi hoàn tất cài đặt CA bạn trở lại IIS tại màn hình IIS nhấp chọn Server Certificates Trong màn hình Server Certificates ta nhận thấy chỉ có một Certificate mặc định là SERVER-CA Bây giờ ta sẽ tiến hành xin Certificate cho Web Server bằng cách nhấp vào Create Certificate Request 14 of 23
  • 15. Trong Distinguished Name Properties bạn nhập thông tin cho Certificate các thông tin trong này bạn tùy thích chỉ có thông tin trong Common name là quan trọng nhất và ta phải nhập chính xác thông tin trong Common name này Do tôi xin Certificate cho trang www.gccom.net nên trong này tôi nhập là www.gcom.net Trong màn hình Cryptographic Service Provider Properties giữ nguyên giá trị mặc định 15 of 23
  • 16. Trong cửa sổ File Name bạn nhập đường dẫn để CA trích xuất Certificate trong bài ví dụ là C:gccom.txt Trong ổ đĩa C: sẽ xuất hiện file gccom.txt Bạn mở file gccom.txt lên copy toàn bộ nội dung này Tiếp theo bạn vào trang web của CA Server để xin Certificate tiếp tục nhấp vào Request a certificate 16 of 23
  • 17. Nhấp chọn Advanced certificate request Tiếp tục nhấp vào Link thứ 2 bên dưới 17 of 23
  • 18. Tại mục Saved Request bạn dán nội dung copy trong file gccom.txt Bật trình Certification Authority để Issue cho Certificate vừa xin cấp 18 of 23
  • 19. Tại máy Web Server vào lại màn hình Web của CA để xem trạng thái của Certificate và tiến hành cài đặt CA về máy Nhấp vào Saved Request Certificate 19 of 23
  • 20. Nhấp chọn Download certificate Trong bài tôi sẽ lưu file này vào C: có tên là certnew.cer 20 of 23
  • 21. Quay trở lại màn hình Server Certificates của IIS bạn nhấp chọn Complete Certificate Request Chọn file certnew.cer trong cửa sổ Specify Certificate Authority Response và đặt tên cho Certificate này là Web GCC Nhận thấy trong màn hình Server Certificate sẽ xuất hiện thêm một Certificate mới đây chính là Certificate cho Website của bạn Bây giờ tôi sẽ cấu hình SSL cho trang gccom.net nên tại GC Com Co bạn nhấp phải chọn Edit Bindings 21 of 23
  • 22. Trong cửa sổ Add Site Bendings bạn chọn giao thức https trong Type Trong SSL certificate bạn chọn là Web GCC Màn hình sau khi hoàn tất Bây giờ từ máy Client ta truy cập thử trang gccom.net với giao thức SSL sẽ thấy truy cập thành công 22 of 23
  • 23. OK mình vừa trình bày xong phần Internet Information Services - IIS trong 70-648, 70-649 của MCSA. Công ty TNHH đầu tư phát triển tin học GC Com Chuyên trang kỹ thuật máy vi tính cho kỹ thuật viên tin học Điện thoại: (073) - 3.511.373 - 6.274.294 Website: http://www.gccom.net 23 of 23