Documenti di Didattica
Documenti di Professioni
Documenti di Cultura
ServerCoreDomainControllers
ByDonJonesConcentratedTech.com WindowsServer2008sServerCoreinstallationoptionisagreatoptionfordomain controllers:Theoperatingsystemhasasmallerfootprintandhassofarrequired significantlyfewerpatchesthanthefullWindowsinstallation,makingitpossibleto havelessdowntimeandmaintenanceforyourcriticalDCs.Inthispaper,wellinstall aServerCoredomaincontrollerfromscratch.
StartingtheInstallation
Theinstallationbegins,ironically,withthelightweightGUIinstallerthatsfamiliar toalleditionsofWin2008andtoWindowsVista.SelectoneoftheServerCore options.Notethatthisisaonetimedecision:Youcantlaterupgradetothefull Windowsinstallation,norcanyoudowngradeafullinstalltoServerCore.
Thatsabouttheonlydecisionyouhaveduringinstallation.Whenitsfinished,youll belookingatalogonscreenandmightbewonderingwhattodo.SelecttheOther
UserandloginasAdministrator.Useablankpassword;youllbeimmediately promptedtocreateanewpassword.
Manyofthesewillbecommandsyourefamiliarwithalready;othersarenewand areuniquetoServerCore.
BasicConfiguration
SincewerebuildingaDC,youllprobablywanttostartbyassigningastaticIP address.DosousingtheNetshcommand,asshown,togetalistofnetwork interfaces.UsethenumberintheIdxcolumntorefertotheinterfaceinlater commands.
ActivatingWindows
ServerCorestillrequiresactivation,whichisatwostepprocessthatusestheSlmgr command.First,installaproductkey.Then,activateWindows.NotethatServer Coreiscompatiblewithenterprisekeyserversifyourorganizationusesoneof those.RunSlmgrwithoutanyparameterstogetapopupdialogboxofotherthings itcando;notethatthedialogoftenappearsbehindthecommandlinewindow,and theresnoTaskBartoclueyouin.Ifthecommandsoutputdoesntshowupquickly, trymovingtheCmd.exewindowoutoftheway.Dontcloseitifyoudo,press Ctrl+Alt+DeletetogettoTaskmanager,andusetheNewTaskmenuoptiontoruna newinstanceofCmd.exe.
CustomizetheServer
Sincearebootwillberequiredafterwards,usetheShutdown/rcommandto reboot.
InstallingRoles
IgenerallyliketoinstalltheDNSServerrolemyself,sothatIcancustomizeit.After installing,youllneedtousetheDNSadministrationconsoleonanothercomputer (suchasyourworkstation)toconnecttotheServerCorecomputerandconfigure DNS.ServerCoredoesntrunanygraphicaladmintools.Youcouldalsousethe DnscmdcommandtoconfigureDNS,ifyourecomfortablewithit.Toinstallthe role,usetheOcsetupcommand;IprefertogetthisgoingbyusingtheStart/w command,whichsuspendsthecommandpromptuntilOcsetupfinishes.Ifyoudont dothis,thecommandpromptimmediatelyreturnswhiletheinstallationcompletes inthebackground,andyouwontknowwhenitsdone.
Withyourunattendedfileready,runDcpromo/unattend:filenametostarttheAD installationprocess.Youllseeplentyofoutputtellingyouwhatshappening.