Upload
dasgoyal
View
15
Download
0
Embed Size (px)
DESCRIPTION
Raspberry Pi Control Panel
Citation preview
5/21/2018 Raspberry Pi Control Panel
1/3
bitbucket.org https://bitbucket.org/baldisos/raspberry-pi-control-panel
Raspberry Pi Control Panel
The Raspberry Pi Contro l Panel is designed to give you a f ast overview of your Raspberry Pi.
It was o riginally programmed to f it my needs, so if you need something else, you are f ree to add it yourself .
I use it on RaspBMC, i haven't testet it , but it should work o n all other Raspbian/Debian based distributions.
Localizations can be created by adding f iles to
./localization/langugage.lang.php
and editing index.phpby changing
define(LANGUAGE, "english");
to your languagefile.
Preview:
Tech
Raspberry Pi Control Panel includes some libraries. Libraries used are:
JustGage- JavaScript library for the gauges.
Raphal- JavaScript library f or vector graphics. Needed by JustGage.
Installation
You need to have a Webserver up and running on your Raspberry Pi. lighttpd, Apache2 have been testet,
http://raphaeljs.com/http://justgage.com/https://bitbucket.org/baldisos/raspberry-pi-control-panelhttps://bitbucket.org/5/21/2018 Raspberry Pi Control Panel
2/3
but i think others will do just f ine. You need to have PHP enabled and be able to execute shell_exec()
commmands.
For the reboot and shutdown buttons to work, you need to adjust your /etc/sudoers file by using
sudo visudo
and adding this line
www-data ALL=NOPASSWD:/sbin/shutdown
WARNING:After adding this line, the User www-data is able to restart and shutdown your Pi. Which means,
anybody who might get access to your Pi over http could do so also. You need to secure it yourself. If your Pi is
running in your local network, and there is nobody around who might shut down your Pi on purpose, this
solution works fine without extra securing it.
License
nada - do whatever you want. This was made quick and dirty, what means that this so lution might work f or
me, but not f or you. You may fork, rename, distribute, or do whatever you want, as long as you don't blame
me for things gett ing broken or not working the way the should.
5/21/2018 Raspberry Pi Control Panel
3/3