GithubHelp home page GithubHelp logo

fix_dashboard's Introduction

Make dashboard root directory

  1. sudo bash
cd ~
sudo bash
  1. execute following commands
rm -fr fix_dashboard/
git clone https://github.com/ospfbgp/fix_dashboard.git
cp ~/fix_dashboard/dashboard.conf /etc/apache2/sites-available/.
cp ~/fix_dashboard/dashboard-ssl.conf /etc/apache2/sites-available/.
chown root:root /etc/apache2/sites-available/dashboard*.conf
chmod 644 /etc/apache2/sites-available/dashboard*.conf

cp ~/fix_dashboard/favicon-16x16.png /opt/www/images/.
cp ~/fix_dashboard/favicon-32x32.png /opt/www/images/.
cp ~/fix_dashboard/favicon.ico /opt/www/images/.
cp ~/fix_dashboard/logo.png /opt/www/images/.
cp ~/fix_dashboard/stepcg_logo.png /opt/www/images/.
chown stepcg:stepcg /opt/www/images/*
chmod 644 /opt/www/images/*

cp ~/fix_dashboard/index.html /opt/www/.
chown stepcg:stepcg /opt/www/index.html
chmod 644 /opt/www/index.html

cp ~/fix_dashboard/librenms /etc/cron.d/.
chown root:root /etc/cron.d/librenms
chmod 644 /etc/cron.d/librenms

cp ~/fix_dashboard/.htaccess /opt/librenms/html/.
chown -R librenms:librenms /opt/librenms
chmod 770 /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/
  1. Restart apache2
service apache2 restart
  1. edit file /opt/librenms/config.php and remove $config['base_url']
  2. edit file /opt/librenms/.env and comment out APP_URL=
  3. update dashboard
/opt/librenms/daily.sh
  1. validate dashboard
/opt/librenms/validate.php
  1. this breaks the logo and sets it back to stepcg logo
    Copy the customer logo to file below and it will display their logo /opt/www/images/logo.png

fix_dashboard's People

Contributors

ospfbgp avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.