Вы находитесь на странице: 1из 14

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

LabAnswerKey:Module1:DeployingandManaging

LabAnswerKey:Module1:DeployingandManaging WindowsServer2012 Lab:DeployingandManagingWindowsServer2012

WindowsServer2012

Lab:DeployingandManagingWindowsServer2012

Exercise1:DeployingWindowsServer2012

Task1:InstalltheWindowsServer2012R2server

1.

2.

3.

4.

5.

6.

OpentheHyper­VManagerconsole.

Click20410D­LON­SVR3.

IntheActionspane,clickSettings.

UnderHardware,clickDVDDrive.

ClickImagefile,andthenclickBrowse.

BrowsetoD:\ProgramFiles\MicrosoftLearning\20410\Drives,andthenclick

Windows2012R2RTM.iso.

ClickOpen,andthenclickOK.

IntheHyper­VManagerconsole,double­click20410D­LON­SVR3.

IntheVirtualMachineConnectionWindow,intheActionmenu,clickStart.

IntheWindowsSetupWizard,ontheWindowsServer2012R2page,verifythe

followingsettings,andthenclickNext:

o

Languagetoinstall:English(UnitedStates)

7.

8.

9.

10.

o

Timeandcurrencyformat:English(UnitedStates)

o

Keyboardorinputmethod:US

11.

OntheWindowsServer2012R2page,clickInstallnow.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

12. OntheSelecttheoperatingsystemyouwanttoinstallpage,selectWindowsServer

page,select WindowsServer 2012R2DatacenterEvaluation(ServerwithaGUI) ,andthenclick

2012R2DatacenterEvaluation(ServerwithaGUI),andthenclickNext.

13. OntheLicensetermspage,reviewtheoperatingsystemlicenseterms,selecttheI

acceptthelicensetermscheckbox,andthenclickNext.

14. OntheWhichtypeofinstallationdoyouwant?page,clickCustom:Install

Windowsonly(advanced).

15. OntheWheredoyouwanttoinstallWindows?page,verifythatDrive0Unallocated

SpacehasenoughspacefortheWindowsServer2012R2operatingsystem,andthen

clickNext.

Note:Dependingonthespeedoftheequipment,theinstallationtakes

approximately20minutes.Thevirtualmachinewillrestartseveraltimesduring

thisprocess.

16. OntheSettingspage,inboththePasswordandReenterpasswordboxes,enterthe

passwordPa$$w0rd,andthenclickFinish.

Task2:Changetheservername

1. SignintoLON­SVR3asAdministratorwiththepasswordPa$$w0rd.

2. InServerManager,clickLocalServer.

3. ClicktherandomlygeneratednamenexttoComputername.

4. IntheSystemPropertiesdialogbox,ontheComputerNametab,clickChange.

5. IntheComputerName/DomainChangesdialogbox,intheComputernametextbox,

enterthenameLON­SVR3,andthenclickOK.

6. IntheComputerName/DomainChangesdialogbox,clickOK.

7. ClosetheSystemPropertiesdialogbox.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

8. IntheMicrosoftWindowsdialogbox,clickRestartNow.

8. Inthe MicrosoftWindows dialogbox,click RestartNow . Task3:Changethedateandtime 1. SignintoserverLON­SVR3as

Task3:Changethedateandtime

1. SignintoserverLON­SVR3asAdministratorwiththepasswordPa$$w0rd.

2. Onthetaskbar,clickthetimedisplay.Apop­upwindowwithacalendarandaclock

appears.

3. Inthepop­upwindow,clickChangedateandtimesettings.

4. IntheDateandTimedialogbox,clickChangeTimeZone.

5. IntheTimeZoneSettingsdialogbox,setthetimezonetoyourcurrenttimezone,and

thenclickOK.

6. IntheDateandTimedialogbox,clickChangeDateandTime.

7. VerifythatthedateandtimethatdisplayintheDateandTimeSettingsdialogbox

matchthoseinyourclassroom,andthenclickOK.

8. ToclosetheDateandTimedialogbox,clickOK.

Task4:Configurethenetwork

1. OnLON­SVR3,intheServerManagerconsole,clickLocalServer.

2. IntheServerManagerconsole,nexttoEthernet,clickIPv4addressassignedby

DHCP,IPv6Enabled.

3. IntheNetworkConnectionsdialogbox,right­clickEthernet,andthenclick

Properties.

4. IntheEthernetPropertiesdialogbox,clickInternetProtocolVersion4(TCP/IPv4),

andthenclickProperties.

5. IntheInternetProtocolVersion4(TCP/IPv4)Propertiesdialogbox,clickUsethe

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

followingIPaddress,enterthefollowingIPaddressinformation,andthenclickOK:

o

o

o

o

OK : o o o o IPaddress: 172.16.0.101 SubnetMask: 255.255.0.0

