1

I installed Apache using this script https://gist.github.com/Benedikt1992/e88c2114fee15422a4eb

The system is a freshly installed CentOS 6.7 minimal system.

After installation I can find the apache in /usr/local/apache2/ but I can't start the apache with service or enable start on boot with chkconfig. What am I missing?

Jeff Schaller
  • 66,199
  • 35
  • 114
  • 250
Benedikt Bock
  • 123
  • 1
  • 3

2 Answers2

0

Usually when I install apache on centOS, it gets installed in /etc/httpd/conf/ check there, otherwise do a find / -name httpd or find / -name apache. Also, if I want to start it now you start/stop it with sudo systemctl httpd start/stop or httpd -k start or apachectl start

VaTo
  • 3,071
  • 3
  • 18
  • 47
0

Apache 2.4 doesn't use the init scripts. As Saul Ortega said the apachectl script can be used to start the server. It can also be used as a standard SysV init script. Further informations can be found in the apache doc http://httpd.apache.org/docs/2.4/en/invoking.html

Benedikt Bock
  • 123
  • 1
  • 3