how to restart apache server with out shatdown?

Answer Posted / vector

to restart apache. open the terminal and type the command
# sudo /etc/ini.d/apache2 start (to start apache)
# sudo /etc/init.d/apache2 restart (to restart apache)
# sudo /etc/init.d/apache2 stop (to stop apache)

Is This Answer Correct ?    1 Yes 1 No



Post New Answer       View All Answers


Please Help Members By Posting Answers For Below Questions

What is Syntax of any Linux command?

817


You want to know how many lines in the kickoff file contains ‘prize’. Which of the following commands will produce the desired results?

773


How do I run a script in linux?

774


What is makefile in unix?

759


If we transfer 100 files by ftp to remote server, how to know the files are successfully transfer or some file are not transferred?

778


How do I find command history in linux?

702


What are linux commands?

739


Explain about document formatting?

830


Who is unix command?

752


Why do we use cmake?

731


How do I find the linux version?

749


What are the commands used in command prompt?

737


Explain difference between nfs soft and hard mouniting points?

719


What language is a makefile written in?

702


Which are the linux directory commands?

756