How to install an Apache Server on ubuntu machine(A debian system)?
Step1 : Check if the package is installed or not
#dpkg -l | grep apache
Step2 : Install the package if you did not get any output
#apt-get install apache*
Step3 : Now start the apache service
#service apache2 restart
#chkconfig apache2 on
Step5 : Check if the web server is running or not by accessing local host
#elinks localhost
Or
Here is the screen shot showing the test web page when apache is installed




