Windows Server 创建域、加入域、域管理

安装域

添加角色

使用添加角色的主要好处是该步骤会检查服务器的配置,需要安装那些必要的功能等。

Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image

执行dcpromo.exe

在运行中输入"dcpromo"

Windows Server 创建域、加入域、域管理
image
Windows Server 创建域、加入域、域管理
image

由于是新创建域,所以选择在新林中新建域

Windows Server 创建域、加入域、域管理
image

输入域名

Windows Server 创建域、加入域、域管理
image

由于我这里都是2008的系统,所以这里选择2008

Windows Server 创建域、加入域、域管理
image

创建域必须得有DNS服务器进行解析,这里勾选安装DNS,将DNS和域服务器安装在一台服务器上。

Windows Server 创建域、加入域、域管理
image

选择“是”

Windows Server 创建域、加入域、域管理
image

域的数据库文件和日志文件,最好是放置在性能好的存储设备上,需要进行备份,这里是测试选择默认路径。

Windows Server 创建域、加入域、域管理
image

设置域的管理员密码,这个密码很重要,并且设置一个复杂度高的密码。

Windows Server 创建域、加入域、域管理
image

最后一步时间很长,完成重启即可

Windows Server 创建域、加入域、域管理
image

配置域服务器的ip

Windows Server 创建域、加入域、域管理
image

检查netlogon服务是否启动

Windows Server 创建域、加入域、域管理
image

加入域

首先对需要加入域的pc配置DNS,DNS设置为刚才创建域的服务器ip

Windows Server 创建域、加入域、域管理
image

右键计算机属性-点击更改-选择域-输入域名

Windows Server 创建域、加入域、域管理
image

重启机器

Windows Server 创建域、加入域、域管理
image

创建域用户

创建域用户,针对制定的加入域的成员电脑创建制定的登入用户,该用户只能登入制定的电脑。

右键我的电脑-管理,定位到域目录下的users,右键-新建-用户

输入用户名

Windows Server 创建域、加入域、域管理
image

输入密码,选择用户不能更改密码,密码永不过期。

Windows Server 创建域、加入域、域管理
image

完成用户创建

Windows Server 创建域、加入域、域管理
image

右键刚才创建的test用户-属性-账户-登入到

Windows Server 创建域、加入域、域管理
image

选择“下列计算机”,输入该用户允许登入的计算机机器名。

Windows Server 创建域、加入域、域管理
image

总结

要理解域首先要了解一些网络知识,搭建好域环境是配置高可用方案的基础。