Outils pour utilisateurs

Outils du site


linux:librenms

Ceci est une ancienne révision du document !


Librenms

  1. Installer les paquets nécessaires
    apt install acl curl composer fping git graphviz imagemagick mariadb-client mariadb-server mtr-tiny nginx-full nmap php7.3-cli php7.3-curl php7.3-fpm php7.3-gd php7.3-json php7.3-mbstring php7.3-mysql php7.3-snmp php7.3-xml php7.3-zip python3-dotenv python3-pymysql python3-redis python3-setuptools rrdtool snmp snmpd whois
  2. Ajouter un utilisateur librenms
    useradd librenms -d /opt/librenms -M -r -s /bin/bash
  3. Cloner le projet
    cd /opt
    git clone https://github.com/librenms/librenms.git
  4. Mettre les permissions
    chown -R librenms:librenms /opt/librenms
    chmod 771 /opt/librenms
    setfacl -d -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
    setfacl -R -m g::rwx /opt/librenms/rrd /opt/librenms/logs /opt/librenms/bootstrap/cache/ /opt/librenms/storage/
  5. Installer les dépendances du projet
    su - librenms
    ./scripts/composer_wrapper.php install --no-dev
    exit
  6. Modifier le timezone des deux fichiers php
    sed -i 's/;date.timezone =/date.timezone = \"Europe\/Brussels\"/g' /etc/php/7.3/cli/php.ini
    sed -i 's/;date.timezone =/date.timezone = \"Europe\/Brussels\"/g' /etc/php/7.3/fpm/php.ini
  7. Modifier également le timezone de la machine
    timedatectl set-timezone Europe/Brussels

A continuer: https://docs.librenms.org/Installation/Install-LibreNMS/ PHP Timezone

linux/librenms.1593871321.txt.gz · Dernière modification : (modification externe)