Re: Default Apache Installation Directory

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Daniel and Alexander --

> valid commands are:
>
> 1) service httpd restart
> 2) apachectl  restart    or   apachectl graceful

These are equivalent to

  /etc/rc.d/init.d/httpd restart
  
(and avoid memorizing the path to the init scripts) but only if /usr/sbin is in 
$PATH.  But /usr/sbin is not in the default $PATH, or Daniel would have seen the 
binary /usr/sbin/httpd.  /usr/sbin can be added to the default path a lot of 
ways, e.g. using lines in .bash_profile

  PATH=/usr/sbin:$PATH
  export PATH

-- Phil



[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux