Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
-
Upload
smith-nguyen-studio -
Category
Documents
-
view
216 -
download
0
Transcript of Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
-
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
1/23
Chuyn trang dnh cho k thut vin tin hcCHIA S - KINH NGHIM - HC TP - TH THUT
Part 45 - Upgrade Server 2008 - Internet Information Services - IIS
K t phin bn Windows Server 2008 trnh IIS c Microsoft ch trng hn vi nhng thit k hon ton miv nhiu tnh nng rt mnh. Trong bi ny chng ta s tm hiu v IIS trong mi trng Windows Server 2008
Gi s ti c 2 Website l gccom.net v kythuatvien.com v cu hnh cho h thng c th truy cp cc trang Webny th i hi ti phi c mt DNS Server nhm phn gii cc tn min ny.
Nh vy trong m hnh ny ti s dng 2 my trong
- My PC01 l my DNS Server v s ci t thm dch v IIS
- My PC02 my Client
Cu hnh IP cc my nh sau:
My c tnh PC01 PC02
Card Lan
IP Address 192.168.1.1
Subnet Mask 255.255.255.0 Defaultgateway
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
Defaultgateway
172.16.1.1
Preferred DNS
Card Lan: ni gin tip 2 my PC01 &PC02 vi nhau thng quaSwitchCard Cross: ni trc tip cc cp my PC01 vi PC02
Ti my PC01 (Web Server) ci t Internet Information Server (IIS) bn vo Server Manager chn AddRoles
Trong mn hnh Select Server Roles bn chn Web Server (IIS)
1 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
2/23
Trong Server Role Service c rt nhiu ty chn nhASP.Net, CGI... tuy nhin trong bi ti ch ci IIS Test mthi nn ti gi nguyn gi tr mc nh
Tip tc vo DNS to Zone l gccom.net v to cc Host (A) cho domain ny
2 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
3/23
To tip cc Pointer cho domain ny
Lm tng t cho Zonekythuatvien.com
Tip tc bn to cc trang Web Default cho gccom.net v kythuatvien.com nh trong hnh
Trong th mc gccom.net ti to thm mt th mc l Virtual v to mt trang Web Default cho th mc ny
3 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
4/23
By gi ta bt chng trnh Internet Information Services (IIS) Manager ln bng cch vo Start -> Programs-> Administrative Tools -> Internet Information Services (IIS) Manager
Nhn thy IIS Version 7.0 trong Server 2008 c b cc hon ton khc vi IIS 6.0 trong Server 2003
Mc nh IIS tao sn mt Default Website tuy nhin ta khng s dng n m to mt Website mi bng cch nhpphi vo Sites chn Add Web Site...
4 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
5/23
Trong ca s Add Web Site bn t tn cho Website ny ti Site Name
Chn ng dn cha trang Web tng ng cho Website trong Physical path
5 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
6/23
-
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
7/23
Trong ca s Site Bindings chn Add
Add mt Host Name mi l www.gccom.net
Tng tAdd mt Host name na l gccom.net
Xa Host name default i m bo trong ny ch tn ti 2 Host Name ta va to m thi
Tr li mn hnh IIS bn nhp phi vo GC Com Co chn tip Manager Web Site -> Start chy dch v Web ny
7 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
8/23
Lm tng t cho Web kythuatvien.com
Tip theo ti GC Com Co ti s to mt Virtual Website nhm ch n th mc Virtual trong gccom.net m ti to t trc. Bn nhp phi vo GC Com Co chn Add Virtual Directory
Gi s ti t tn cho Virtual website ny l mail nn trong Alias ti nhp l mail v dn ng n th mcVirtual trong gccom.net
8 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
9/23
Mn hnh sau khi hon tt
By gi t my Client ta truy cp th 2 trang Web s thy thnh cng
9 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
10/23
Truy cp th a ch Alias ca gccom.net cng thy thnh cng
n y ta c bn hon tt vic cu hnh IIS by gi ta s i vo tm hiu cch cu hnh SSL cho cc Website
ci t Certificate (CA) bn vo li Server Manager chn Roles -> Add Roles
Trong mn hnh Select Server Roles bn chn Active Directory Certificate Services
10 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
11/23
Trong mn hnh Select Role Services bn chn 2 mc l Certification Authority v Certification Authority WebEnrollment
Trong bi do ti ch kho st CA trong mi trng WORKGROUP m thi nn trong ca s Specify Setup Type tichn Standalone
11 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
12/23
Chn Root CA
Chn tip Create a new private key
12 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
13/23
Mn hnh Configure Cryptography for CA gi nguyn gi tr mc nh
Tip tc ti ca s Configure CA Name t tn cho CA ca bn trong bi gi s ti t l SERVER-CA
Mn hnh Select Role Services gi nguyn gi tr mc nh
13 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
14/23
Sau khi hon tt ci t CA bn tr li IIS ti mn hnh IIS nhp chn Server Certificates
Trong mn hnh Server Certificates ta nhn thy ch c mt Certificate mc nh l SERVER-CA
By gi ta s tin hnh xin Certificate cho Web Server bng cch nhp vo Create Certificate Request
14 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
15/23
Trong Distinguished Name Properties bn nhp thng tin cho Certificate cc thng tin trong ny bn ty thch chc thng tin trong Common name l quan trng nht v ta phi nhp chnh xc thng tin trong Common name ny
Do ti xin Certificate cho trang www.gccom.net nn trong ny ti nhp l www.gcom.net
Trong mn hnh CryptographicService Provider Properties gi nguyn gi tr mc nh
15 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
16/23
Trong ca s File Name bn nhp ng dn CA trch xut Certificate trong bi v d l C:\gccom.txt
Trong a C:\ s xut hin file gccom.txt
Bn m file gccom.txt ln copy ton b ni dung ny
Tip theo bn vo trang web ca CA Server xin Certificate tip tc nhp vo Request a certificate
16 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
17/23
Nhp chn Advanced certificate request
Tip tc nhp vo Link th 2 bn di
17 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
18/23
Ti mc Saved Request bn dn ni dung copy trong file gccom.txt
Bt trnh Certification Authority Issue cho Certificate va xin cp
18 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
19/23
Ti my Web Server vo li mn hnh Web ca CA xem trng thi ca Certificate v tin hnh ci t CA v my
Nhp vo Saved Request Certificate
19 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
20/23
Nhp chn Download certificate
Trong bi ti s lu file ny vo C:\ c tn l certnew.cer
20 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
21/23
Quay tr li mn hnh Server Certificates ca IIS bn nhp chn Complete Certificate Request
Chn file certnew.cer trong ca s Specify Certificate Authority Response v t tn cho Certificate ny l Web
GCC
Nhn thy trong mn hnh Server Certificate s xut hin thm mt Certificate mi y chnh l Certificate choWebsite ca bn
By gi ti s cu hnh SSL cho trang gccom.net nn ti GC Com Co bn nhp phi chn Edit Bindings
21 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
22/23
Trong ca s Add Site Bendings bn chn giao thc https trong Type
Trong SSL certificate bn chn l Web GCC
Mn hnh sau khi hon tt
By gi t my Client ta truy cp th trang gccom.net vi giao thc SSL s thy truy cp thnh cng
22 of 23
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio -
7/29/2019 Part 45 - Upgrade Server 2008 - Internet Information Services - IIS - Smith.N Studio
23/23
OK mnh va trnh by xong phn Internet Information Services - IIS trong 70-648, 70-649 ca MCSA.
Cng ty TNHH u t pht trin tin hc GC Co mChuyn trang k thut my vi tnh cho k thut vin tin hc
in thoi: (073) - 3.511.373 - 6.274.294
Website: http://www.gccom.net
Smith Nguyen St
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio