Results 1 to 7 of 7

Thread: How to start and stop apache2?

  1. #1
    creatxr NNTP User

    Default How to start and stop apache2?


    I used yast->software management to install apache2.
    But I didn't find where it is installed.
    How to start and stop apach2?
    Where can I find httpd.conf?


    --
    creatxr
    ------------------------------------------------------------------------
    creatxr's Profile: http://forums.opensuse.org/member.php?userid=17705
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  2. #2
    ken yap NNTP User

    Default Re: How to start and stop apache2?


    It can be done from YaST under Network Services, or from the CLI, e.g.


    Code:
    --------------------
    /etc/init.d/apache2 start
    --------------------


    or the SUSE shortcut


    Code:
    --------------------
    rcapache2 start
    --------------------


    httpd.conf is in /etc/apache2. However there are some things that are
    easily done and do not require editing httpd.conf. In fact, httpd.conf
    seldom needs to be edited on SUSE. In particular included modules are
    specified in /etc/sysconfig/apache2.


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  3. #3
    creatxr NNTP User

    Default Re: How to start and stop apache2?


    Thanks.
    I got it.
    It seems the commanders can only run under root user?


    --
    creatxr
    ------------------------------------------------------------------------
    creatxr's Profile: http://forums.opensuse.org/member.php?userid=17705
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  4. #4
    ken yap NNTP User

    Default Re: How to start and stop apache2?


    Well starting and stopping Apache can only be done by root (well
    actually by a process with effective root privilege).


    --
    ken_yap
    ------------------------------------------------------------------------
    ken_yap's Profile: http://forums.opensuse.org/member.php?userid=221
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  5. #5
    creatxr NNTP User

    Default Re: How to start and stop apache2?


    ken_yap;1925449 Wrote:
    > It can be done from YaST under Network Services, or from the CLI, e.g.
    >
    > >

    Code:
    --------------------
    > > /etc/init.d/apache2 start

    --------------------
    > >

    >
    > or the SUSE shortcut
    >
    > >

    Code:
    --------------------
    > > rcapache2 start

    --------------------
    > >

    >
    > httpd.conf is in /etc/apache2. However there are some things that are
    > easily done and do not require editing httpd.conf. In fact, httpd.conf
    > seldom needs to be edited on SUSE. In particular included modules are
    > specified in /etc/sysconfig/apache2.



    How can I know which SUSE shortcuts exists?
    How to list all the shortcuts?


    --
    creatxr
    ------------------------------------------------------------------------
    creatxr's Profile: http://forums.opensuse.org/member.php?userid=17705
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  6. #6
    ram88 NNTP User

    Default Re: How to start and stop apache2?


    Type *su* in the command line, right after *rc* and hit TAB twice. I
    think all commands beginning with rc are opensuse shortcuts (correct me
    if I'm wrong).


    --
    http://yami.googlecode.com/
    http://akoskm.blogspot.com/
    ------------------------------------------------------------------------
    ram88's Profile: http://forums.opensuse.org/member.php?userid=1058
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


  7. #7
    geoffro NNTP User

    Default Re: How to start and stop apache2?


    httpd.conf is in /etc/apache2


    --
    Core 2 Duo 3.16GHz 4GB DDR2 2.5 TB GeForce 7600 GS OS 11.1 x86_64
    KDE4.2 beta2 'Smolt specs' (http://tinyurl.com/9hgxhl)
    ------------------------------------------------------------------------
    geoffro's Profile: http://forums.opensuse.org/member.php?userid=75
    View this thread: http://forums.opensuse.org/showthread.php?t=404662


Posting Permissions

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