Apache Server: Installation
Apache is free and open-source software of web servers. Apache permits the owners of the websites to serve content over the web. It is the reason why it is known as a "web server." The aim of the web servers is to deliver websites over the internet. It behaves as a middleman among the client machines and servers to achieve that aim. It can pull the content through the server over every user request. Also, it delivers this request to the web.
Apache is not any physical
server; it is software that executes on the server. However, we define it as a
web server. Its objective is to build a connection between the website visitor
browsers (Safari, Google Chrome, Firefox, etc.) and the server.
How to install an Apache server
and how to edit the default webpage.
1. yum install apache2 –y
2. apache2 –version
3. systemctl status apache
4. hostname –i
5. Copy the public IP of Linux
machine from GCP and test in the browser
6. To create a custom webpage or
modify the webpage, go to the path
vi /var/www/html/index.html
7. now you can verify the same.
Comments
Post a Comment