Results 1 to 5 of 5

Thread: How do you get Apache to start at boot time 2

  1. #1
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default How do you get Apache to start at boot time 2

    hello every one,

    i have compiled/installed Apache from source code ...
    however i dont now how to start it at system start up as a daemon to run at level 3

    the server is usually started by the apachectl script
    which understand start stop restart


    i don't want to use suse distribution of Apache
    can i just copy apachectl to /etc/init.d and make a link to it at /etc/init.d/rc3.d ???

    if i have to use the skeleton script could you please explain how to edit it to deal with apachectl

  2. #2
    Join Date
    Jun 2008
    Location
    Podunk
    Posts
    26,326
    Blog Entries
    15

    Default Re: How do you get Apache to start at boot time 2

    Hi
    Grab a src rpm for apache2 and extract it, then use the init script from this.

    Or even easier, grab the file from here (off to the right is the download link)
    https://build.opensuse.org/package/f...project=Apache
    The file you want is rc.apache2
    Cheers Malcolm °¿° SUSE Knowledge Partner (Linux Counter #276890)
    SUSE SLE, openSUSE Leap/Tumbleweed (x86_64) | GNOME DE
    If you find this post helpful and are logged into the web interface,
    please show your appreciation and click on the star below... Thanks!

  3. #3
    Join Date
    Nov 2010
    Location
    Damanhour-North-Egypt
    Posts
    90

    Default Re: How do you get Apache to start at boot time 2

    i don't know man my be i'll just use manual start and stop for now

    thanks any way

  4. #4

    Default Re: How do you get Apache to start at boot time 2

    I would think it should be listed in Yast-System services(run-level)
    Open Yast, Go to System Services. When it opens, Up at top select expert . High light what you want, turn it on(lower right) and check the run level boxes that you want it to start and run, Then save.
    Vaio F12: i7-740QM 4GB RAM Nvidia GT 330m
    OpenSuse 11.4 64 bit
    Qosmio i7-740QM 8GB RAM Nvidia GT 360m
    500 GB HD 7200 | 1 TB HD
    Opensuse 11.3 64 bit | VBox, Zoneminder & Mythtv

  5. #5
    Join Date
    Feb 2009
    Location
    Spain
    Posts
    25,547

    Default Re: How do you get Apache to start at boot time 2

    On 2011-03-31 18:36, linclkh wrote:
    >
    > I would think it should be listed in Yast-System services(run-level)


    Only if the script is conformant.

    --
    Cheers / Saludos,

    Carlos E. R.
    (from 11.2 x86_64 "Emerald" at Telcontar)

Posting Permissions

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