Saltar al contenido

cuaderno de campo

anotaciones

Menú
  • casa
    • dinou del carrer nou
  • cocina
    • pan
    • repostería
    • verdura
  • huerto
    • instrucciones sobre el huerto
    • plano del número 29
    • huerto del año 2025
  • humanidades
    • fonoteca
    • galería
  • juego
    • colección de roms
    • steamos en steam deck
    • lista de juego
    • dosbox
  • linux
    • bash
    • sistema operativo
    • ssh
  • web
    • apache
    • css
    • html5
    • javascript
    • mysql
    • php
Menú

Etiqueta: a2enmod

apache2 enable module

apache2: depuración

Publicada el 25 de octubre de 201726 de febrero de 2021 por ernesto

apache2ctl

  1. se puede comprobar la configuración del servidor vía apache2ctl: con -S, este comando «show[s] parsed vhost settings» y «show[s] parsed run settings»:

    apache2ctl -S
    VirtualHost configuration:
    192.168.1.7:9700 RB (/etc/apache2/sites-enabled/RB.conf:1)
    ServerRoot: "/etc/apache2"
    Main DocumentRoot: "/var/www/html"
    Main ErrorLog: "/var/log/apache2/error.log"
    Mutex default: dir="/var/lock/apache2" mechanism=fcntl
    Mutex mpm-accept: using_defaults
    Mutex watchdog-callback: using_defaults
    Mutex rewrite-map: using_defaults
    PidFile: "/var/run/apache2/apache2.pid"

Más
Etiquetado como a2enmod, apache2ctl, tail, wget

php: instalación y configuración

Publicada el 15 de diciembre de 201526 de febrero de 2021 por ernesto
  1. sudo apt-get install php5
  2. sudo a2enmod php5

    Enabling module php5.
    To activate the new configuration, you need to run:  service apache2 restart

  3. luego, se reinicia el servidor:
    sudo service apache2 restart

    o

    sudo systemctl restart apache2.service

    esto debería valer.

  4. los archivos de configuración del módulo de php5 para apache2 se encuentran en
    1. /etc/apache2/mods-available/php5.conf
Más
Etiquetado como a2enmod, apt-get, filesmatch, id, php.ini, service, systemctl

apache2: instalación y configuración

Publicada el 15 de diciembre de 201526 de febrero de 2021 por ernesto

instalación y configuración

  1. sudo apt-get install apache2
  2. sudo nano /etc/apache2/apache2.conf

    Timeout 30
    MaxKeepAliveRequests 25

  3. sudo nano /etc/apache2/ports.conf

    ServerName RB
    Listen 192.168.1.7:9700

  4. luego, se crea el archivo RB.conf:
    sudo cp /etc/apache2/sites-available/{000-default.conf,RB.conf}
    sudo touch /etc/apache2/sites-available/RB.conf
  5. sudo nano /etc/apache2/sites-available/RB.conf
    <VirtualHost 192.168.1.7:9700>
        ServerName RB
        ServerAdmin ernesto@poderna.com
        DocumentRoot /media/web/
        <Directory /media/web/>
            Options Indexes FollowSymLinks MultiViews
            AllowOverride none
            Order allow,deny
            Allow from all
        </Directory>
        ErrorLog /media/web/log/error.log
        CustomLog /media/web/log/access.log
Más
Etiquetado como .htaccess, a2dissite, a2enmod, a2ensite, adduser, apache2ctl, apt-get, cat, chgrp, id, ls, netstat, service, systemctl, tail, touch

RSS rutas fuera

  • CAMINANDO ENTRE MONSTRUOS 04 (Bestiario Sonoro): Drac de Na Coca 23 de octubre de 2025 Javier Resines
  • Karbach Brewery Rodeo Clown Double IPA (2025) 22 de octubre de 2025 Brett Stevens
  • Beats and yelling: Cultic 22 de octubre de 2025 Hate Meditations
  • Beats and yelling shorts, 20th October 25 20 de octubre de 2025 Hate Meditations
  • Karbach Brewery Hopadillo Imperial IPA (2025) 20 de octubre de 2025 Brett Stevens
  • Eureka Heights Final Boss Imperial IPA (2025) 20 de octubre de 2025 Brett Stevens
  • Tertulia con Juan Gomez, Pablo Vergel y Álvaro Martín: Spring-heeled Jack 19 de octubre de 2025 Javier Resines
  • Beats and yelling: Heruvim 17 de octubre de 2025 Hate Meditations
  • Please read the following scenario carefully 15 de octubre de 2025 Hate Meditations

Archivo

cuaderno de campo 2011-2025