Setup a Free Active Directory Server for your Lab
Вставка
- Опубліковано 26 сер 2024
- An Active Directory server can be a great addition to your lab environment. It can provide centralized user, group, DNS, Certificate Authority, and DHCP services. While many may not "need" this in a "LAB" environment, it is always good experience to use corporate/enterprise types of tooling when setting up a Lab environment. Unfortunately, not everyone has the funds available to get Microsoft Licenses so this video highlights Zentyal Development Edition by walking you through a basic installation and configuration. By the end of this 20~ish minute video, we will have an Ubuntu 20.04 LTS Linux server configured to provide the following functionality:
- Active Directory (AD) Domain Controller
- - AD Test groups
-- AD Test users
- DNS Server
- Certificate Authority
I also show how to install a custom private CA (Certificate Authority) cert in the Chromium browser on my Fedora 35 KDE VM.
Disclaimers:
=================================================================
Please note all non-English Subtitles are auto-translated.
This video was NOT sponsored by any vendor. Any paid products/services shown were paid for out of my own pocket.
If you wish to support this channel:
Feel free to tip me here ko-fi.com/Dime...
The following are PAID affiliate links. Any revenue generated via the links below will help pay for systems and services used in the hosting and production of my content:
- - -
RackNerd VPS: bit.ly/dqRackNerd
Domain Registration, CPanel Shared Hosting, VPS, SSL via NameCheap: bit.ly/dqNameC...
== My Gear - #AD Amazon Links:
As an Amazon Associate, I earn from qualifying purchases.
USB Capture Device: amzn.to/3NFvdpR
Standing Desk: amzn.to/3hBXFJG
34in Monitor: amzn.to/3HBCwKj
Thunderbolt 3 Dock: amzn.to/36W7YXb
== Workstation Build:
Full Tower Case: amzn.to/3vqJtKM
MB: amzn.to/3WSpNuY
CPU: amzn.to/3jCvij4
Cooler: amzn.to/3i1gyJW
Memory: amzn.to/3WQtBg5 (X2 for 128GB)
GPU: amzn.to/3G2f5v8
PSU: amzn.to/3PY54nf
Cache (nvme): amzn.to/3vn1qd2
OS (nvme): amzn.to/3vnDUwr
Data (SSD): amzn.to/3C9Ae5e (X2)
Keyboard: amzn.to/347VfPA
Mouse: amzn.to/3C8KzgH
Microphone: amzn.to/3JD4Myv
Thanks for this. Been looking for something just like this
You're welcome ! :) I appreciate you taking the time to comment.
Great video! Affirms the steps I used.
I’ve never been able to setup an additional domain controller, DNS and DHCP server for the purposes of resiliency in a satisfactory way. Any chance of a follow-up video to cover that?
I love this Server! 😍
Happy to hear that! It does indeed make a great server for a home lab or small-medium business from what I can tell. My use has been pretty limited - ie, just the functionality I show in the video... but I have been using it for a few years now.
Thanks, for the video. Can you please make a video on how to join dns with a mail server.
Not totally sure what you mean here: "how to join DNS with a mail server" -- My CyberPanel series covers mail server config and discusses briefly the DNS that is configured as part of CyberPanel as well as setting up the necessary record(s) in Google Domains.
This was great thank you! I'm trying to build a home lab I could remote to from outside of the Network(home). Still got a journeys to go before I get in that level. Any tips would be great.
Hello @eddyalamo4983, You're referencing UA-cam tutorials so you're already off to a good start! There are many youtubers that have been publishing much longer than me with a variety of safe recommendations for remote access. Anything from using a Wireguard VPN to access your home infrastructure to tunneling through cloudflare. There's plenty to learn in this area and can help with your professional career as you become more familiar with the various technologies available. If you're not already, I would also suggest getting in Reddit and joining the homelab and selfhosting subs there. There are always some great tools/tutorials being shared there that can help you learn tons.
so far I have no luck to make zentyal running. Following your method and running Ubuntu on top of proxmox. Everytime after installation, zentyal will stuck on webmin save and I will also lose all connection to the outside world. Can we get some help?
I don't have any experience with Proxmox so I have no idea what could be causing that. I know that many home labbers run Proxmox, but can't recall one specifically running Zentyal on Proxmox. As you saw in my video, I didn't have any such troubles with it on my VMware ESXi server. The one thing that does come to mind though - did you use Ubuntu 20.04 or 22.04 as your starting point? If 22.04, then that may be your problem as Zentyal 7.x is only confirmed for 20.04 according to what I've seen in their communities.
What resources are you throwing at it? Mine was pretty bad until I added 4gb ram and 4cpu. With 100gb storage.
@@eddysplosion my Zentyal has been running fine with 2 CPU and 4GB…. I recentydropped it down to single CPU and didn’t see any noticeable degradation. My use case and traffic are minimal so your results may vary. 4CPU (at least under VMware) is certainly overkill for a home network from what I’ve experienced.
can i use this on linux mint? thanks
I’m not confident in suggesting or trying that. Zentyal was only developed to work with Ubuntu 20.04, they’re really behind/slow to update to CURRENT releases of Ubuntu. Due to that, I wouldn’t waste time or effort trying it on another distribution.
Does this support PAP / CHAP?
I have no idea, you'd have to dig around Zentyal's documentation/community to find out...
Does it also work in Fedora OS?
Not that I'm aware of, this is an Ubuntu based appliance with the ability to install to Ubuntu. You could still have Fedora based clients connect to it and/or authenticate against it though.