Home about IT Motivation Course Sales Project About Me

Friday, January 15, 2010

Starting and Stopping Apache


In order to restart Apache service from command prompt...
need to execute below mentioned command:
/scripts/restartsrv_apache/

di redhat: http://www.redhat.com/docs/manuals/
linux/RHL-9-Manual/ref-guide/s1-apache-startstop.html

10.4. Starting and Stopping httpd

The httpd RPM installs the /etc/rc.d/init.d/httpd script, which can be accessed using the /sbin/service command.

To start the server, as root type:

/sbin/service httpd start

To stop the server, as root type:

/sbin/service httpd stop

The restart option is a shorthand way of stopping and then starting the Apache HTTP Server.

To restart the server, as root type:

/sbin/service httpd restart
File konfigurasi Apache
disimpan di C:\Program Files\Apache Group\Apache2\conf\httpd.conf (kita
asumsikan Anda menginstall Apache di C:\Program Files\Apache Group ).
File ini berbentuk plain text sehingga Anda bisa menggunakan Notepad
atau Text Editor yang lain untuk mengedi



No comments: