Différences entre versions de « HTTPD »

De The Linux Craftsman
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 =
  
Pour faire de l'http
+
== HTTP ==
  
 
<pre>
 
<pre>
Ligne 17 : Ligne 17 :
 
</pre>
 
</pre>
  
Pour faire de l'https
+
== 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 à 06: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 

Configuration

Avant le premier démarrage