How To Install Apache Server On Ubuntu Machine?

0 comments

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

This dpkg -l command is similar to rpm -qa command in Redhat linux to list all the applications installed in your system.

Step2 : Install the package if you did not get any output

#apt-get install apache*

Step3 : Now start the apache service

#service apache2 restart

Step4 : On the service at booting time

#chkconfig apache2 on

Step5 : Check if the web server is running or not by accessing local host

#elinks localhost

Or

Access localhost from browser

Here is the screen shot showing the test web page when apache is installed

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Apache Server Installation On Redhat Linux

    0 comments

    How we can install Apache web server on Redhat linux?
    Ans : The simplest way to install Apache on redhat machine is to use yum command. 


    Follow below steps : 
    To install and check if the web server is running with default test page.


    Step1: Check if the package is installed or not


    #rpm -qa | grep httpd


    Step2 : Install the package if you did not get any output


    #yum install httpd


    Step3 : Now start the apache service


    #service httpd restart


    Step4 : On the service at booting time


    #chkconfig httpd on


    Step5 : Check if the web server is running or not by accessing local host


    #elinks localhost


    or 


    Access localhost from browser


    When you access the server through browser red-hat Linux will present you with a test page as shown below




  • Like the post? Please Subscribe to free RSS feed to get updates
  • Many How to's Related To Apache Web Server Is Going To Come On linuxnix.com

    1 comments

    Hi all,
    From today on words we are planing to provide in depth knowledge base on many Howto's related to Apache web server. Some of the howto's which we are going to present are as follows.


    1. About Apache web server
    2. Apache installation[Redhat/Debian]
    3. Apache installation through source
    4. Apache ip based web access
    5. Apache host based web access

    5a.Hosting multiple SSL websites on single host
    6. Apache authentication based web access
    7. Apache SSL based web access
    8. Apache integration with AD(Active Directory) authentication
    9. Apache log monitoring
    10.Apache web server security
    11.Troubleshooting apache
    12.Apache fine tuning
    And many more to come.

    For any queries please feel to comment on this or mail us at surendra@linuxnix.com and feel free to ask if we miss something to post about Apache web server. If you like our posts please refer our site to your friends and spread the knowledge.

  • Like the post? Please Subscribe to free RSS feed to get updates
  • Archive

    Translate this page

     

    The Linux Juggernaut | Copyright 2006-2009 Surendra Kumar Anne | Surendra's Home Page | Give us feedback how we are doing, Click here