mirror of
https://github.com/ivuorinen/cheatsheet-tldr.git
synced 2026-02-08 14:46:04 +00:00
Update cheatsheets
This commit is contained in:
37
tldr/linux/apachectl
Normal file
37
tldr/linux/apachectl
Normal file
@@ -0,0 +1,37 @@
|
||||
---
|
||||
syntax: markdown
|
||||
tags: [tldr, linux]
|
||||
source: https://github.com/tldr-pages/tldr.git
|
||||
---
|
||||
# apachectl
|
||||
|
||||
> Control an Apache HTTP server.
|
||||
> More information: <https://manned.org/apachectl>.
|
||||
|
||||
- Start the server:
|
||||
|
||||
`sudo apachectl start`
|
||||
|
||||
- Restart the server:
|
||||
|
||||
`sudo apachectl restart`
|
||||
|
||||
- Stop the server:
|
||||
|
||||
`sudo apachectl stop`
|
||||
|
||||
- Test configuration file validity:
|
||||
|
||||
`apachectl configtest`
|
||||
|
||||
- Check server status (requires the lynx browser):
|
||||
|
||||
`apachectl status`
|
||||
|
||||
- Reload configuration without dropping connections:
|
||||
|
||||
`sudo apachectl graceful`
|
||||
|
||||
- Print full Apache configuration:
|
||||
|
||||
`apachectl -S`
|
||||
Reference in New Issue
Block a user