Installing Active Directory on Windows Server 2008 R2 Enterprise 64-bit

安装ADDS于Windows Server 2008 R2
本文提供在Windows Server 2008 R2 Enterprise 64位上安装Active Directory Domain Services (ADDS)的先决条件及步骤。包括选择域名、配置首选DNS服务器、添加Active Directory Domain Services角色以及使用DCPROMO进行安装等关键步骤。

[from] http://www.rackspace.com/knowledge_center/article/installing-active-directory-on-windows-server-2008-r2-enterprise-64-bit


This article provides prerequisites and steps for installing Active Directory Domain Services (AD DS) on Microsoft Windows Server 2008 R2 Enterprise 64-bit (W2K8). 
This article does not provide instructions for adding a Domain Controller (DC) to an already existing Active Directory Forest Infrastructure.

Contents

  1. Prepare for Active Directory Domain Services Installation
  2. Install Active Directory Domain Services (DCPROMO)

Prepare for Active Directory

Before you install AD DS on a Rackspace Cloud Server running Windows Server 2008 R2 Enterprise 64-bit (W2K8), you must perform the following prerequisite tasks.

Select Domain Name and Password

Select your domain name and know the domain administrator password that you want to use.

Note: Although it is not required, we recommend that you use a multiple name format for your domain name. For example, use domainName.com or domainName.local rather than simply domainName.

Specify the Preferred DNS Server

Windows Server 2008 can properly install and configure DNS during the AD DS installation if it knows that the DNS is local. You can accomplish this by having the private network adapter’s preferred DNS server address point to the already assigned IP address of the same private network adapter, as follows:

  1. From the Windows Start menu, open Administrative Tools > Server Manager.
  2. In the Server Summary section of the Server Manager window, click View Network Connections.

    2K8_64R2_ADDS.jpg

  3. In the Network Connections window, right-click the private adapter and select Properties.

    2K8_64R2_ADDS(1).jpg

  4. Select Internet Protocol Version 4, and then click Properties.

    2K8_64R2_ADDS(7).jpg

  5.  Copy the IP address that is displayed in the IP address box and paste it into the Preferred DNS server box. Then, click OK.

    2K8_64R2_ADDS(2).jpg

  6. Click OK in the Properties dialog box, and close the Network Connections window.

Note: The last step for prepping W2K8 for AD is adding the proper Server Role. The “Active Directory Domain Services” Role will be added. This only installs the framework for W2K8 to become a DC and run AD. It does not promote the server to DC or install AD.

Add the Active Directory Domain Services Role (You may start here if only add AD role)

Adding the Active Directory Domain Services role installs the framework for Windows Server 2008 to become a DC and run AD DS. It does not promote the server to a DC or install AD DS.

  1. In the Server Manager window, open the Roles directory and in the Roles Summary section, click Add Roles.

    2K8_64R2_ADDS(3).jpg

  2. On the Before You Begin page of the Add Roles Wizard, click Next.
  3. On the Select Server Roles page, select the Active Directory Domain Services check box, and then click Next on this page and on the Confirmation page.

    2K8_64R2_ADDS(4).jpg

  4. On the Installation Progress page, click Install

    2K8_64R2_ADDS(5).jpg

  5. On the Results page, after the role is successfully added, click Close.

    2K8_64R2_ADDS(6).jpg

Enable the Remote Registry

  1. Open the Server Manager window if it is not already open. 
  2. In the Properties area of the Local Servers page, click Remote Managemen
  3. Select the Enable remote management of this server from other computers check box.

Install Active Directory Domain Services (DCPROMO)

Now that you have prepared the server, you can install AD DS.

