profondeur des titres

This commit is contained in:
Jérémy Lecour 2024-01-25 15:43:56 +01:00 committed by Jérémy Lecour
parent 36987c428e
commit cd1b6eb4cf
Signed by: jlecour
SSH key fingerprint: SHA256:h+5LgHRKwN9lS0SsdVR5yZPeFlJE4Mt+8UtL4CcP8dY

View file

@ -10,16 +10,16 @@ des différentes commandes existantes.
Le classement est fait par rapport au port réservé pour le logiciel
puis par ordre alphabétique.
# sudo
## sudo
~~~
# visudo -cf /etc/sudoers
~~~
# FTP
## FTP
## proftpd
### proftpd
~~~
# proftpd -t
@ -27,9 +27,9 @@ Checking syntax of configuration file
Syntax check complete.
~~~
# SSH
## SSH
## OpenSSH
### OpenSSH
Pour valider la configuration du serveur SSH :
@ -49,9 +49,9 @@ Pour valider une clé publique :
# ssh-keygen -l -f .ssh/id_rsa.pub
~~~
# Mail
## Mail
## OpenSMTPD
### OpenSMTPD
~~~
@ -59,23 +59,23 @@ Pour valider une clé publique :
~~~
## Postfix
### Postfix
~~~
# postconf >/dev/null
~~~
## Spamassasin
### Spamassasin
~~~
spamassassin --lint
~~~
# DNS
## DNS
## Bind
### Bind
~~~
# named-checkzone domain /path/to/zone
@ -83,90 +83,90 @@ spamassassin --lint
~~~
## NSD
### NSD
~~~
# nsd-checkconf /var/nsd/etc/nsd.conf
~~~
## Unbound
### Unbound
~~~
# unbound-checkconf /var/unbound/etc/unbound.conf
~~~
# MySQL
## MySQL
~~~
# /usr/sbin/mysqld --help
~~~
# DHCP
## DHCP
## dhcpd
### dhcpd
~~~
# dhcpd -n
~~~
# HTTP
## HTTP
## Apache
### Apache
~~~
# apachectl -t
# apachectl configtest
~~~
## Haproxy
### Haproxy
~~~
# haproxy -c -f /etc/haproxy/haproxy.cfg
~~~
## httpd
### httpd
~~~
# httpd -dnv
~~~
## Fail2ban
### Fail2ban
~~~
# fail2ban-regex /chemin/fichier.log /etc/fail2ban/filter.d/config-exclusion.conf
~~~
## DRBD
### DRBD
~~~
# drbdadm dump
~~~
## Logrotate
### Logrotate
~~~
# logrotate /etc/logrotate.d/
# logrotate -vdf /etc/logrotate.d/config-file
~~~
## Nginx
### Nginx
~~~
# nginx -t
~~~
## Php
### Php
~~~
# php5-fpm -t
~~~
## Varnish
### Varnish
~~~
# sudo -u varnish varnishd -Cf /etc/varnish/default.vcl
@ -188,66 +188,66 @@ Dans certain cas, il est possible d'obtenir l'erreur `cannot open shared object
# sudo -u vcache TMPDIR=/var/tmp-vcache varnishd -Cf /etc/varnish/default.vcl > /dev/null
~~~
## Samba
### Samba
~~~
# testparm
~~~
## Squid3
### Squid3
~~~
# squid -k parse
~~~
# Imap / pop
## Imap / pop
## Dovecot
### Dovecot
~~~
# doveconf -n > /dev/null
~~~
# BGP
## BGP
## OpenBGPD
### OpenBGPD
~~~
# bgpd -nf /etc/bgpd.conf
~~~
# OSPF
## OSPF
## OpenOSPFD
### OpenOSPFD
~~~
# ospfd -nf /etc/ospfd.conf
# ospf6d -nf /etc/ospf6d.conf
~~~
# IRC
## IRC
## Charybdis
### Charybdis
~~~
$ charybdis-ircd -conftest
~~~
# Networking
## Networking
~~~
# ifup --no-act eth0
~~~
# CUPS
## CUPS
~~~
# cupsd -t -c test.conf
~~~
# PHP-FPM
## PHP-FPM
Changer la version en fonction.
@ -255,20 +255,20 @@ Changer la version en fonction.
# php-fpm7.3 -t
~~~
# /etc/fstab
## /etc/fstab
~~~
mount --fake --all --verbose
~~~
# rsyslog
## rsyslog
~~~
rsyslogd -N1
rsyslogd -N1 -f /etc/rsyslogd/foo.conf
~~~
# pf
## pf
~~~
pfctl -nf /etc/pf.conf