IPaddress:172.16.0.101

SubnetMask:255.255.0.0

DefaultGateway:172.16.0.1

PreferredDNSserver:172.16.0.10

6. ClickClosetoclosetheEthernetPropertiesdialogbox.

7. ClosetheNetworkConnectionsdialogbox.

Task5:Addtheservertothedomain

1.

2.

3.

4.

OnLON­SVR3,intheServerManagerconsole,clickLocalServer.

NexttoWorkgroup,clickWORKGROUP.

IntheSystemPropertiesdialogbox,ontheComputerNametab,clickChange.

IntheComputerName/DomainChangesdialogbox,intheMemberOfarea,clickthe

Domainoption.

IntheDomainbox,typeadatum.com,andthenclickOK.

IntheWindowsSecuritydialogbox,enterthefollowingdetails,andthenclickOK:

o

o

Username:Administrator

Password:Pa$$w0rd

IntheComputerName/DomainChangesdialogbox,clickOK.

Wheninformedthatyoumustrestartthecomputertoapplythechanges,clickOK.

5.

6.

7.

8.

9.

IntheSystemPropertiesdialogbox,clickClose.

10.

11.

IntheMicrosoftWindowsdialogbox,clickRestartNow.

AfterLON­SVR3restarts,signinasAdatum\Administratorwiththepassword

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

Pa$$w0rd.

Pa$$w0rd . Results

Results:Aftercompletingthisexercise,youshouldhavedeployedWindowsServer2012

onLON­SVR3.YoualsoshouldhaveconfiguredLON­SVR3,includingnamechange,

dateandtime,andnetworking.

Exercise2:ConfiguringWindowsServer2012ServerCore

Task1:Setcomputername

1. SignintoLON­COREasAdministratorwiththepasswordPa$$w0rd.

2. Atthecommandprompt,typesconfig.cmdandpressEnter.

3. ToselectComputerName,type2,andthenpressEnter.

4. EnterthecomputernameLON­CORE,andthenpressEnter.

5. IntheRestartdialogbox,clickYes.

6. SignintoserverLON­COREusingtheAdministratoraccountwiththepassword

Pa$$w0rd.

7. Atthecommandprompt,typehostname,andthenpressEntertoverifythecomputer’s

name.

Task2:Changethecomputer’sdateandtime

1. EnsureyouaresignedintoserverLON­COREasAdministratorwiththepassword

Pa$$w0rd.

2. Atthecommandprompt,typesconfig.cmd,andthenpressEnter.

3. ToselectDateandTime,type9,andthenpressEnter.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

4. IntheDateandTimedialogbox,clickChangetimezone.Setthetimezonetothe

dialogbox,click Changetimezone .Setthetimezonetothe sametimezonethatyourclassroomuses,andthenclick OK . 5. Inthe

sametimezonethatyourclassroomuses,andthenclickOK.

5. IntheDateandTimedialogbox,clickChangeDateandTime,andverifythatthedate

andtimematchthoseinyourlocation.Todismissthedialogboxes,clickOKtwotimes.

6. IntheCommandPromptwindow,type15,andthenpressEntertoexitServer

Configuration.

Task3:Configurethenetwork

1. EnsurethatyouaresignedintoserverLON­COREusingtheaccountAdministrator

andthepasswordPa$$w0rd.

2. Atthecommandprompt,typesconfig.cmd,andthenpressEnter.

3. ToconfigureNetworkSettings,type8,andthenpressEnter.

4. Typetheindexnumberofthenetworkadapterthatyouwanttoconfigure,andthenpress

Enter.

5. OntheNetworkAdapterSettingspage,type1,andthenpressEnter.Thissetsthe

NetworkAdapterAddress.

6. ToselectstaticIPaddressconfiguration,typeS,andthenpressEnter.

7. AttheEnterstaticIPaddress:prompt,type172.16.0.111,andthenpressEnter.

8. AttheEntersubnetmaskprompt,type255.255.0.0,andthenpressEnter.

9. AttheEnterdefaultgatewayprompt,type172.16.0.1,andthenpressEnter.

10. OntheNetworkAdapterSettingspage,type2,andthenpressEnter.

ThisconfigurestheDNSserveraddress.

11. AttheEnternewpreferredDNSserverprompt,type172.16.0.10,andthenpress

Enter.

12. IntheNetworkSettingsdialogbox,clickOK.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

13. TochoosenottoconfigureanalternateDNSserveraddress,pressEnter.

14. Type 4 ,andthenpressEntertoreturntothemainmenu. 15. Type

14. Type4,andthenpressEntertoreturntothemainmenu.

15. Type15,andthenpressEntertoexitsconfig.cmd.

16. Atthecommandprompt,typepinglon­dc1.adatum.comtoverifyconnectivitytothe

domaincontrollerfromLON­CORE.

