I’ve installed the Apache web server on Kali Linux and I’m able to start/stop it with:
But if I try to launch it with service command
service httpd restart[start/stop]
httpd: unrecognized service
I would use the second way to launch Apache because it’s shorter and I can keep it in mind.
Probably doesn’t work because I’ve installed Apache without using
httpd isn’t in the
init.d directory, but I’m not sure about this.
How can I solve this? Maybe with
apt-get install httpd?