Question: how to install apache on ubuntu 18?
Answer: Step 1: Install Apache. To install the Apache package on Ubuntu, use the command: sudo apt-get install apache2. ... 
Step 2: Verify Apache Installation. To verify Apache was installed correctly, open a web browser and type in the address bar: http://local.server.ip. ... 
Step 3: Configure Your Firewall.