nouvelle page wiki, whoop whoop
This commit is contained in:
parent
8fc5d67bc5
commit
aa4f2dcd2e
132
HowtoCheckconf.md
Normal file
132
HowtoCheckconf.md
Normal 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
|
||||||
|
|
||||||
|
~~~
|
Loading…
Reference in a new issue