Download and install Apache web server
Use the following command to install the Apache web server:
sudo apt-get install apache
This will connect to the nearest Ubuntu Mirror, download and install the Apache service.
It will come with a default welcome page.
You should now see the default welcome page on http://1.2.3.4:80 in your browser with 1.2.3.4 being your IP
On Ubuntu, Apache by default will be configured to start automatically on reboot.
You have now completed the basic setup of a web server
- Updated