To install apache, open terminal and
type below mentioned commands
sudo apt-get update
sudo apt-get install
apache2
After complete second command to check if Apache is installed properly or not, open
browser enter your server’s IP address (eg. http://192.168.0.100). The page
should display "It Works" that means your apache is working...