How to install and set up (HTTPD) on AMAZON LINUX SERVER.#DEVOPS#CLOUD ENGINEER#LINUX ANALYST.
I am going to demonstrate the installation of Apache on the Amazon Linux server and set up a single-node architecture for a website using the “index.html” file. This will serve as a proof of concept for displaying “Hello, World!” on the public IP address DNS. Additionally, I will cover basic Linux commands and provide a step-by-step discussion on the HTTPD files stored on the Linux server after the installation.
by rohit singla
linux dns server
Install.sh
sudo yum update -y
sudo yum install httpd -y
echo "httpd has been installed successfully"
systemctl start httpd
ls -ld /var/www/html
echo "<html><body>Hello World!.</body></html>"
Explore Apache files at these locations :-
Main configuration file: /etc/httpd/conf/httpd.conf
Virtual Hosts: /etc/httpd/conf.d/