Date post: | 03-Apr-2018 |
Category: |
Documents |
Upload: | smith-nguyen-studio |
View: | 222 times |
Download: | 0 times |
of 14
7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
1/14
Chuyn trang dnh cho k thut vin tin hcCHIA S - KINH NGHIM - HC T P - TH T HUT
Part 48 - Upgrade Server 2008 - Windows Server Core - WSC
K tWindows Server 2008 tr i Microsoft nhn thy vn bo mt & n nh h thng cng c phi chtrng hn chnh v thMicrosoft a ra mt chun h iu hnh Server mi gi l Windows Server Core vichun mi ny h iu hnh Server ca bn khng cn giao din ha na m mi thao tc trn Server u cs dng bng lnh thng qua DOS Command hoc cc cng c iu khin t xa trong Remote Administration ctch hp trong Windows Vista & Windows Server 2008
Li ch ca vic ng dng Windows Server Core:
- Gim n mc ti a kh nng b tn cng t bn ngoi v Server Core khng c cc cng c ha cng nh cccng c, ng dng...
- Server Core s gip ta gim bt cng tc bo tr v mi thao tc ta u thc hin trn mt my Remote khc, chnhv khng c cc cng c, ng dng... nn Server Core chy rt n nh t gy li cng nh xung t h thng.
- Server Core chim rt t dung lng a cng ch khong 1.5Gb m thi nn cc dch v chy trn ny s c tc truy cp nhanh hn v khng gian a cng s d gi hn.
Nh vy vi Server Core ngi ta s ci cc dch v nhDHCP, DNS, Web..... ln cc my Server Core ny. Khi ta dng mt my Server 2008 no v tin hnh ci cc cng c Remote Administration ln y cu hnh ccdch v trn Server Core.
Nh vy trong m hnh ny ti s dng 2 my trong :
- My PC01 l my Server 2008
- My PC02 l cc my Server Core v s tin hnh nng cp ln DC Server vi Domain l gccom.net
Cu hnh IP cc my nh sau:
My c tnh PC01 PC02
Card LanIP Address 192.168.1.1
Subnet Mask 255.255.255.0
1 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
2/14
Defaultgateway
Preferred DNS 192.168.1.2
Card Cross
IP Address
Subnet Mask
Default
gateway
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
By gi ta tin hnh ci t mt WindowsServer Core (Xem li bi Part 19 - Install Windows - Sysprep). Ti mnhnh Select the operating system you want to install bn chn phin bn Windows Server 2008 Enterprise(Server Core Installation)
Qu trnh ci t Server Core ang tin hnh
2 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
3/14
Sau khi qu trnh ci t Server Core hon tt bn ng nhp vo Windows tuy nhin v Server Core khng c giaodin ha nn sau khi ng nhp thnh cng mn hnh DOS Command s bt ln
Tip tc bn nhp lnh hostname xem tn ca my tnh
Mc nh sau khi ci t hon tt Windows Server Core s gn mt tn rt rm r trong bi lWIN-H7X0AWSUYD3
By gi ta s tin hnh i tn my thnh CORE bn nhp lnh:
Netdom RenameComputer %ComputerName% /NewName:CORE
Nhp Y ng
Tip tc Restart li my tnh bn nhp lnh:
Shutdown /r /t 0
3 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
4/14
Sau khi Restart li my tnh ta s tin hnh nng cp Server Core ln thnh DC Server Core
Trc tin bn tt Firewall bng cch nhp lnh:
NetSH Firewall Set OpMode Mode=Disable
Ti my PC01 (Server 2008) bn cng tt Firewall i
4 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
5/14
Tr li my PC02 (Server Core) ta tin hnh xem chi tit cc Card mng ca my bng cch nhp lnh:
NetSH Interface ipv4 Show Interface
Trong bi chng ta s thy c n 2 Card mng l Local Area Connection & Local Area Connection 2 vi ID
tng tng l 2 v 5
Do mc nh IP ca cc Card ny u trng thi Obtain nn ta s tin hnh cu hnh IP cho cc Card ny, bnnhp lnh:
ipconfig /all xem IP cc Card mng
5 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
6/14
Trong bi do ti ch s dng Card Local Area Connection nn ti s tin hnh chnh IP cua Card ny bn nhp lnhtheo c php
NetSH Interface ipv4 Set Address Name"" Source=Static Address= Mask= Gateway=
Trong v d ny ti s cu hnh IP Card Local Area Connection thnh 192.168.1.2/24 vi Default Gateway l192.168.1.200 nn ti DOS Command ti nhp lnh:
NetSH Interface ipv4 Set Address Name"2" Source=Static Address=192.168.1.2 Mask=255.255.255.0
Gateway=192.168.1.200
Tip tc ta s chnh Preferred DNS ca Card Local Area Connection v chnh IP ca mnh bng cch nhp lnh:
6 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
7/14
NetSH Interface ipv4 Set DNSServer Name="2" Address=192.168.1.2 index=1
Nhp lnh ipconfig /all xem kt qu
Ping thPC01 thy truy cp thnh cng
7 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
8/14
By gi t my PC01 bn truy cp vo a C:\ ca PC02 v to mt File l Unattend.txt
Ni dung file Unattend.txt
[ DCI NSTALL]
Repl i caOr NewDomai n=Domai n
Tr eeOr Chi l d=Tr ee
Cr eat eOr J oi n=Cr eat e
NewDomai nDNSName=gc com. net
DNSOnNet wor k=yes
Domai nNet bi osName=gccom
Aut oConf i gDNS=yes
Si t eName=Def aul t _Fi r st _Si t e_Name
Al l owAnonymousAcc ess=no
Dat abasePat h=%sy st emr oot %\ nt dsLogPat h=%syst emr oot %\ nt ds
SYSVOLPat h=%syst emr oot %\ sysvol
Saf eModeAdmi nPas swor d=P@sswor d
Cr i t i c al Repl i c at i onOnl y=No
Reboot OnSuccess=yes
Ti my PC02 nhp lnh Dir xc thc tn ti File Unattend.txt trong C:\
8 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
9/14
By gi ta s tin hnh nng cp ln DC Server Core bng cch nhp lnh:
DCPROMO /Unattend:unattend.txt
Qu trnh nng cp ang din ra
Sau khi ci t hon tt bn vo li ipconfig /all xc nh my c nng cp ln DC Server Core hon chnh
9 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
10/14
By gi ti my PC01 ti s tin hnh Join vo Domaingccom.net trong DC Server Core
Trc tin trong IP Card Lan bn phi Preferred DNS v my PC02
Chuyn tWORKGROUP sang Domain l gccom.net
10 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
11/14
Sau khi Join thnh cng bn vo li System Properties xc nhn l my PC01 c Join vo Domain thnhcng
By gi ti my PC01 ti s tin hnh ci t cc cng c Remote Administration iu khin t xa cho my
Server Core
Bt Server Manager ln chn Features -> Add Features
Ti mn hnh Select Features bn chn Remote Server Administration Tools v tin hnh ci t
11 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
12/14
Sau khi ci t hon tt ta thy trong Administrative Tools ca PC01 c rt nhiu cng c mi y chnh l cccng c bn c th t my PC01 tinh chnh my PC02 bng giao din ha
Gi s ti s t my PC01 v mun cu hnh DNS cho my PC02 nn ti y ti chn DNS
12 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
13/14
Trong mn hnh Connect to DNS Server bt ra bn nhp IP ca my PC02 v nhp OK
Mn hnh DNS ca PC02 s hin ra hon chnh v mi cu hnh ca bn trn ny hon ton khng tc ng g nPC01 c m s c lu trc tip ln my PC02 (Windows Server Core) m thi
13 of 14
Smith Nguyen St
ttp://www.facebook.com/SmithNguyenStudio
http://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudiohttp://www.facebook.com/SmithNguyenStudio7/29/2019 Part 48 - Upgrade Server 2008 - Windows Server Core - WSC - Smith.N Studio
14/14
OK mnh va trnh by xong phn Windows Server Core trong 70-648, 70-649 ca MCSA.
Cng ty TNHH u t pht trin tin hc GC ComChuyn 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