how to install apache server in ubuntu

C++
sudo apt-get install apache2sudo apt update
sudo apt install apache2
service apache2 reload

Source

Also in C++: