22
0
Fork 0

nouvelle page wiki, whoop whoop

This commit is contained in:
Daniel Jakots 2017-03-30 18:43:51 -04:00
parent 8fc5d67bc5
commit aa4f2dcd2e
1 changed files with 132 additions and 0 deletions

132
HowtoCheckconf.md Normal file
View File

@ -0,0 +1,132 @@
---
categories: system
title: Howto Checkconf
...
Avant de redémarrer un daemon, il vaut mieux s'assurer que sa
configuration est correcte. Cette page se veut être une cheat sheet
des différentes commandes existantes.
Le classement est fait par rapport au port réservé pour le logiciel
puis par ordre alphabétique.
# FTP
## proftpd
~~~
#
~~~
# SSH
## OpenSSH
~~~
# /sshd -T -f /etc/ssh/sshd_config
~~~
# Mail
## OpenSMTPD
~~~
#
~~~
## Postfix
~~~
#
~~~
# DNS
## Bind
~~~
# named-checkzone domain /path/to/zone
# named-checkconf /etc/bind/named.conf
~~~
## NSD
~~~
#
~~~
## Unbound
~~~
#
~~~
# HTTP
## Apache
~~~
# apachectl -t
~~~
## Haproxy
~~~
# haproxy -c -f /etc/haproxy/haproxy,cfg
~~~
## httpd
~~~
# httpd -dnb
~~~
## Nginx
~~~
# nginx -t
~~~
## Varnish
~~~
# varnishd -Cf /etc/varnish/default.vcl > /dev/null
~~~
# Imap / pop
## courrier
~~~
#
~~~
## Dovecot
~~~
#
~~~
# BGP
## OpenBGPD
~~~
# bgpd -nf /etc/bgpd.conf
~~~