Tip: As an alternative to performing steps 1 through 3, you can type dcpromo.exe at the command prompt. Then, skip to step 4.

  1. If it is not already open, open the Server Manager window.
  2. Select Roles > Active Directory Domain Services.
  3. In the Summary section,click Run the Active Directory Domain Services Installation Wizard (dcpromo.exe).

    2K8_64R2_ADDS(8).jpg

  4. On the Welcome page of the Active Directory Domain Services Installation Wizard, ensure that the Use advanced mode installation check box is cleared, and then click Next.

    2K8_64R2_ADDS(10).jpg

  5. On the Operating System Capability page, click Next.

    2K8_64R2_ADDS(11).jpg

  6. On the Choose a Deployment Configuration page, select Create a new domain in a new forest and then clickNext.

    2K8_64R2_ADDS(12).jpg

  7. On the Name the Forest Root Domain page, enter the domain name that you choose during preparation steps. Then, click Next.

    2K8_64R2_ADDS(13).jpg

  8. After the installation verifies the NetBIOS name, on the Set Forest Functional Level page, select Windows Server 2008 R2 in the Forest function level list. Then, click Next.

    2K8_64R2_ADDS(14).jpg
    The installation examines and verifies your DNS setting.

  9. On the Additional Domain Controller Options page, ensure that the DNS server check box is selected, and then click Next.

    (You may not set DNS server if only add AD role)

    2K8_64R2_ADDS(15).jpg

  10. In the message dialog box that appears, click Yes.

    2K8_64R2_ADDS(16).jpg

  11. On the Location for Database, Log Files, and SYSVOL page, accept the default values and then click Next.

    2K8_64R2_ADDS(17).jpg

  12. On the Directory Services Restore Mode Administrator Password page, enter the domain administrator password that you chose during the preparation steps. This is not your admin password that was emailed to you during the creation of your server, although you can use that password if you want to. Then, click Next.

    2K8_64R2_ADDS(18).jpg

  13. On the Summary page, review your selections and then click Next
    The installation begins.

    2K8_64R2_ADDS(19).jpg

  14. If you want the server to restart automatically after the installation is completed, select the Reboot on completion check box.

    2K8_64R2_ADDS(20).jpg

  15. If you did not select the Reboot on completion check box, click Finish in the wizard. Then, restart the server. 

    2K8_64R2_ADDS(21).jpg

  16. After a few minutes, reconnect to your server by using the Console in your Control Panel or RDP.

  17. To log in, perform the following steps:
        a.  Click Switch User, and then click Other User.
        b.  For the user, enter the full domain name that you chose, followed by a back slash and Administrator. 
        c.  Enter the password that was emailed to you when you first built the server. If you changed your password 
              for the local admin account to this server before you began the installation of AD   DS, use that password. 
        d.  Click the log in button.

The installation of Active Directory Domain Services on your server is complete.

For information about protecting your server from DNS amplification attacks, see Preventing DNS Amplification Attacks via the Windows Firewall in Windows 2008 R2 or Windows 2012.

### 安装和配置中间件于 Windows Server 2008 R2 #### 中间件的选择与准备 对于Web应用程序的支持,尤其是ASP.NET Core应用,在Windows Server 2008 R2上部署前需确认已安装必要的.NET框架版本和支持组件。由于提到的是较新的技术栈(.NET Core),而Windows Server 2008 R2默认可能不支持最新版本的.NET Core运行时环境[^1]。 #### 准备工作 为了使服务器能够托管ASP.NET Core应用程序,必须先下载并安装适用于Windows Server 2008 R2的.NET Core Hosting Bundle。这一步骤确保了操作系统具备执行.NET Core应用程序所需的依赖项和服务。 ```powershell # 使用PowerShell脚本自动检测并安装缺失的更新包(假设存在适用的补丁) $UpdateSession = New-Object -ComObject Microsoft.Update.Session $Searcher = $UpdateSession.CreateUpdateSearcher() $Updates = @($Searcher.Search("IsInstalled=0 and Type='Software'").Updates) if ($Updates.Count -gt 0){ foreach ($Update in $Updates){ Write-Host "Installing update:" $Update.Title # 这里省略实际调用安装的过程,因为具体实现取决于可用的API或者命令行工具 } } ``` 请注意上述代码仅为示意用途,并未真正实现自动化安装功能;真实环境中应当依据官方文档指导完成相应操作。 #### 实际安装过程 一旦准备工作就绪,则可以通过以下方式来继续: - 下载针对目标平台优化过的.NET Core SDK或Runtime Installer; - 执行安装程序,遵循向导提示直至结束; - 对IIS(Internet Information Services)进行适当调整以便更好地配合.NET Core应用的工作模式,比如启用特定模块或是修改处理请求的方式等。 考虑到Windows Server 2008 R2已经接近生命周期终点(EOL), 推荐考虑升级至更现代的操作系统版本以获得更好的兼容性和安全性保障。
评论
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

当前余额3.43前往充值 >
需支付:10.00
成就一亿技术人!
领取后你会自动成为博主和红包主的粉丝 规则
hope_wisdom
发出的红包
实付
使用余额支付
点击重新获取
扫码支付
钱包余额 0

抵扣说明:

1.余额是钱包充值的虚拟货币,按照1:1的比例进行支付金额的抵扣。
2.余额无法直接购买下载,可以购买VIP、付费专栏及课程。

余额充值