nguyenminh

 

apache web server management console

The apachectl command act as Apache HTTP Server control interface. When you edit the Apache config file /etc/apache2/httpd.conf, you need to reload or restart the web server. Open the terminal application and type the following commands:

To stop Apache web server, enter:
sudo apachectl stop
OR
sudo apachectl -k stop
To start Apache web server again, enter:
sudo apachectl start
OR
sudo apachectl -k start
To restart apache web server, enter:
sudo apachectl restart
OR
sudo apachectl -k restart
To run a configuration file syntax test
sudo apachectl configtest
To reload apache web server after editing the config file
First edit the config file, run:
$ sudo vi /etc/apache2/httpd.conf
Make changes as per your needs. Close and save the file. To reload new changes, run:
sudo apachectl graceful
OR
sudo apachectl -k graceful

The apachectl command act as Apache HTTP Server control interface. When you edit the Apache config file /etc/apache2/httpd.conf, you need to reload or restart the web server. Open the terminal application and type the following commands:

To stop Apache web server, enter:
sudo apachectl stop
OR
sudo apachectl -k stop
To start Apache web server again, enter:
sudo apachectl start
OR
sudo apachectl -k start
To restart apache web server, enter:
sudo apachectl restart
OR
sudo apachectl -k restart
To run a configuration file syntax test
sudo apachectl configtest
To reload apache web server after editing the config file
First edit the config file, run:
$ sudo vi /etc/apache2/httpd.conf
Make changes as per your needs. Close and save the file. To reload new changes, run:
sudo apachectl graceful
OR
sudo apachectl -k graceful

Categorised in: Tổng hợp

0 Comments for "apache web server management console"

Leave a Reply

Your email address will not be published. Required fields are marked *