当前位置:网站首页>搭建域环境(win)
搭建域环境(win)
2022-07-06 09:22:00 【又懒有菜】
目录
本blog环境:Windows Server 2012 R2 and Win2008
常见域环境是用:win2012 win7 win2003
Server 2012 R2、Window7 或者 Server 2003 操作系统搭建的Windows域环境。
本blog环境:Windows Server 2012 R2 and Win2008
MSDN, 我告诉你 - 做一个安静的工具站 (itellyou.cn)
https://msdn.itellyou.cn/
1.Window Server 2012 R2 服务器配置
1)变更计算机名DC(用于存储活动目录数据库的计算机)
变更之后重启

2)设置服务器IP,DNS
设置IP为192.168.1.11(不要设置192.168.1.1 可能与物理机重叠ip)
子网掩码为255.255.255.0
DNS设置为192.168.1.11(win2012作为服务器 就设置为此IP)

3)安装域控制器(AD DS)和DNS服务
登录win2012服务器,可以看到 "服务器管理器" 窗口
0x01、单击 “添加角色和功能” , 进入“添加校色和功能向导” 界面。再“开始之前”部分,默认设置。
单击“下一步”,进入“安装类型”部分,选择“基于角色或者基于功能的安装”选项。
单击“下一步”,进入“服务器选择”部分。默认设置

单击“下一步”,勾选“Active Directory域服务”和“DNS服务器”。

在“功能”界面默认设置。默认、默认
单击“下一步”,进入“确认”部分。下一步 等待2分钟 重启

4)升级服务器 点击上方“三角感叹号”

点击“将此服务器提升为域控制器”。

进入“Active Directory 域服务配置向导”
选择“添加新林” ,根域名要符合DNS域名解析
等待2分钟

再次进入“服务器管理器”
仪表盘下拉,AD DS 与 DNS均已配置完成

5)添加Active Directory用户
右键选择“Active Directory用户和计算机”

右键”Users“,添加“新用户”,设置密码



2.Win2008计算机配置
1)设置DNS解析为服务器IP
IP地址与服务器保持在同一网段

2)通过cmd ping DNS查看是否配置成功

3)将win2008加入win2012创建的域
点击“域”,点击“确定”

输入域管理员设置的账号密码

4)成功加入域cai.yulab

5) 创建成功后即可在win7中用域用户账号登录到域

通常所说的内网渗透测试,很大程度上就是域渗透测试,搭建域测试环境,在windows的活动目录环境下进行一系列的操作,掌握其造作方法和运行机制,对内网的安全维护有很大的帮助。
不懂私信 又懒有菜
详情参考:《内网安全攻防-渗透测试指南》—— 徐焱
边栏推荐
猜你喜欢

仿牛客技术博客项目常见问题及解答(三)

MATLAB打开.m文件乱码解决办法

Strengthen basic learning records

【黑马早报】上海市监局回应钟薛高烧不化;麦趣尔承认两批次纯牛奶不合格;微信内测一个手机可注册俩号;度小满回应存款变理财产品...

2022泰迪杯数据挖掘挑战赛C题思路及赛后总结

Renforcer les dossiers de base de l'apprentissage

实验六 继承和多态

1143_ SiCp learning notes_ Tree recursion

这次,彻底搞清楚MySQL索引

Record a penetration of the cat shed from outside to inside. Library operation extraction flag
随机推荐
Have you encountered ABA problems? Let's talk about the following in detail, how to avoid ABA problems
实验七 常用类的使用
实验四 数组
Inaki Ading
7-8 7104 Joseph problem (PTA program design)
1. First knowledge of C language (1)
About the parental delegation mechanism and the process of class loading
A comprehensive summary of MySQL transactions and implementation principles, and no longer have to worry about interviews
[dark horse morning post] Shanghai Municipal Bureau of supervision responded that Zhong Xue had a high fever and did not melt; Michael admitted that two batches of pure milk were unqualified; Wechat i
Miscellaneous talk on May 27
Matlab opens M file garbled solution
This time, thoroughly understand the MySQL index
Attach the simplified sample database to the SQLSERVER database instance
HackMyvm靶机系列(7)-Tron
Record a penetration of the cat shed from outside to inside. Library operation extraction flag
SRC mining ideas and methods
强化学习基础记录
【黑马早报】上海市监局回应钟薛高烧不化;麦趣尔承认两批次纯牛奶不合格;微信内测一个手机可注册俩号;度小满回应存款变理财产品...
Experiment 6 inheritance and polymorphism
2022 Teddy cup data mining challenge question C idea and post game summary