Installing Apache on Ubuntu
Summary
Login as administrator:
x
$ sudo su
Update Ubuntu:
x
$ apt-get update
Install Apache v2:
x
$ apt-get install apache2
Restart Apache:
x
$ /etc/init.d/apache2 restart
Write permission on Apache default directory:
x
$ chmod 777 /var/www
Test using:
http://localhost
or http://127.0.0.1/
or http://localhost:80
or http://127.0.0.1:80
what is apache