add chinese for pages.cn/linux/add-apt-respository.md

This commit is contained in:
hugue
2018-12-21 20:04:36 +08:00
committed by Agniva De Sarker
parent 6baf5eaa78
commit 1ce15b00a1
1250 changed files with 26030 additions and 0 deletions

View File

@@ -0,0 +1,24 @@
# apache2ctl
> The CLI tool to administrate HTTP web server Apache.
> This commmand comes with Debian based OSes, for RHEL based ones see `httpd`.
- Start the Apache daemon. Throw a message if it is already running:
`sudo apache2ctl start`
- Stop the Apache daemon:
`sudo apache2ctl stop`
- Restart the Apache daemon:
`sudo apache2ctl restart`
- Test syntax of the configuration file:
`sudo apache2ctl -t`
- List loaded modules:
`sudo apache2ctl -M`