Sei sulla pagina 1di 2

bit bucket .org https://bitbucket.

org/baldisos/raspberry-pi-control-panel
Raspberry Pi Control Panel
The Raspberry Pi Control Panel is designed to give you a f ast overview of your Raspberry Pi.
It was originally 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 on all other Raspbian/Debian based distributions.
Localizations can be created by adding f iles to
./localization/langugage.lang.php
and editing index.php by changing
dene(LANGUAGE, "english");
to your languagef ile.
Preview:
Tech
Raspberry Pi Control Panel includes some libraries. Libraries used are:
JustGage - JavaScript library f or 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,
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 f ile 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 solution might work f or
me, but not f or you. You may f ork, rename, distribute, or do whatever you want, as long as you don't blame
me f or things getting broken or not working the way the should.

Potrebbero piacerti anche