How to make tarball version of Apache 2 into service in Linux?

Discussion in 'Apache' started by shishi, Jul 18, 2006.

  1. #1
    I have downloaded Apache 2.2.2 and installed it on my computer running Linux Mandrake 10.1 and on other computer running Fedora.

    From the documentation, I know that to start apache we can use

    /usr/local/apache2/bin/apachectl start

    I also know that Mandrake 10.1 and Fedora has been bundled with apache.

    My question is how can I make my apache installation to replace the bundled one so my apache can run as a service and I can start it with

    service httpd start



    Anyone can help me?
     
    shishi, Jul 18, 2006 IP
  2. wormy

    wormy Active Member

    Messages:
    1,112
    Likes Received:
    11
    Best Answers:
    0
    Trophy Points:
    80
    #2
    Apache 1.3 starts with apachectl start but apache2 startes with apache2ctl so you need to stop 1.3 from running at startup and have 2.0 start instead. There is a utility sysv-rc-conf that can do that very quickly.
     
    wormy, Jul 19, 2006 IP