Apache Lab - Galen-Dively/SYS250-02-Journal GitHub Wiki
Running Apache
-
Installed the httpd daemon.
-
Added ports 80/tcp & 443/tcp or HTTP and HTTPS defined services to the firewall permanently.
-
Used
systemctl
to enable and start httpd.
Customizing Apache
- Removed the
welcome.conf
file referenced in the message to Administrators. - Created a new file at
/var/www/html/
calledindex.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.
- Installed PHP and restarted httpd.
Linux Domain Join
- Installed
realmd
,samba
,samba-common
,oddjob
,oddjob-mkhomedir
, andsssd
.
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