Instalación Por Compilación De Apache, Php Y Mysql

Páginas: 3 (713 palabras) Publicado: 3 de marzo de 2013
Manual de Instalación por compilación de Apache, Mysql y Php
APACHE
Archivo fuente instalado en Centos httpd-2.2.23.tar.gz Procedimiento de Compilacion e Instalacion [root@localhost httpd-2.2.23]#yum install apr-devel.x86_64 apr-util-devel.x86_64 gcc g++ make [root@localhost httpd-2.2.23]# mkdir -p /home/httpd/html [root@localhost httpd-2.2.23]# groupadd web -g 10000 [root@localhosthttpd-2.2.23]# useradd -d/home/httpd/html/ -c'Administrador de paginas web' s/bin/bash -g web -u 10000 web [root@localhost httpd-2.2.23]# ./configure --prefix=/usr/local/apache2 --enable-so--enablerewrite=shared [root@localhost httpd-2.2.23]# make [root@localhost httpd-2.2.23]# make install Configuracion Editar el archivo de configuracion las lineas siguientes [root@localhost httpd-2.2.23]# vim/usr/local/apache2/conf/httpd.conf User web Group web DocumentRoot "/home/httpd/html" Options -Indexes FollowSymLinks



DirectoryIndex index.php index.html index.htm

AddType application/x-httpd-php.php AddType application/x-thhpd-php-source .phps

Agregar el servicio apache a Centos Agregar al inicio del archivo /usr/local/apache/bin/apachectl las siguientes lineas

[root@localhosthttpd-2.2.23]# vim /usr/local/apache/bin/apachectl

### BEGIN INIT INFO # Provides: Servicio WEB

# Required-Start: $syslog # Required-Stop: # Default-Start: # Default-Stop: $syslog 2345 016

#Short-Description: Apache # description: Apache is a World Wide Web server. \ # It is used to serve HTML files and CGI.

### END INIT INFO

Crear un enlace simbolico al archivo nombre apache/usr/local/apache/bin/apachectl en /etc/init.d/ con el

[root@localhost init.d]# ln -s /usr/local/apache2/bin/apachectl apache

[root@localhost init.d]# chkconfig --add apache [root@localhost init.d]#chkconfig --level 2345 apache on

Apache quedo listo y configurado para iniciar con el sistema inciar apache service apache start parar apache service apache stop reiniciar apache service apache restart...
Leer documento completo

Regístrate para leer el documento completo.

Estos documentos también te pueden resultar útiles

  • Instalación de Apache, MySQL & PHP
  • Instalar apache, php y mysql
  • Instalación de los paquetes Apache, MySQL y PHP.
  • Instalacion De Php Y Mysql
  • instalacion de php y apache en windows 7
  • Manual instalacion apache server + php + mysql
  • instalar apache, php, mysql y phpmyadmin en ubuntu
  • Configurar Servidor Local con Apache MySQL y PHP

Conviértase en miembro formal de Buenas Tareas

INSCRÍBETE - ES GRATIS