Apache HTTP Server Setup & VirtualHost

๐Ÿ’ก Apache HTTP Server Setup & VirtualHost โ€” Executive Summary

Technical architectural analysis, practical configuration manifests, and deployment instructions for Apache HTTP Server Setup & VirtualHost.

RHEL

bash
mkdir -p /var/www/html/packages

yum install httpd
yum install firewalld

systemctl start httpd
systemctl enable httpd
systemctl start firewalld
systemctl enable firewalld

# ๋ฐฉํ™”๋ฒฝ ์„ธํŒ…
firewall-cmd --zone=public --permanent --add-service=http
firewall-cmd --zone=public --permanent --add-service=https
firewall-cmd --reload

# ์„ค์ •ํŒŒ์ผ ํ™•์ธ
vim /etc/httpd/conf/httpd.conf
Main path
bash
# ์•ก์„ธ์Šค๋กœ๊ทธ
/var/log/apache2/

# Configs
/etc/apache2/
Features
wgetCheck requested IP
bash
cat /var/log/apache2/access.log | grep Wget
zcat /var/log/apache2/access.log.1.gz | grep Wget

References

Comments

Leave a Reply

Your email address will not be published. Required fields are marked *