Task4:Addtheservertothedomain

1. EnsurethatyouaresignedintoserverLON­COREusingtheaccountAdministrator

withthepasswordPa$$w0rd.

2. Atthecommandprompt,typesconfig.cmd,andthenpressEnter.

3. ToswitchtoconfigureDomain/Workgroup,type1,andthenpressEnter.

4. Tojoinadomain,typeD,andthenpressEnter.

5. AttheNameofdomaintojoinprompt,typeadatum.com,andpressEnter.

6. AttheSpecifyanauthorizeddomain\userprompt,typeAdatum\Administrator,and

thenpressEnter.

7. AttheTypethepasswordassociatedwiththedomainuserprompt,typePa$$w0rd,

andthenpressEnter.

8. AttheChangeComputerNameprompt,clickNo.

9. IntheRestartdialogbox,clickYes.

10. SignintoserverLON­COREwiththeAdatum\Administratoraccountandthe

passwordPa$$w0rd.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

Exercise3:ManagingServers

Exercise3:ManagingServers Task1:Createaservergroup 1. SignintoLON­DC1withthe

Task1:Createaservergroup

1. SignintoLON­DC1withtheAdministratoraccountandthepasswordPa$$w0rd.

2. IntheServerManagerconsole,clickDashboard,andthenclickCreateaservergroup.

3. IntheCreateServerGroupdialogbox,clicktheActiveDirectorytab,andthenclick

FindNow.

4. IntheServergroupnamebox,typeLAB­1.

5. UsethearrowtoaddLON­COREandLON­SVR3totheservergroup.ClickOKto

closetheCreateServerGroupdialogbox.

6. IntheServerManagerconsole,clickLAB­1.PressandholdtheCtrlkey,andthenselect

bothLON­COREandLON­SVR3.

7. Scrolldown,andunderthePerformancesection,selectbothLON­COREandLON­

SVR3.

8. Right­clickLON­CORE,andthenclickStartPerformanceCounters.

Task2:Deployfeaturesandrolestobothservers

1. InServerManageronLON­DC1,clickLAB­1.

2. Scrolltothetopofthepane,right­clickLON­CORE,andthenclickAddRolesand

Features.

3. IntheAddRolesandFeaturesWizard,clickNext.

4. OntheSelectinstallationtypepage,clickRole­basedorfeature­basedinstallation,

andthenclickNext.

5. OntheSelectdestinationserverpage,verifythatLON­CORE.Adatum.comis

selected,andthenclickNext.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

6. OntheSelectserverrolespage,selectWebServer(IIS),andthenclickNext.

page,select WebServer(IIS) ,andthenclick Next . 7. Onthe Features page,select WindowsServerBackup

7. OntheFeaturespage,selectWindowsServerBackup,andthenclickNext.

8. OntheWebServerRole(IIS)page,clickNext.

9. OntheSelectroleservicespage,addtheWindowsAuthenticationroleservice,and

thenclickNext.

10. OntheConfirminstallationselectionspage,selecttheRestartthedestinationserver

automaticallyifrequiredcheckbox,andthenclickInstall.

11. ClickClosetoclosetheAddRolesandFeaturesWizard.

12. InServerManager,right­clickLON­SVR3,andthenclickAddRolesandFeatures.

13. IntheAddRolesandFeaturesWizard,ontheBeforeyoubeginpage,ClickNext.

14. OntheSelectinstallationtypepage,clickRole­basedorfeature­basedinstallation.

ClickNext.

15. OntheSelectdestinationserverpage,verifythatLON­SVR3.Adatum.comis

selected,andthenclickNext.

16. OntheServerRolespage,clickNext.

17. OntheSelectfeaturespage,clickWindowsServerBackup,andthenclickNext.

18. OntheConfirminstallationselectionspage,selecttheRestartthedestinationserver

automaticallyifrequiredcheckbox,andthenclickInstall.

19. Oncetheinstallcommences,clickClose.

20. InServerManager,refreshtheview,clicktheIISnode,andthenverifythatLON­

COREislisted.

Task3:Reviewservicesandchangeaservicesetting

1. SignintoLON­COREwiththeAdatum\Administratoraccountandthepassword

Pa$$w0rd.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

2.

3.

4.

5.

6.

7.

8.

9.

2. 3. 4. 5. 6. 7. 8. 9.

IntheCommandPromptwindow,typethefollowingtwocommands,andpressEnter

aftereachone:

netsh.exe advfirewall firewall set rule group="remote desktop" new enable=yes netsh.exe advfirewall firewall set rule group="remote event log management" new enable=yes

SignintoLON­DC1withtheAdatum\Administratoraccountandthepassword

Pa$$w0rd.

InServerManager,clickLAB­1.

Right­clickLON­CORE,andthenclickComputerManagement.

IntheComputerManagementconsole,expandServicesandApplications,andthen

