• Portada
    • Recientes
    • Usuarios
    • Registrarse
    • Conectarse

    Apache web server on Debian

    Programado Fijo Cerrado Movido Sistemas operativos
    1 Mensajes 1 Posters 519 Visitas
    Cargando más mensajes
    • Más antiguo a más nuevo
    • Más nuevo a más antiguo
    • Mayor número de Votos
    Responder
    • Responder como tema
    Accede para responder
    Este tema ha sido borrado. Solo los usuarios que tengan privilegios de administración de temas pueden verlo.
    • cobitoC Desconectado
      cobito Administrador
      Última edición por cobito

      This thread is part of the guide to set up a server on Debian.
      Remember that the content of Hardlimit is under a Creative Commons license.

      Procedure

      As root:

      apt-get update apt-get install apache2 apache2-doc apache2-utils 

      Explanation

      Apache is one of the most widely used web servers and is the one we will use in this guide. Debian comes with Apache 2.4, the latest stable version of the program.

      To install Apache 2, you have to write the following command in the console as root:

      apt-get update apt-get install apache2 apache2-doc apache2-utils 

      At that moment, the following information appears:
      b0461059-a6b5-4d35-88fa-73eae6982295-imagen.png

      We confirm the dependencies and wait a few minutes. Once the installation is finished, the service will start and will do so every time we start the computer. To check that the web server is working correctly, we just have to access the local IP of our server from a web browser:

      0935ac4c-6b6d-4e40-b30c-05cd698228a3-imagen.png

      By default, the files of the web server are stored in /var/www/html where you will find the 'index.html' file that is shown by default (the page shown above). That file should be replaced by your index.html.

      The route can be changed (we will see it in the next chapter). In any case, you can start uploading your content to that folder and it will be accessible from now on.

      Toda la actualidad en la portada de Hardlimit
      Mis cacharros

      hlbm signature

      1 Respuesta Última respuesta Responder Citar 1
      • cobitoC cobito referenced this topic on
      • cobitoC cobito referenced this topic on
      • 1 / 1
      • First post
        Last post

      Foreros conectados [Conectados hoy]

      0 usuarios activos (0 miembros y 0 invitados).
      febesin, pAtO,

      Estadísticas de Hardlimit

      Los hardlimitianos han creado un total de 543.5k posts en 62.9k hilos.
      Somos un total de 34.9k miembros registrados.
      roymendez ha sido nuestro último fichaje.
      El récord de usuarios en linea fue de 123 y se produjo el Thu Jan 15 2026.