How to install Apache web server on Xubuntu 18.04

How to install Apache web server on Xubuntu 18.04

Apache web server is one of the most popular web server in the world and in this article i'm going to show you how to install apache web server version 2 on xubuntu 18.04.

How to install apache web server on Xubuntu 18.04
  • open command line on xubuntu
  • run update command
  • sudo apt-get update
  • install apache
  • sudo apt-get install apache2
  • start the service (if not started)
  • sudo service apache2 start
  • open url http://localhost/ to make sure it's working
  • done!

You can use these commands to start, stop, restart, and get status of apache web server:
sudo service apache2 stop
sudo service apache2 start
sudo service apache2 restart
sudo service apache2 status


Share this

Previous
Next Post »