Aller au fichier
VirtuBox f309fb6d42
Update README.md
2019-04-18 13:18:09 +02:00
css improve monitoring display 2018-08-03 06:01:32 +02:00
docs update documentation 2018-08-03 06:20:11 +02:00
js improve monitoring display 2018-08-03 06:01:32 +02:00
.gitignore improve monitoring display 2018-08-03 06:01:32 +02:00
LICENSE Initial commit 2017-12-14 04:18:23 +01:00
README.md Update README.md 2019-04-18 13:18:09 +02:00
ee-dashboard.png update screenshot 2018-08-03 06:08:07 +02:00
favicon.ico Add files via upload 2017-12-14 04:33:42 +01:00
index.php update links 2018-12-05 16:27:56 +01:00
install.sh Update install.sh 2018-08-03 14:58:29 +02:00

README.md

easyengine-dashboard

A clean bootstrap dashboard for EasyEngine

ee-dashboard

New version is available : WordOps-dashboard

Automated dashboard installation will be available soon in WordOps

Requirements

  • EasyEngine

Installation

Automated install

bash <(wget -O - https://virtubox.github.io/easyengine-dashboard/install.sh)

Manual install

Install the Following Stacks

ee stack install --web --php7 --redis --admin --phpredisadmin

Update phpmyadmin (if needed)

cd ~/ || exit
curl -sS https://getcomposer.org/installer | php
mv composer.phar /usr/bin/composer
chown www-data:www-data /var/www
sudo -u www-data -H composer update -d /var/www/22222/htdocs/db/pma/

Install Netdata

## install dependencies
sudo apt-get install autoconf autoconf-archive autogen automake gcc libmnl-dev lm-sensors make nodejs pkg-config python python-mysqldb python-psycopg2 python-pymongo python-yaml uuid-dev zlib1g-dev -y

## install nedata
bash <(curl -Ss https://my-netdata.io/kickstart.sh) all --dont-wait

## optimize netdata resources usage
echo 1 >/sys/kernel/mm/ksm/run
echo 1000 >/sys/kernel/mm/ksm/sleep_millisecs

## disable email notifigrep -cions
sudo sed -i 's/SEND_EMAIL="YES"/SEND_EMAIL="NO"/' /etc/netdata/health_alarm_notify.conf
sudo service netdata restart

Nginx configurations

  • added nginx & php-fpm status page to default vhost
  • added netdata reverse-proxy configuration in 22222
  • added php7.1, php7.2 and netdata upstream to upstream.conf
# add location for monitoring
wget -O /etc/nginx/sites-available/default  https://virtubox.github.io/ubuntu-nginx-web-server/files/etc/nginx/sites-available/default

# replace php5.6 by php7.0 and add netdata reverse-proxy
wget -O /etc/nginx/sites-available/22222 https://virtubox.github.io/ubuntu-nginx-web-server/files/etc/nginx/sites-available/22222

# php7.1 php7.2 & netdata upstream
wget -O /etc/nginx/conf.d/upstream.conf https://virtubox.github.io/ubuntu-nginx-web-server/files/etc/nginx/conf.d/upstream.conf

Install extplorer

mkdir /var/www/22222/htdocs/files
wget http://extplorer.net/attachments/download/74/eXtplorer_2.1.10.zip -O /var/www/22222/htdocs/files/ex.zip
cd /var/www/22222/htdocs/files && unzip ex.zip && rm ex.zip

Install easyengine-dashboard

wget https://github.com/VirtuBox/easyengine-dashboard/archive/master.zip -O easyengine-dashboard.zip
unzip easyengine-dashboard.zip && rm easyengine-dashboard.zip
sudo cp -rf easyengine-dashboard-master/* /var/www/22222/htdocs/
sudo chown -R www-data:www-data /var/www/22222/htdocs

Updating EasyEngine-Dashboard

Just perform again the last installation step

cd /var/www/22222 || exit
wget https://github.com/VirtuBox/easyengine-dashboard/archive/master.zip -O easyengine-dashboard.zip
unzip easyengine-dashboard.zip && rm easyengine-dashboard.zip
sudo cp -rf easyengine-dashboard-master/* /var/www/22222/htdocs/
sudo chown -R www-data:www-data /var/www/22222/htdocs

Troubleshooting

Network interfaces meter are not displayed on the dashboard

If you network interface isn't named eth0, you just have to use the command ifconfig to find its name and to replace eth0 with the proper interface name in the dashboard index.php file. Example for a network interface named ens18 :

sed -i 's/eth0/ens18/' /var/www/22222/htdocs/index.php

Published & maintained by VirtuBox