In addition to Weibo, there is also WeChat
Please pay attention
WeChat public account
Shulou
2025-03-29 Update From: SLTechnology News&Howtos shulou NAV: SLTechnology News&Howtos > Servers >
Share
Shulou(Shulou.com)06/03 Report--
"actual combat training for system engineers"
-03-deploy domain controllers and domain name servers
-02-install the second domain controller and DNS server
On Win 2019 Core
Author: endless learning
QQ communication group: 454544014
# #
# install the second domain controller and DNS server
# #
Cmd
PowerShell
C:\ Users\ Administrator > PowerShell
Windows PowerShell
Copyright (C) Microsoft Corporation. All rights reserved.
PS C:\ Users\ Administrator > HostName
012-DC02
PS C:\ Users\ Administrator > IPConfig / ALL
Windows IP configuration
Hostname. . . . . . . . . . . . . : 012-DC02
Main DNS suffix. . . . . . . . . . . :
Node type. . . . . . . . . . . . : mixed
IP routing is enabled. . . . . . . . . . : no
The WINS agent is enabled. . . . . . . . . : no
Ethernet Adapter Ethernet0:
Connect a specific DNS suffix. . . . . . . :
Description. . . . . . . . . . . . . . . Intel (R) 82574L Gigabit Network Connection
Physical address. . . . . . . . . . . . . : 00-0C-29-C5-61-56
DHCP is enabled. . . . . . . . . . . : no
Automatic configuration is enabled. . . . . . . . . . : yes
Local link IPv6 address. . . . . . . . : fe80::859e:c113:d75b:9e80%4 (preferred)
IPv4 address. . . . . . . . . . . . : 10.1.1.12 (preferred)
Subnet mask. . . . . . . . . . . . : 255.255.255.0
Default gateway. . . . . . . . . . . . . : 10.1.1.254
DHCPv6 IAID. . . . . . . . . . . : 100666409
DHCPv6 client DUID. . . . . . . : 00-01-00-01-23-9D-90-DD-00-0C-29-C5-61-56
DNS server. . . . . . . . . . . : 10.1.1.11
10.1.1.12
NetBIOS on TCPIP. . . . . . . : enabled
PS C:\ Users\ Administrator >
# Step 1
Rename-Computer-NewName 012-DC02 Restart-Computer-Force
# Step 2
New-NetIPAddress-InterfaceIndex 12-IPAddress 10.1.1.12-PrefixLength 24 Set-DNSClientServerAddress-InterfaceIndex 12-ServerAddresses 10.1.1.11
# Step 3
Install-WindowsFeature-Name AD-Domain-Services
# Step 4
# Import PowerShell command module of active directory
Import-Module ADDSDeployment
# install ADDS and DNS
Install-ADDSDomainController-InstallDns:$True-Credential (Get-Credential "i-x-Cloud\ Administrator")-DomainName "i-x-Cloud"-DatabasePath "D:\ Windows\ NTDS"-LogPath "D:\ Windows\ NTDS"-SysvolPath "D:\ Windows\ SYSVOL"-NoRebootOnCompletion:$True-Force:$True
# Step 5
Restart-Computer-Force
C:\ Users\ Administrator.i-x-Cloud > dcdiag
Directory server diagnostics
Performing initialization settings:
Trying to find the primary server.
Primary server = 012-DC02
* identified AD forest.
Finished collecting initialization information.
The required initialization tests are in progress
Testing server: Default-First-Site-Name\ 012-DC02
Start testing: Connectivity
. 012-DC02 has passed the test Connectivity
Performing major tests
Testing server: Default-First-Site-Name\ 012-DC02
Start testing: Advertising
. 012-DC02 has passed the test Advertising
Start testing: FrsEvent
. 012-DC02 has passed the test FrsEvent
Start testing: DFSREvent
. 012-DC02 has passed the test DFSREvent
Start testing: SysVolCheck
. 012-DC02 has passed the test SysVolCheck
Start testing: KccEvent
. 012-DC02 has passed the test KccEvent
Start testing: KnowsOfRoleHolders
. 012-DC02 has passed the test KnowsOfRoleHolders
Start testing: MachineAccount
. 012-DC02 has passed the test MachineAccount
Start testing: NCSecDesc
. 012-DC02 has passed the test NCSecDesc
Start testing: NetLogons
. 012-DC02 has passed the test NetLogons
Start testing: ObjectsReplicated
. 012-DC02 has passed the test ObjectsReplicated
Start testing: Replications
. 012-DC02 has passed the test Replications
Start testing: RidManager
. 012-DC02 has passed the test RidManager
Start testing: Services
. 012-DC02 has passed the test Services
Start testing: SystemLog
. 012-DC02 has passed the test SystemLog
Start testing: VerifyReferences
. 012-DC02 has passed the test VerifyReferences
ForestDnsZones
Run partition tests on the
Start testing: CheckSDRefDom
. ForestDnsZones has passed the test CheckSDRefDom
Start testing: Cro***efValidation
. ForestDnsZones has passed the test Cro***efValidation
DomainDnsZones
Run partition tests on the
Start testing: CheckSDRefDom
. DomainDnsZones has passed the test CheckSDRefDom
Start testing: Cro***efValidation
. DomainDnsZones has passed the test Cro***efValidation
Schema
Run partition tests on the
Start testing: CheckSDRefDom
. Schema has passed the test CheckSDRefDom
Start testing: Cro***efValidation
. Schema has passed the test Cro***efValidation
Configuration
Run partition tests on the
Start testing: CheckSDRefDom
. Configuration has passed the test CheckSDRefDom
Start testing: Cro***efValidation
. Configuration has passed the test Cro***efValidation
I-x-Cloud
Run partition tests on the
Start testing: CheckSDRefDom
. I-x-Cloud has passed the test CheckSDRefDom
Start testing: Cro***efValidation
. I-x-Cloud has passed the test Cro***efValidation
I-x-Cloud.com
Run enterprise tests on the
Start testing: LocatorCheck
. I-x-Cloud.com has passed the test LocatorCheck
Start testing: Intersite
. I-x-Cloud.com has passed the test Intersite
C:\ Users\ Administrator.i-x-Cloud >
This article has been completed!
Welcome to subscribe "Shulou Technology Information " to get latest news, interesting things and hot topics in the IT industry, and controls the hottest and latest Internet news, technology news and IT industry trends.
Views: 0
*The comments in the above article only represent the author's personal views and do not represent the views and positions of this website. If you have more insights, please feel free to contribute and share.
Continue with the installation of the previous hadoop.First, install zookooper1. Decompress zookoope
"Every 5-10 years, there's a rare product, a really special, very unusual product that's the most un
© 2024 shulou.com SLNews company. All rights reserved.