All about Apache

I'm setting up my own web server....I've bought the domain name, set the two DNS computers, and I'm installing Linux this Friday...

How do I install Apache?

Anyone have general tips?
----

Comments

  • Hi Mike,

    I think many (or at least some) versions of Linux come with Apache installed with them as default, so you may not have to download and install it.

    But, if you do I suggest you download and install the binary file rather than compiling it yourself. Then, to configure it you're looking for the file:-

    httpd.conf

    I forget where it's put on a Linux system....you should find docs somewhere to help. But this file is a text file containing all the configuration for how to run the server, where to execute CGI's, were SSI should be enabled, what alias points to what folder....the file is quite easy to edit if you're used to editing the script style stuff - I just read through it once and got the hang of it but the documentation is good otherwise.

    Good luck! :)

    Jonathan

    ------------------------------------------
    Count downloads from your site for free!
    http://www.downloadcounter.com/

  • httpd.conf would be located in /etc/httpd/httpd.conf by default I believe.


    : Hi Mike,
    :
    : I think many (or at least some) versions of Linux come with Apache installed with them as default, so you may not have to download and install it.
    :
    : But, if you do I suggest you download and install the binary file rather than compiling it yourself. Then, to configure it you're looking for the file:-
    :
    : httpd.conf
    :
    : I forget where it's put on a Linux system....you should find docs somewhere to help. But this file is a text file containing all the configuration for how to run the server, where to execute CGI's, were SSI should be enabled, what alias points to what folder....the file is quite easy to edit if you're used to editing the script style stuff - I just read through it once and got the hang of it but the documentation is good otherwise.
    :
    : Good luck! :)
    :
    : Jonathan
    :
    : ------------------------------------------
    : Count downloads from your site for free!
    : http://www.downloadcounter.com/
    :
    :

  • [b][red]This message was edited by the Manish at 2002-2-10 6:34:54[/red][/b][hr]
    Hi,

    Do have a look at this Apache Installation WalkThrough. This shud help you...

    http://www.mayukhbose.com/apache-install/index.html

    :)


    Manish
    http://www.manishmalik.com



  • : I'm setting up my own web server....I've bought the domain name, set the two DNS computers, and I'm installing Linux this Friday...
    :
    : How do I install Apache?
    :
    : Anyone have general tips?----
    :

    Apache isn't always installed per default.
    If it is, at least in Redhat, it will be installed in
    folder /etc/httpd and when typeing "httpd -v" it should return the
    current version of Apache Web-server.

    If it's not installed yet, you should download the latest version from http://httpd.apache.org.
    After downloading, unpack the tar.gz-file: "tar -zxvf xxxx.tar.gz",
    this will extract everything in a directory that is named similar as your file. Do a "cd" to this directory, then you could type:

    ./configure --prefix=/etc/httpd

    this will set the Apache installation directory to /etc/httpd, by default this is /usr/local/apache, please note that you have a lot more options compile-options; you can check them with './configure --help'.

    After that, you do "make" and then "make install". Voila!
    When this is OK, you copy the http-binary (bin/httpd) to directory /usr/sbin. Now start apache by typing "httpd".


    Hope this answer your question.


    Regards,,


    Sander









Sign In or Register to comment.

Howdy, Stranger!

It looks like you're new here. If you want to get involved, click one of these buttons!

Categories