Results 1 to 4 of 4

Thread: How to installing apache on linux

  1. #1
    Join Date
    Mar 2009
    Posts
    35

    How to installing apache on linux

    I am having Linux installed on my computer.... & Actually i am learning web designing & need to work on Apache... So i wanted to install Apache on Linux... Does Anyone know how to install Apache in Linux????

  2. #2
    Join Date
    May 2008
    Posts
    4,570

    Re: How to installing apache on linux

    Build and Install Apache

    The advantage for the construction of Apache with support for modules of dynamic load is that in the future, it can add functionality to his Web to only compile and install the modules, and reinitiate the Web server. If the characteristics were compiled in Apache, whom it would have to reconstruct of Apache from zero whenever it wanted to add or to update a module (like PHP). His binary Apache also is smaller, which means more efficient the use of the memory.

    The disadvantage of dynamic modules is a slight blow in comparison with the yield that have the compiled modules pulg

    Code:
    cd /usr/local/src/apache
    
    make clean
    
    ./configure \
    --prefix=/usr/local/apache \
    --enable-shared=max \
    --enable-module=rewrite \
    --enable-module=so
    Now Make & Install

  3. #3
    Join Date
    May 2008
    Posts
    4,345

    Re: How to installing apache on linux

    Installing Apache

    To initiate session like root. You can do this for the present terminal by means of his commando:

    Code:
              su root
    Now going to install Apache in /usr/local/etc just go there.

    Code:
              cd /usr/local/etc
    To unload the last stable version of Apache.org Apache in this directory. When to write this me apache all unloadings in a directory in case I need again:

    Code:
              /usr/local/downloads

  4. #4
    Join Date
    May 2008
    Posts
    4,831

    Re: How to installing apache on linux

    Install Apache in Linux

    Type the following command

    Code:
    # up2date httpd
    Start Apache

    Code:
    # chkconfig httpd on
    # /etc/init.d/httpd start

Similar Threads

  1. Replies: 4
    Last Post: 05-05-2012, 05:59 PM
  2. Permission error into apache var/www folder on Linux mint
    By X-MaaN in forum Operating Systems
    Replies: 5
    Last Post: 05-07-2011, 11:11 AM
  3. Install and configuring Apache Tomcat on Linux
    By VivRichards in forum Operating Systems
    Replies: 5
    Last Post: 10-11-2010, 01:35 PM
  4. Installing apache php and mysql on slackware
    By WinSlayer in forum Operating Systems
    Replies: 3
    Last Post: 10-08-2009, 09:54 PM

Tags for this Thread

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
Page generated in 1,711,621,049.16521 seconds with 17 queries