Apache Lab - Galen-Dively/SYS250-02-Journal GitHub Wiki

Running Apache

  1. Installed the httpd daemon.

  2. Added ports 80/tcp & 443/tcp or HTTP and HTTPS defined services to the firewall permanently.

  3. Used systemctl to enable and start httpd.

Customizing Apache

  1. Removed the welcome.conf file referenced in the message to Administrators.
  2. Created a new file at /var/www/html/ called index.html with a welcome message including the hostname.

PHP

Static content is useful, but today's web applications are powered by dynamic data and rendered via scripting languages such as PHP.

  1. Installed PHP and restarted httpd.

Linux Domain Join

  1. Installed realmd, samba, samba-common, oddjob, oddjob-mkhomedir, and sssd.

Joining the Domain

  • Attempted to join the domain yourname.local.
  • Encountered issues with the realm connection and time zone synchronization.
  • Resolved the issue by discovering the realm first.

Commands Used

realm join [email protected] yourdomain.local
realm list