How to set up a Domain Controller AD server on Ubuntu OS
Official Ubuntu Website
https://ubuntu.com/server/docs
0:00 - intro
0:10 - Update Ubuntu using the command below
sudo apt update
0:28 - Add domain controller services
sudo apt -y install samba krb5-config winbind smbclient
1:12 - Setup domain controller name or Fully Qualified Domain Name
Enter your desired domain name “EXAMPLE.COM”
Enter realm name “computername.example.com”
Enter administrator realm “computername.example.com”
2:45 - Set Static IP for new server
sudo apt install net-tools
ping "empty_ip_address"
example ping "10.0.0.2
5:12 - Edit host file
sudo nano /etc/hosts
10.0.0.45 computername.example.com computername
6:17 - Changing samba directory using the terminal
cd /etc/samba/
sudo mv smb.conf smb.conf.install
7:18 - Samba Domain Provision
sudo samba-tool domain provision
Enter realm “EXAMPLE.COM”
Enter Domain leave as default
Server role leave as default
DNS backend leave as default
DNS forwarder use “8.8.8.8”
Enter a domain controller admin password
9:21 - move samba configuration file to a new location
sudo cp /var/lib/samba/private/krb5.conf /etc/
10:28 - Restart server
sudo systemctl disable –now smbd nmbd winbind systemd-resolved.service
unmask samba server
sudo systemctl unmask samba-ad-dc.service
sudo systemctl enable –now samba-ad-dc.service
11:39 - Show current domain level
sudo samba-tool domain level show
12:55 - Name server configuration
sudo rm /etc/resolv.conf
sudo nano /etc/resolv.conf
nameserver 127.0.0.1
14:14- Join windows computers to the domain
18:40 -Firewall configuration and settings for the domain controller
sudo install ufw
sudo apt install ufw
sudo ufw status
sudo ufw enable
sudo ufw allow 53
sudo ufw allow 135
sudo ufw status
20:27 - Joining Ubuntu to Domain Controller and Active Directory
23:30 - Scan device for vulnerabilities
sudo nmap -sS -A –script “vuln,malware,version” 10.0.0.45
24:12 - Creating users
sudo samba-tool user username
Then enter a new password for that user
In questa pagina del sito puoi guardare il video online How to set up a Domain Controller AD server on Ubuntu OS della durata di ore minuti seconda in buona qualità , che l'utente ha caricato Telifox 27 ottobre 2021, condividi il link con amici e conoscenti, su youtube questo video è già stato visto 15,859 volte e gli è piaciuto 174 spettatori. Buona visione!