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

本文提供在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.

Java是一种具备卓越性能与广泛平台适应性的高级程序设计语言,最初由Sun Microsystems(现属Oracle公司)的James Gosling及其团队于1995年正式发布。该语言在设计上追求简洁性、稳定性、可移植性以及并发处理能力,同时具备动态执行特性。其核心特征与显著优点可归纳如下: **平台无关性**:遵循“一次编写,随处运行”的理念,Java编写的程序能够在多种操作系统与硬件环境中执行,无需针对不同平台进行修改。这一特性主要依赖于Java虚拟机(JVM)的实现,JVM作为程序与底层系统之间的中间层,负责解释并执行编译后的字节码。 **面向对象范式**:Java全面贯彻面向对象的设计原则,提供对封装、继承、多态等机制的完整支持。这种设计方式有助于构建结构清晰、模块独立的代码,提升软件的可维护性与扩展性。 **并发编程支持**:语言层面集成了多线程处理能力,允许开发者构建能够同时执行多项任务的应用程序。这一特性尤其适用于需要高并发处理的场景,例如服务器端软件、网络服务及大规模分布式系统。 **自动内存管理**:通过内置的垃圾回收机制,Java运行时环境能够自动识别并释放不再使用的对象所占用的内存空间。这不仅降低了开发者在内存管理方面的工作负担,也有效减少了因手动管理内存可能引发的内存泄漏问题。 资源来源于网络分享,仅用于学习交流使用,请勿用于商业,如有侵权请联系我删除!
### 安装和配置中间件于 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), 推荐考虑升级至更现代的操作系统版本以获得更好的兼容性和安全性保障。
评论
成就一亿技术人!
拼手气红包6.0元
还能输入1000个字符
 
红包 添加红包
表情包 插入表情
 条评论被折叠 查看
添加红包

请填写红包祝福语或标题

红包个数最小为10个

红包金额最低5元

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

抵扣说明:

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

余额充值