0% found this document useful (0 votes)
346 views

Raspberry Pi Control Panel

This document summarizes the Raspberry Pi Control Panel, an interface designed to provide a fast overview of a Raspberry Pi system. It was originally programmed to fit the creator's specific needs but can be customized. It includes gauges powered by the JustGage JavaScript library and vector graphics from Raphaël. To use it, one needs a web server like lighttpd or Apache on the Pi with PHP enabled. The reboot and shutdown functions require adjusting sudoers to allow the www-data user to restart without a password, which could pose a security risk if the Pi is accessible over the network. The code is provided under an open license allowing customization and redistribution.

Uploaded by

dasgoyal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
346 views

Raspberry Pi Control Panel

This document summarizes the Raspberry Pi Control Panel, an interface designed to provide a fast overview of a Raspberry Pi system. It was originally programmed to fit the creator's specific needs but can be customized. It includes gauges powered by the JustGage JavaScript library and vector graphics from Raphaël. To use it, one needs a web server like lighttpd or Apache on the Pi with PHP enabled. The reboot and shutdown functions require adjusting sudoers to allow the www-data user to restart without a password, which could pose a security risk if the Pi is accessible over the network. The code is provided under an open license allowing customization and redistribution.

Uploaded by

dasgoyal
Copyright
© © All Rights Reserved
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 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.

You might also like