• Directorios SEO
  • Zomg wordpress theme
  • Lista de directorios
  •  

    Como instalar apache en freebsd

    March 13th, 2010 by diegomichel No comments yet

    Nos vamos al directorio del port en este caso yo quiero apache 2.2

    cd /usr/ports/www/apache22/

    y ejecutamos:

    make install clean

    Agregamos la siguiente linea a /etc/rc.conf para que apache inicie al iniciar el sistema.

    apache22_enable=”YES”

    Para iniciar de forma manual apache podemos usar el siguiente comando:

    apachectl start

    Acepta las opciones restart, graceful y stop, restart y stop se describen por si mismas, graceful es un restart sin forzar.

    Tambien podemos usar la opcion configtest que nos dice si los archivos de configuracion no tienen errores.

    Ejemplo:

    [root@host ~]# /usr/local/sbin/apachectl configtest
    Syntax OK

    Tags: , ,
    Posted in: Uncategorized

    Leave a Reply