DEV Community

Cover image for IT HOMELAB PROJECT #1
Blessing Ndubuisi
Blessing Ndubuisi

Posted on

IT HOMELAB PROJECT #1

Welcome to my homelab project #1 where i showcase how to setup an Active directory lab using Hyper-V. My goal is to create a functional test environment that mimics a real world Active Directory setup.
SYSTEM REQUIREMENTS
Hyper-V is only available on 64bit editions of windows, specifically window 10/11pro,enterprise and education.

  • PREREQUISITES 1 = Enable Hyper v

HOW I ENABLED HYPER-V IN MY WINDOW 10 PRO

  1. Click on "control panel" open the control panel
  2. click on "programs and features"
  3. click on turn windows features on and off
  4. scroll down and check the box next to "Hyper-V", enable it and reboot your system. Image description
  5. click ok and restart your computer. if hyper v is installed correctively, you should see the hyperv manager console.
    Image description
    PREREQUISITE 2

  6. CREATE A NEW VIRTUAL MACHINE; I use hypervisor manager to create the Virtual machine and set up the lab. on the right hand side click on quick create

Image description

  1. INSTALL A SUPPORTED WINDOW SERVER: I downloaded window server 2019 Iso from www.microsoft.com/en-us/evalcenter/evaluate-windows-10

  2. Next, I configured the virtual machines networking settings to connect to my existing network infrastructure, open Hyper-V click on virtual switch manager, click on virtual switch manager and select the type of switch you want, I selected external switch apply the settings and click ok .

STEP 1** INSTALL ACTIVE DIRECTORY DOMAIN SERVICES**

  1. launch server manager as thus; open Hyper-V manger navigate to window server 2019 already installed in the Hyper-V, then launch the the server which also opens the server manager. click on "manage" scrol down to "Add roles and feature" Image description
  2. create a new domain and select "Add new forest"
  3. configure the domain setting by adding domain name, mine is Blessinglab.tech
  4. Promote to domain, I followed the wizard to promote the server to a domain controller, ** CONFIGURE DNS AND DHCP** I started by installing the DNS server role on the domain controller. i configured the DNS settings including the forward and reverse lookup zones. Image description Now i have successfully created the lookup zones you wil see two default entry, start of authority SOA and Name server... next is to add New Pointer R Image description To configured DHCP SERVER
  5. click on the yellow icon and go to post- deployment configuration, follow the wizard and run the "complete DHCP Configuration". Image description ..done Image description CREATE OUS,USERS AND GROUPS ON ACTIVE DIRECTORY <

Active directory users is a tool that lets you manage users,accounts and more.open server manager , go to tools,select active directory users and computers,console, right click on "new" and select "organizational unit". "OU" is just like a cointainer it can be used to store users,groups,etc
Image description open it, fill in the necessary details, i name the city of my org "LAGOS",
Image description you can create an org under it, i named mine "lekki Office"
Image description Next i created three new organizational unit in "lekki office" namely, ACCOUNTING, TECH AND HR Departmental units.

Image description next is to create users under the new unit, right click on the unit ,select new,scroll down to users, fill up the users information, fill in the password, the password must meet the password policy requirement. i successfuly created a user.
Image description So this is basically how to create users in "OU".
CREATE GROUPS
click on the created deparment, select users , then group. i created two groups i named them TECH_ADMIN and TECH_SUPPORT.
Image description

Top comments (0)