Spoiler pour les serveurs
This commit is contained in:
parent
1421c78eb8
commit
8d0b3f733b
|
@ -36,6 +36,7 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
#### Configuration réseau
|
#### Configuration réseau
|
||||||
|
|
||||||
##### /etc/network/interfaces
|
##### /etc/network/interfaces
|
||||||
|
<details>
|
||||||
|
|
||||||
# Connexion avec la machine mother
|
# Connexion avec la machine mother
|
||||||
allow-hotplug ens10
|
allow-hotplug ens10
|
||||||
|
@ -63,9 +64,12 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
||||||
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration DRBD
|
### Configuration DRBD
|
||||||
|
|
||||||
#### /etc/drbd.d/drbd1.res
|
#### /etc/drbd.d/drbd1.res
|
||||||
|
<details>
|
||||||
|
|
||||||
resource drbd1 {
|
resource drbd1 {
|
||||||
meta-disk internal;
|
meta-disk internal;
|
||||||
|
@ -105,7 +109,10 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### /etc/ocfs2/cluster.conf
|
#### /etc/ocfs2/cluster.conf
|
||||||
|
<details>
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
name = sharedfs
|
name = sharedfs
|
||||||
|
@ -126,6 +133,8 @@ Adresse ipv6 publique : 2001:910:1360::3
|
||||||
ip_address = 192.169.254.2
|
ip_address = 192.169.254.2
|
||||||
name = mother
|
name = mother
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration MTA
|
### Configuration MTA
|
||||||
|
|
||||||
#### /etc/postfix/transport
|
#### /etc/postfix/transport
|
||||||
|
|
|
@ -24,6 +24,7 @@ Adresse ipv6 publique : 2001:910:1360::1
|
||||||
#### Configuration des interfaces
|
#### Configuration des interfaces
|
||||||
|
|
||||||
##### /etc/config/network
|
##### /etc/config/network
|
||||||
|
<details>
|
||||||
|
|
||||||
config interface 'loopback'
|
config interface 'loopback'
|
||||||
option device 'lo'
|
option device 'lo'
|
||||||
|
@ -66,8 +67,11 @@ Adresse ipv6 publique : 2001:910:1360::1
|
||||||
option ip6prefix '2001:910:1360::/48'
|
option ip6prefix '2001:910:1360::/48'
|
||||||
list ip6addr '2001:910:1360:ffff::1'
|
list ip6addr '2001:910:1360:ffff::1'
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration des certificats SSL
|
### Configuration des certificats SSL
|
||||||
#### /etc/config/acme
|
#### /etc/config/acme
|
||||||
|
<details>
|
||||||
|
|
||||||
config acme
|
config acme
|
||||||
option state_dir '/etc/acme'
|
option state_dir '/etc/acme'
|
||||||
|
@ -84,9 +88,12 @@ Adresse ipv6 publique : 2001:910:1360::1
|
||||||
option keylength 'ec-384'
|
option keylength 'ec-384'
|
||||||
option use_staging '0'
|
option use_staging '0'
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration DHCP (IP statiques allouées aux VM et serveurs)
|
### Configuration DHCP (IP statiques allouées aux VM et serveurs)
|
||||||
|
|
||||||
#### /etc/config/dhcp
|
#### /etc/config/dhcp
|
||||||
|
<details>
|
||||||
|
|
||||||
config dnsmasq
|
config dnsmasq
|
||||||
option domainneeded '1'
|
option domainneeded '1'
|
||||||
|
@ -298,9 +305,12 @@ Adresse ipv6 publique : 2001:910:1360::1
|
||||||
option mac '52:54:00:F1:8B:EC'
|
option mac '52:54:00:F1:8B:EC'
|
||||||
option ip '192.169.1.186'
|
option ip '192.169.1.186'
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration du pare-feu (et redirections de ports pour IPV4)
|
### Configuration du pare-feu (et redirections de ports pour IPV4)
|
||||||
|
|
||||||
#### /etc/config/firewall
|
#### /etc/config/firewall
|
||||||
|
<details>
|
||||||
|
|
||||||
config defaults
|
config defaults
|
||||||
option input 'ACCEPT'
|
option input 'ACCEPT'
|
||||||
|
@ -576,11 +586,14 @@ Adresse ipv6 publique : 2001:910:1360::1
|
||||||
option dest_port '3478'
|
option dest_port '3478'
|
||||||
option dest_ip '192.169.1.211'
|
option dest_ip '192.169.1.211'
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration Reverse Proxy (nginx)
|
### Configuration Reverse Proxy (nginx)
|
||||||
|
|
||||||
Note : IPV4 uniquement
|
Note : IPV4 uniquement
|
||||||
|
|
||||||
#### /etc/nginx/uci.conf (fichier principal de configuration)
|
#### /etc/nginx/uci.conf (fichier principal de configuration)
|
||||||
|
<details>
|
||||||
|
|
||||||
worker_processes auto;
|
worker_processes auto;
|
||||||
|
|
||||||
|
@ -638,7 +651,10 @@ Note : IPV4 uniquement
|
||||||
include conf.d/*.conf;
|
include conf.d/*.conf;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### /etc/nginx/reverse_proxy.conf (reverse proxy HTTP)
|
#### /etc/nginx/reverse_proxy.conf (reverse proxy HTTP)
|
||||||
|
<details>
|
||||||
|
|
||||||
server {
|
server {
|
||||||
server_name gestion.a-lec.org;
|
server_name gestion.a-lec.org;
|
||||||
|
@ -712,7 +728,10 @@ Note : IPV4 uniquement
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### /etc/nginx/reverse_proxy_ssl.conf (reverse proxy HTTPS)
|
#### /etc/nginx/reverse_proxy_ssl.conf (reverse proxy HTTPS)
|
||||||
|
<details>
|
||||||
|
|
||||||
stream {
|
stream {
|
||||||
|
|
||||||
|
@ -766,3 +785,5 @@ Note : IPV4 uniquement
|
||||||
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
|
'"$upstream_bytes_sent" "$upstream_bytes_received" "$upstream_connect_time"';
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</details>
|
|
@ -36,6 +36,7 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
#### Configuration réseau
|
#### Configuration réseau
|
||||||
|
|
||||||
##### /etc/network/interfaces
|
##### /etc/network/interfaces
|
||||||
|
<details>
|
||||||
|
|
||||||
# Connexion avec la machine aunt
|
# Connexion avec la machine aunt
|
||||||
allow-hotplug ens9
|
allow-hotplug ens9
|
||||||
|
@ -63,9 +64,12 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
bridge_waitport 0 # suppression du délai avant que le port soit disponible pour le bridge
|
||||||
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
bridge_fd 0 # suppression de délai avant que le forwarding du bridge soit établi
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration DRBD
|
### Configuration DRBD
|
||||||
|
|
||||||
#### /etc/drbd.d/drbd1.res
|
#### /etc/drbd.d/drbd1.res
|
||||||
|
<details>
|
||||||
|
|
||||||
resource drbd1 {
|
resource drbd1 {
|
||||||
meta-disk internal;
|
meta-disk internal;
|
||||||
|
@ -105,7 +109,10 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
#### /etc/ocfs2/cluster.conf
|
#### /etc/ocfs2/cluster.conf
|
||||||
|
<details>
|
||||||
|
|
||||||
cluster:
|
cluster:
|
||||||
name = sharedfs
|
name = sharedfs
|
||||||
|
@ -126,6 +133,8 @@ Adresse ipv6 publique : 2001:910:1360::2
|
||||||
ip_address = 192.169.254.2
|
ip_address = 192.169.254.2
|
||||||
name = mother
|
name = mother
|
||||||
|
|
||||||
|
</details>
|
||||||
|
|
||||||
### Configuration MTA
|
### Configuration MTA
|
||||||
|
|
||||||
#### /etc/postfix/transport
|
#### /etc/postfix/transport
|
||||||
|
|
Loading…
Reference in New Issue