To install Apache on a Linux system, you typically use the package manager specific to your Linux distribution. Below are instructions for installing Apache on some popular Linux distributions:
sudo apt update
sudo apt install apache2
sudo systemctl status apache2
|OR|
sudo service apache2 status
Once Apache is installed and running, you can access the default Apache web page by entering your server’s IP address in a web browser. If you see the Apache welcome page, it means Apache has been successfully installed on your Linux system.