PDA

View Full Version : Kali 2 How to start and stop Apache server??? Command not present in menu



Devil_D
2015-08-15, 08:42
hi all
I have a small problem with Kali 2 64bit
I can 't find the command to start and stop apache in menu??
Someone can help me solve
Thanks in advance

Gumby
2015-08-15, 12:44
From a terminal use apache2ctl start|stop|restart|graceful|.....


Links, in case you are not familiar with apache2 ...

http://manpages.debian.org/cgi-bin/man.cgi?query=apache2&apropos=0&sektion=0&manpath=Debian+4.0+etch&format=html&locale=en
http://httpd.apache.org/docs/2.2/programs/apachectl.html

Devil_D
2015-08-16, 10:08
From a terminal use apache2ctl start|stop|restart|graceful|.....


Links, in case you are not familiar with apache2 ...

http://manpages.debian.org/cgi-bin/man.cgi?query=apache2&apropos=0&sektion=0&manpath=Debian+4.0+etch&format=html&locale=en
http://httpd.apache.org/docs/2.2/programs/apachectl.html


many tnx
Unfortunately! I do not know the commands service . I am accustomed to using xampp

mmusket33
2015-08-17, 05:56
Try in a terminal window

service apache2 start

service apache2 stop

service apache2 restart

MTeams

rezabojnordi
2017-04-03, 04:28
# /etc/init.d/apache2 restart

OR
$ sudo /etc/init.d/apache2 restart

OR
$ sudo service apache2 stop

# /etc/init.d/apache2 stop

OR
$ sudo /etc/init.d/apache2 stop

OR
$ sudo service apac