Apache Lab - michael-D-S/SYS-255 GitHub Wiki
Michael Sargent SYS-255-02, 10/20/2024
Apache lab ,Tech Journal
Overview:
Formatted and connected the web server to the domain and connected it to the AD.
Logins for future labs:
Login: @dm1n10g1n
Lab Notes:
Adding the Linux machine to the realm,
Use the command: sudo realm join --user="user_name" domain_name
Troubleshooting Steps Taken Checked Network Connectivity:
Confirmed that the Linux machine could ping the domain controller. Command:
ping [domain_controller_hostname] Verified DNS Configuration:
Checked DNS resolution for the domain controller and domain. Command:
nslookup [your_domain_name] nslookup [domain_controller_hostname] Ensured Time Synchronization:
Verified time settings using:
date Installed and started NTP service:
sudo dnf install chrony sudo systemctl start chronyd sudo systemctl enable chronyd Reviewed Kerberos Configuration:
Checked /etc/krb5.conf for correct realm and KDC settings. Examined Firewall Settings:
Confirmed that necessary ports were open (88, 389, 464). Command:
sudo firewall-cmd --list-all
Apache install and firewall-cmd config:
Updated Package Index
Command:
sudo dnf update
Installed Apache
Command:
sudo dnf install httpd
Started and Enabled Apache Service
Command:
sudo systemctl start httpd sudo systemctl enable httpd
Checked Apache Status
Command:
sudo systemctl status httpd
Configured Firewall
Added HTTP and HTTPS services to the firewall:
sudo firewall-cmd --permanent --add-service=http sudo firewall-cmd --permanent --add-service=https
sudo firewall-cmd --reload