当前位置:网站首页>搭建域环境(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的活动目录环境下进行一系列的操作,掌握其造作方法和运行机制,对内网的安全维护有很大的帮助。
不懂私信 又懒有菜
详情参考:《内网安全攻防-渗透测试指南》—— 徐焱
边栏推荐
- [three paradigms of database] you can understand it at a glance
- Meituan dynamic thread pool practice ideas, open source
- Relationship between hashcode() and equals()
- (原创)制作一个采用 LCD1602 显示的电子钟,在 LCD 上显示当前的时间。显示格式为“时时:分分:秒秒”。设有 4 个功能键k1~k4,功能如下:(1)k1——进入时间修改。
- Principles, advantages and disadvantages of two persistence mechanisms RDB and AOF of redis
- 7-3 构造散列表(PTA程序设计)
- [面试时]——我如何讲清楚TCP实现可靠传输的机制
- 附加简化版示例数据库到SqlServer数据库实例中
- Nuxtjs quick start (nuxt2)
- Experiment 7 use of common classes
猜你喜欢
2022泰迪杯数据挖掘挑战赛C题思路及赛后总结
【手撕代码】单例模式及生产者/消费者模式
中间件漏洞复现—apache
[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
HackMyvm靶机系列(4)-vulny
Safe driving skills on ice and snow roads
Thoroughly understand LRU algorithm - explain 146 questions in detail and eliminate LRU cache in redis
7-7 7003 组合锁(PTA程序设计)
MySQL事务及实现原理全面总结,再也不用担心面试
Canvas foundation 1 - draw a straight line (easy to understand)
随机推荐
Experiment five categories and objects
Inaki Ading
Canvas foundation 1 - draw a straight line (easy to understand)
实验七 常用类的使用(修正帖)
Matlab opens M file garbled solution
7-4 散列表查找(PTA程序设计)
Read only error handling
Mixlab unbounded community white paper officially released
Write a program to simulate the traffic lights in real life.
(original) make an electronic clock with LCD1602 display to display the current time on the LCD. The display format is "hour: minute: Second: second". There are four function keys K1 ~ K4, and the fun
Using spacedesk to realize any device in the LAN as a computer expansion screen
PriorityQueue (large root heap / small root heap /topk problem)
记一次猫舍由外到内的渗透撞库操作提取-flag
Intensive literature reading series (I): Courier routing and assignment for food delivery service using reinforcement learning
[during the interview] - how can I explain the mechanism of TCP to achieve reliable transmission
实验八 异常处理
Brief introduction to XHR - basic use of XHR
使用Spacedesk实现局域网内任意设备作为电脑拓展屏
Get started with typescript
MySQL事务及实现原理全面总结,再也不用担心面试