servidor web en linux debian 5 – apache web server
TRANSCRIPT
-
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
1/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
InicioAlmacn
AutorEnlaces
HardwareProyectos
UbuntuVideos
La Clave
Beginner's GuideBeginner's Guide
Step by Step Tutorial on How To Setup Your Blog or Site!Step by Step Tutorial on How To Setup Your Blog or Site!
dede bluehostbluehosten YouTubeen YouTube
http://feeds.feedburner.com/forat/infohttp://www.forat.info/mis-videos/http://www.forat.info/ubuntu/http://www.forat.info/proyectos/http://www.forat.info/hardware/http://www.forat.info/enlaces/http://www.forat.info/forat/http://www.forat.info/archivo/http://www.forat.info/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
2/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
alternateApplearchivos blogcomoconfiguraciondaboblogdebianforatfreebsdftpgeekGNU/Linux
HardwarehdhostinginstalacioninstalarLinuxmanualmediacenterMememoddingmontajemysqlonlinepcPodCastredregaloreviewSec-InfoserverservidorsorteosshterminaltorrentubuntuvideowebWifi
windowsw irelesswordpress
FDB
Seguridad y optimizacin de Servidores GNU/Linux Debian basados en Apache, MySQL y PHPCambio de pantalla Samsung Galaxy Tab
enInternet.es las noticias de La Red Primeros PremiosenInternet.es las noticias de La Red
Hoy nace el mayor de mis proyectos, ( enInternet.es La Red )Este domingo despegamos !
Monitorea servidores GNU/Linux desde la TerminalDaboBlog Podcast especial Feliz 2013
Daboblog Podcast n39Guadalux Fundacin Software Libre
DaboBlog PodCast n38
Rack Project ( Manual Completo )DaboBlog PodCast n37
Samsung Galaxy Tab Keyboard DockJuega al pker desde Linux con apuestas reales o ficticias
Rack Project Vol 8 CompletadoRack Project Vol 7 Accesorios
Rack Project Vol 6 ArmarioRack Project Vol 5 Rack Final
Rack Project Vol 4 Rack Chasis
Servidor Web en Linux Debian 5 Apache Web
ServerEn la Categora Debian, Servidor Debianel dia 22 febrero 2008 0
http://googleads.g.doubleclick.net/aclk?sa=l&ai=CxJviIvXuUZX6IO6xwAHfoYHgDNvGw6EDs8bZp06j0ImvbBABILWRigNQspD-s_n_____AWDfBqABkZrC6QPIAQKoAwHIA9EEqgSsAU_Q5DcJQPUdmrzvslHSfa_ukOrJhWs0RHcENg0JLT1I_m_inUNOp5dTbBWq4eltz9qRebYJSA1VT1qvoq0KH7oyCfazxq0DgwsKYDcvDtoQ3gbCo8by5sdwVKdQ1_2OS99S2t_MHP2w2j4ihNagtEh236zeZks66iRLc0mBlUPH-yOEXvbO3-EO5clBOD96J_Wlv02nEbTB14sRRK51AgqExpc1W-GAG87aIaygBgKAB9flvRY&num=1&sig=AOD64_2wZGMnH8EzaS6I8nZVQ_UZeHovZg&client=ca-pub-3027868516974715&adurl=http://sp.depositphotos.com%3Fref%3D1385255http://www.eninternet.es/http://www.forat.info/category/como-montar-un-servidor-web-en-debian/http://www.forat.info/category/debian-how-to/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/rw79zCps_FA/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/Aco0VHWEHK4/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/vQ78jWflBAU/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/jgkmcfLV9w8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/P8Ye-N_4PB8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/hF-zUA-ccso/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/2I0ZnLVG7Dc/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/uYceO9jof_c/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/8Pl4O7f1PTQ/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/0GY2hQaYUA8/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/54NiwsaGKNw/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/ktilCrJ4_KY/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/rN3ISBID8AI/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/mZ1oid4cnrI/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/BzuMHn7bpAU/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/v_1fOafdemM/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/vAozUqpQsYo/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/H_RDzWL7ASM/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/jzUHQVf9qFE/http://feedproxy.google.com/~r/FactoriaDeBlogs/~3/BLIdzUavs50/http://www.factoriadeblogs.com/http://feeds.feedburner.com/FactoriaDeBlogshttp://www.forat.info/tag/wordpress/http://www.forat.info/tag/wireless/http://www.forat.info/tag/windows/http://www.forat.info/tag/wifi/http://www.forat.info/tag/web/http://www.forat.info/tag/video/http://www.forat.info/tag/ubuntu/http://www.forat.info/tag/torrent/http://www.forat.info/tag/terminal/http://www.forat.info/tag/ssh/http://www.forat.info/tag/sorteo/http://www.forat.info/tag/servidor/http://www.forat.info/tag/server/http://www.forat.info/tag/sec-info/http://www.forat.info/tag/review/http://www.forat.info/tag/regalo/http://www.forat.info/tag/red/http://www.forat.info/tag/podcast/http://www.forat.info/tag/pc/http://www.forat.info/tag/online/http://www.forat.info/tag/mysql/http://www.forat.info/tag/montaje/http://www.forat.info/tag/modding/http://www.forat.info/tag/meme/http://www.forat.info/tag/mediacenter/http://www.forat.info/tag/manual/http://www.forat.info/tag/linux/http://www.forat.info/tag/instalar/http://www.forat.info/tag/instalacion/http://www.forat.info/tag/hosting/http://www.forat.info/tag/hd/http://www.forat.info/tag/hardware/http://www.forat.info/tag/gnulinux/http://www.forat.info/tag/geek/http://www.forat.info/tag/ftp/http://www.forat.info/tag/freebsd/http://www.forat.info/tag/forat/http://www.forat.info/tag/debian/http://www.forat.info/tag/daboblog/http://www.forat.info/tag/configuracion/http://www.forat.info/tag/como/http://www.forat.info/tag/blog/http://www.forat.info/tag/archivos/http://www.forat.info/tag/apple/http://www.forat.info/tag/alternate/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
3/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
Vamos a cumplir una de las finalidades de este gran manual que estamos siguiendo ltimamente y es el de poderservir contenido Web desde nuestro servidor hacia nuestra red local. Digo esto porque hacia Internet podremos
hacerlo mas adelante, vallamos por orden para que todo sea mas comprensible.
Para esto usaremos el programa Apache Web Serve ren su versin apache2-mpm-preforkque es larecomendada para Debianpor su Multi-Processing Module (MPM)ya que es considerablemente ms rpidoque el modelo tradicional. Si deseas mas informacin sobre el tema del (MPM) aqu os dejo una e xplicacin.
Procedemos a arrancar nuestro servidor y nos logeanos como ( root).
Seguidamente instalaremos el paquete Apache2y acto seguido el apache2-mpm-prefork
apt-get install apache2
apt-get install apache2-mpm-prefork
Una vez finalizada la instalacin abrimos un navegador en nuestro PC de escritorio e introducimos la IP delservidor ( en mi caso http://192.168.1.71) y veremos el mensaje (It works!), algo as
http://translate.google.com/translate?u=http%3A//www.linuxquestions.org/linux/answers/Networking/Multi_Processing_Module_in_Apache&hl=es&langpair=en|es&tbb=1&ie=UTF-8http://www.apache.org/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
4/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
Este mensaje quiere decir que el servidor Web Apache est funcionandoy listo para servir contenido Web.
El directorio hacia donde apunta el servidor Web Apachepor defecto es a/var/www/apache2-default . Esto lopodemos cambiar para que apunte a uno de los directorios que tenemos en nuestro directorio /home/usuario
para que cuando mas adelante instalemos el servidor Ftppodemos subir y bajar archivos directamente desde un
directorio que ser visto por los dems desde Internet o desde nuestra rea local.
Para hacer esto vamos a editar el archivo defaultque se encuentra en la ruta/etc/apache 2/site s-availableyvamos a substituir la ruta/var/www/por la nuestra de nuestro/home/usuario/
Editamos el fichero con el editor vi
vi /etc/apache2/sites-available/default
y modificamos los directorios
Tambin he modificado la linea
RedirectMatch ^/$ /apache2-default/
por
RedirectMatch ^/$ /www/
Esto a sido algo personal y de gusto, particularmente prefiero que el directorio donde se va a almacenar el
-
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
5/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
contenido Web que quiero ofrecer a los usuarios tenga por nombre ( www) que ( apache2-default ).
Ahora vamos a crear el directorio hacia donde va a apuntar el servidor Web
mkdir /home/forat/www
y reiniciamos el Apache con
apache2ctl restart
Ahora volvemos a abrir un navegador en el ordenador de escritorio e introducimos la direccin IPdel servidor. (En mi caso http://192.168.1.71 )
Veremos algo como esto
Como podis ver todo lo que copiemos a la carpeta wwwdentro de nuestro directorio/home/usuariose podrver desde otros navegadores.
Si estas siguiendo el manual sobre como montar un serv idor Web en Debiante invito a que contines con (Soporte para PHP)
Este proyecto y muchos mas en el Blog oficial project.forat.info
Compartelo !
http://twitter.com/home?status=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Server%20-%20http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/http://www.google.com/reader/link?url=http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/&title=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Server&srcURL=http://www.forat.infohttp://www.facebook.com/sharer.php?u=http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/&t=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Serverhttp://www.stumbleupon.com/submit?url=http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/&title=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Serverhttp://del.icio.us/post?url=http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/&title=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Serverhttp://digg.com/submit?phase=2&url=http://www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/&title=Servidor%20Web%20en%20Linux%20Debian%205%20%E2%80%93%20Apache%20Web%20Serverhttp://project.forat.info/http://www.forat.info/2008/02/23/servidor-web-en-linux-debian-6-soporte-para-php/http://www.forat.info/2008/02/16/te-gustaria-tener-un-servidor-web-con-linux-debian/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
6/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
Artculos Recientes ...
Seguridad y optimizacin de Servidores GNU/Linux Debian basados en Apache, MySQL y PHP
Monitorea servidores GNU/Linux desde la TerminalDaboBlog PodCast Especial Fluxbox en Kernel PanicCloud Computing con eyeOS bajo Debian GNU/Linux
Como montar un Servidor Cloud Computing con OwnCloud
Buscar
http://www.daboblog.com/podcast-gnu-linux-mac/http://codenew.impresionesweb.com/r/cladb.php?i=45074&e=0&tmp=1374614830&cod=NDUwNzS3NzkxMDa3NTQ3MDe3ODY5NDM2tzG3MTEzOm1hX2Nstzc%3D&r=aHR0cDovL3d3dy5mb3JhdC5pbmZvLzIwMDgvMDIvMjIvc2Vydmlkb3Itd2ViLWVuLWxpbnV4LWRlYmlhbi01LWFwYWNoZS13ZWItc2VydmVyLw%3D%3D&lgi2=http://www.forat.info/2012/01/16/como-montar-un-servidor-cloud-computing-con-owncloud/http://www.forat.info/2012/04/30/cloud-computing-con-eyeos-bajo-debian-gnulinux/http://www.forat.info/2012/08/31/daboblog-podcast-especial-fluxbox-en-kernel-panic/http://www.forat.info/2013/01/21/monitorea-servidores-gnulinux-desde-la-terminal/http://www.forat.info/2013/07/23/seguridad-y-optimizacion-de-servidores-gnulinux-debian-basados-en-apache-mysql-y-php/http://nym1.ib.adnxs.com/click?AAAAAAAAAAAAAAAAAAAAADMzMzMzM8M_AAAAAAAAAAAAAAAAAAAAAOx65uQ6ijgCzkd79R4EmkUl9e5RAAAAACytEgBSBQAAkQYAAAIAAAAcdU8AkjsDAAAAAQBVU0QAVVNEACwB-gAj8AAAoVYAAgUCAQIAAIYAaRV7UgAAAAA./cnd=%21EwY8Ngiw6U0QnOq9AhiS9wwgAg../referrer=http%3A%2F%2Fwww.forat.info%2F2008%2F02%2F22%2Fservidor-web-en-linux-debian-5-apache-web-server%2F/clickenc=http%3A%2F%2Fwww.boostupdate.com%2Fnexus%2Fspeed3.php -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
7/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
Categoras
#Servidor LocalAppleautores
Balanceo de cargaBSD
Comandos
DebianElive Gem
enInternet.es La RedFirefoxFluxBox
GpsHardware
HSNET (Tecnico)HTC Android
LinuxLiveCD
Mejoras visualesMeme
MindMoviles & PPC
PDFPodCastPremios
ProyectosPsp
Rack ProjectReviewsRumoresSec-Info
Servidor Debian
http://www.forat.info/category/como-montar-un-servidor-web-en-debian/http://www.forat.info/category/seguridad/http://www.forat.info/category/rumores/http://www.forat.info/category/reviews/http://www.forat.info/category/rack-project/http://www.forat.info/category/psp/http://www.forat.info/category/proyectos-2/http://www.forat.info/category/premios/http://www.forat.info/category/podcast/http://www.forat.info/category/pdf/http://www.forat.info/category/moviles-ppc/http://www.forat.info/category/mind/http://www.forat.info/category/meme/http://www.forat.info/category/mejoras-visuales/http://www.forat.info/category/livecd/http://www.forat.info/category/linux/http://www.forat.info/category/htc-android/http://www.forat.info/category/el-tecnico-de-hsnet/http://www.forat.info/category/hardware/http://www.forat.info/category/gps/http://www.forat.info/category/fluxbox/http://www.forat.info/category/firefox/http://www.forat.info/category/eninternet-es-la-red/http://www.forat.info/category/elive-gem-how-to/http://www.forat.info/category/debian-how-to/http://www.forat.info/category/comandos-2/http://www.forat.info/category/bsd-how-to/http://www.forat.info/category/balanceo-de-carga/http://www.forat.info/category/autores/http://www.forat.info/category/apple/http://www.forat.info/category/servidor-local/http://www.eninternet.es/http://project.forat.info/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
8/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
www.forat.info/2008/02/22/servidor-web-en-linux-debian-5-apache-web-server/
Servidor Debian ISPServidor DescargasServidor FreeBSD
Servidor Tracker TorrentServidor Ubuntu
Servidor Ubuntu 2010SistematicosSoftware libre
SorteosTodo Info&Tech
Ubuntuusb
VideosVinoCenter
Web de interesWebmaster
WifiWordpress
Sobre mi
La informtica es algo que descubr a los 14 aos, desde ah empec a entenderla hasta que aprend a usarla.Hoy he aprendido a disfrutarla y compartirla.
Si quieres una pagina web gratistengo lo que necesitas en mi ultimo proyecto.
Twitter @foratinfo| PodCast Daboblog
Mis sitios Web
http://www.daboblog.com/podcast-gnu-linux-mac/http://twitter.com/#!/@foratinfohttp://www.eninternet.es/http://jigsaw.w3.org/css-validator/validator?uri=www.forat.info/wp-content/themes/Sonik2/style.csshttp://validator.w3.org/check?uri=http://www.forat.infohttp://www.apachectl.com/http://www.forat.info/category/wordpress-how-to/http://www.forat.info/category/wifi/http://www.forat.info/category/recursos-webmaster/http://www.forat.info/category/web-de-interes/http://www.forat.info/category/vinocenter/http://www.forat.info/category/videos/http://www.forat.info/category/usb/http://www.forat.info/category/ubuntu-how-to/http://www.forat.info/category/todo-infotech/http://www.forat.info/category/sorteos/http://www.forat.info/category/software-libre/http://www.forat.info/category/sistematicos/http://www.forat.info/category/servidor-ubuntu-2010/http://www.forat.info/category/servidor-ubuntu/http://www.forat.info/category/servidor-tracker-torrent/http://www.forat.info/category/montaje-de-un-servidor-en-freebsd/http://www.forat.info/category/servidor-descargas/http://www.forat.info/category/servidor-debian-isp/ -
7/25/2019 Servidor Web en Linux Debian 5 Apache Web Server
9/9
23/07/13 Servidor Web en Linux Debian 5 Apache Web Server
wwwforat info/2008/02/22/servidor web en linux debian 5 apache web server/
AutoresCash
enInternet.es La RedFactoria de Blogs
Forat ( Mi pequeo )Forat Project's
HsNetWorkLife AndroidReactivox
Sistematicos
Proyectos bajo GNU/Linux
Rack proyect
Balanceador de Carga
Servidor web 2010
Servidor de descargas con TorrentFlux
( VinoCenter ) MediaCenter
Servidor Web y Archivos
Servidor Web
Sistema de VideoVigilancia
Viejos ordenadores que hacen grandes cosas
Servidor Tracker Torrent
Sitio protegido por una licencia Creative Commons. 2006 / 2013 Poltica de privacidaden Forat. Designby: Charleston Datingwith Ohio Singles| Volleyball Singles| Florida Telemarketing Jobs
http://www.telemarketerjobs.net/florida-telemarketer-jobshttp://www.volleyballsingles.com/http://www.onlineohiosingles.com/http://www.charlestonflirt.com/http://www.forat.info/privacidad.htmlhttp://creativecommons.org/licenses/by-nc/3.0/es/http://www.forat.info/2012/02/27/servidor-tracker-torrent-manual-completo/http://www.forat.info/2011/10/31/viejos-ordenadores-que-hacen-grandes-cosas-completado/http://www.forat.info/2007/08/18/como-montar-un-sistema-de-vigilancia-casero-con-un-pc-viejo-una-webcam-y-linux-el-manual-definitivo-para-este-verano/http://www.forat.info/2008/03/05/como-montar-un-servidor-web-con-linux-debian/http://www.forat.info/2008/08/12/servidor-en-linux-ubuntu-server-manual-completo/http://www.forat.info/2008/12/13/un-estuche-para-vinos-software-libre-y-un-poco-de-imaginacion-montan-el-vinocenter-manual-completo/http://www.forat.info/2009/06/06/servidor-de-descargas-con-torrentflux-y-linux-debian-manual-competo/http://www.forat.info/2010/04/22/servidor-web-2010-bajo-linux-ubuntu-server-manual-completo/http://www.forat.info/2010/06/30/balanceo-de-carga-entre-servidores-bajo-linux-debian-manual-completo/http://www.forat.info/2012/11/03/rack-project-manual-completo/http://www.sistematicos.com/http://www.reactivox.com/http://www.lifeandroid.com/http://hsnet.sytes.net/http://project.forat.info/http://www.forat.es/http://www.factoriadeblogs.com/http://www.eninternet.es/http://cash.factoriadeblogs.com/http://autores.forat.info/