Apache, web server installation

The Web is the primary system to publish contents in internet, Tim Berners-Lee thought that must to format easy and unified thmillions of texts, and invented the HTML.

Apache is one of the most popular web servers (maybe the most popular).

I have installed Apache2 to serve this pages, over Debian Etch, and i am gonna show how idid it.

As usually apt and deb packages makes easy the basics installation tasks:

elite:~# apt-get install apache2 apache2-mpm-worker apache2-utils libexpat1
                                                 openssl ssl-cert
Leyendo lista de paquetes... Hecho
Creando árbol de dependencias... Hecho
Paquetes sugeridos:
  apache2.2-common libapr1 libaprutil1 libpq4 libsqlite3-0
Paquetes sugeridos:
  ca-certificates
Se instalarán los siguientes paquetes NUEVOS:
  apache2 apache2-mpm-worker apache2-utils apache2.2-common libapr1 libaprutil1
                                  libexpat1 libpq4 libsqlite3-0 openssl ssl-cert
0 actualizados, 8 se instalarán, 0 para eliminar y 6 no actualizados.
Necesito descargar 3451kB de archivos.
Se utilizarán 9023kB de espacio de disco adicional después de desempaquetar.

Do not forget open the port 80 to our local IP server in order to everybody see all that we publish.

To remove the installation default redirection, in /etc/apache2/sites-available/default, comment the line:

#RedirectMatch ^/$ /default/

To accept the accents we must set a latin charset. Uncomment in apache2.conf:

AddDefaultCharset ISO-8859-1

If you want to extend information about apache, you have the follow table:

Origin http://httpd.apache.org/
Repository http://httpd.apache.org/download.cgi
Package apt 2.0.54
Documentation (Spanish) http://httpd.apache.org/docs/2.0/
Documentation (English)
Files Configuration: /etc/apache2/apache2.conf
Root directory: /var/www
Script daemon: /etc/init.d/apache2
Log: /var/log/apache/
Ports Server: 80 TCP
HTTP-SSL: 443 TCP

Leave a Reply

Your email address will not be published. Required fields are marked *

You may use these HTML tags and attributes: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>