clickServices.

Right­clicktheWorldWideWebPublishingservice,andthenclickProperties.Verify

thattheStartuptypeissettoAutomatic.

IntheWorldWideWebPublishingServicedialogbox,ontheLogOntab,verifythat

theserviceisconfiguredtousetheLocalSystemaccount.

OntheRecoverytab,configurethefollowingsettings,andthenclicktheRestart

ComputerOptionsbutton:

o

o

o

Firstfailure:RestarttheService

Secondfailure:RestarttheService

Subsequentfailures:RestarttheComputer

o

Resetfailcountafter:1days

o

Restartserviceafter:1minute

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

10. IntheRestartComputerOptionsdialogbox,intheRestartComputerAfterbox,

dialogbox,inthe RestartComputerAfter box, type 2 ,andthenclick OK . 11. Click OK toclosethe

type2,andthenclickOK.

11. ClickOKtoclosetheWorldWideWebPublishingServicesPropertiesdialogbox.

12. ClosetheComputerManagementconsole.

Results:Afteryoucompletethisexercise,youshouldhavecreatedaservergroup,

deployedrolesandfeatures,andconfiguredthepropertiesofaservice.

Exercise4:UsingWindowsPowerShelltoManageServers

Task1:UseWindowsPowerShelltoconnectremotelytoserversandview

information

1. SignintoLON­DC1withtheAdatum\Administratoraccountandthepassword

Pa$$w0rd.

2. IntheServerManagerconsole,clickLAB­1.

3. Right­clickLON­CORE,andthenclickWindowsPowerShell.

4. Atthecommandprompt,typethefollowing,andthenpressEnter:

Import-Module ServerManager

5. ToreviewtherolesandfeaturesinstalledonLON­CORE,atthecommandprompt,type

thefollowing,andthenpressEnter:

Get-WindowsFeature

6. ToreviewtherunningservicesonLON­CORE,atthecommandprompt,typethe

following,andthenpressEnter:

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

status -eq "Running"}
status
-eq "Running"}

Get-service | where-object {$

7. ToviewalistofprocessesonLON­CORE,atthecommandprompt,typethefollowing,

andthenpressEnter:

Get-process

8. ToreviewtheIPaddressesassignedtotheserver,atthecommandprompt,typethe

following,andthenpressEnter:

Get-NetIPAddress | Format-table

9. Toreviewthemostrecent10itemsinthesecuritylog,atthecommandprompt,typethe

following,andthenpressEnter:

Get-EventLog Security -Newest 10

10. CloseWindowsPowerShell.

Task2:UseWindowsPowerShelltoremotelyinstallnewfeatures

1. OnLON­DC1,onthetaskbar,clicktheWindowsPowerShellicon.

2. ToverifythattheXPSViewerfeaturehasnotbeeninstalledonLON­SVR3,typethe

followingcommand,andthenpressEnter:

Get-WindowsFeature -ComputerName LON-SVR3

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

3. TodeploytheXPSViewerfeatureonLON­SVR3,typethefollowingcommand,and

thenpressEnter: Install-WindowsFeature XPS-Viewer

thenpressEnter:

Install-WindowsFeature XPS-Viewer -ComputerName LON-SVR3

4. ToverifythattheXPSViewerfeaturehasnowbeendeployedonLON­SVR3,typethe

followingcommand,andthenpressEnter:

Get-WindowsFeature -ComputerName LON-SVR3

5. IntheServerManagerconsole,fromtheToolsdrop­downmenu,clickWindows

PowerShellISE.

6. IntheWindowsPowerShellISEwindow,intheUntitled1.ps1scriptpane,typethe

following,pressingEnteraftereachline:

Import-Module ServerManager Install-WindowsFeature WINS -ComputerName LON-SVR3 Install-WindowsFeature WINS -ComputerName LON-CORE

7. ClicktheSaveicon.

8. SelecttherootofLocalDisk(C:).

9. CreateanewfoldernamedScripts,andthensavethescriptinthatfolderas

InstallWins.ps1.

10. Torunthescript,presstheF5key.

Results:Afteryoucompletethisexercise,youshouldhaveusedWindowsPowerShellto

performaremoteinstallationoffeaturesonmultipleservers.

15/04/2015

LabAnswerKey:Module1:DeployingandManagingWindowsServer2012

Prepareforthenextmodule

Prepareforthenextmodule

Afteryoufinishthelab,revertthevirtualmachinestotheirinitialstatebycompletingthe

followingsteps:

1. Onthehostcomputer,switchtotheHyper­VManagerconsole.

2. IntheVirtualMachineslist,right­click20410D­LON­DC1,andthenclickRevert.

3. IntheRevertVirtualMachinedialogbox,clickRevert.

4. Repeatsteps2and3for20410D­LON­COREand20410D­LON­SVR3.