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?
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;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?
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).