Différences entre versions de « HTTPD »
Aller à la navigation
Aller à la recherche
(Page créée avec « {|border=1 class="wikitable" ! !! HTTP !! HTTPS |-align="center" | '''Protocole''' || tcp || tcp |-align="center" | '''Port''' || 80 || 443 |-align="center" | '''Configura... ») |
|||
| Ligne 11 : | Ligne 11 : | ||
= Installation = | = Installation = | ||
| − | + | == HTTP == | |
<pre> | <pre> | ||
| Ligne 17 : | Ligne 17 : | ||
</pre> | </pre> | ||
| − | + | == HTTP '''et''' HTTPS == | |
<pre> | <pre> | ||
# yum -y install httpd mod_ssl | # yum -y install httpd mod_ssl | ||
</pre> | </pre> | ||
| + | |||
| + | = Configuration = | ||
| + | |||
| + | == Avant le premier démarrage == | ||
Version du 25 décembre 2013 à 05:33
| HTTP | HTTPS | |
|---|---|---|
| Protocole | tcp | tcp |
| Port | 80 | 443 |
| Configuration Iptables | iptables -I INPUT 2 -p tcp --dport 80 -j ACCEPT | iptables -I INPUT 2 -p tcp --dport 443 -j ACCEPT |
Installation
HTTP
# yum -y install httpd
HTTP et HTTPS
# yum -y install httpd mod_ssl