Apache - ArtTHEbard/SYS255FA19-Notes GitHub Wiki

Apache HTTPD & DHCP Re-hosting

  • Apache is on open source umbrella project with lots of features.
  • HTTPS is the simple but important part.
  • its free!
  • Allows CA authentication of Linux machines through AD in our domain.
  • Each Linux system has its own /etc/passwd and /etc/shadow

LAB

  • I first configured my web01 box (10.0.5.4) and added it to the domain.
  • I downloaded apache (yum install httpd) and allowed the ports through my firewall (sudo firewall-cmd --permanent --add-port=80/tcp / sudo firewall-cmd --permanent --add-port=443/tcp)
  • Next, I started apache using the systemctl command
  • I was able to navigate to my webserver by searching the web01 name in the browser
  • I added an html file in the /var/www.html/ folder to make a web interface, and used php to run scripts

Linux Domain Join

  • The last part of the lab, I joined my system to my domain using realmd (sudo yum install realmd samba samba-common oddjob oddjob-mkhomedir sssd)
  • I used this command to join (realm join --user=[email protected] yourdomain.local realm list)
  • I was able to log into web01 as alice after that.