Find the answer to your Linux question:
Results 1 to 2 of 2
Hi friends, My query is that how can i make apache boot at startup of RHL 9. I downloaded apache 2.0.50 and its installed in lets say /home/usr/apache2/bin.I think i ...
Enjoy an ad free experience by logging in. Not a member yet? Register.
  1. #1
    Just Joined!
    Join Date
    Jul 2004
    Posts
    6

    STARTING APACHE2.0 AT BOOTUP OF RHL 9.0


    Hi friends,
    My query is that how can i make apache boot at startup of RHL 9. I downloaded apache 2.0.50 and its installed in lets say /home/usr/apache2/bin.I think i should do the following:

    ln -s /home/usr/apache2/bin/httpd /etc/rc3.d/init.d/httpd
    ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc3.d/httpd
    ln -s /etc/rc.d/init.d/httpd /etc/rc.d/rc5.d/httpd

    Now when i try making these soft links,after executing the first command i get the error:
    ln :`/etc/rc.d/init.d/httpd`: file exists
    which is correct in fact.But this is the file for the Apache version which came as default with RHL 9.I want to start the version 2.0.50 which i downloaded and installed manually.How can i do that? Di i delete the httpf file in/etc/rc.d/init.d?
    Regards

  2. #2
    Just Joined!
    Join Date
    Jun 2004
    Posts
    40
    These instructions were provided by Rich Nicholas in a LAMP tutoriall at MadPeguin.org

    #cd /usr/local/apache2/bin

    Then, copy the file called apachectl as follows;

    #cp apachectl /etc/init.d/httpd

    Now, for some more links;

    #cd /etc/rc3.d
    #ln -s ../init.d/httpd S85httpd
    #ln -s ../init.d/httpd K85httpd
    #cd /etc/rc5.d
    #ln -s ../init.d/httpd S85httpd
    #ln -s ../init.d/httpd K85httpd

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •