Desplegar servidor apache

27 febrero 2009

Teniendo un repositorio correctamente instalado, bastaría con poner (de momento):

  1. instalar los rpm:#yum install httpd httpd-devel mod_ssl
  2. editar el fichero welcome.conf: #vi /etc/http/conf.d/welcome.conf
  3. comentarlo todo:
    # This configuration file enables the default «Welcome»
    # page if there is no default index page present for
    # the root URL.  To disable the Welcome page, comment
    # out all the lines below.
    #
    #<LocationMatch «^/+$»>
    #    Options -Indexes
    #    ErrorDocument 403 /error/noindex.html
    #</LocationMatch>
  4. reiniciar el servicio: #/etc/init.d/httpd restart
  5. y colocar lo que queramos en  /var/www/html/

Javi.