-
Notifications
You must be signed in to change notification settings - Fork 2
/
raspberrypi
44 lines (37 loc) · 1.96 KB
/
raspberrypi
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
Raspberry Timer HowTo:
---------------------
- Raspis use Bounjour/Zeroconf to be reachable in local network by there name eg. masterclock.local
- to remote manage a clock go to /manage url eg. http://masterclock.local/manage
- set a timer and use [Push] to push local setting to connected display and slaves
- use [PushURL] to push eg. a digital ROCK beamer URL (without protocol!!!)
ToDo:
- Using Beamer from ResultService with a Raspi name to push the URL is currently broken:
==> mixed content warning (http Raspi URL in https page from www.digitalrock.de/ifsc.egroupware.net)
--> could use http:// to access unauthenticated beamer URL (currently prevented by EGw webserver_url with https)
--> Raspi could have UI to build the usr using JSON feeds
Questions:
- how are slaves paired with a master
- how to un-pair and send an own URL to a slave
Installing Timy stuff on Raspberry Pi
=====================================
- buy a Raspberry Pi Model B+ with 8GB Noobs sdcard, a case, a charger and assemble it
- connect screen via hdmi, keyboard and mouse via usb
- power on the Pi and do a Raspbian network install (first checkbox in menu)
- after install use next menu to:
+ select to boot to commandline
+ set password for user "pi"
+ reboot
- after reboot log in and note down ip: ip -4 addr
- you can now log into Pi via ssh: ssh pi@<ip-addr>
- create .ssh directory for user pi: mkdir .ssh ; chmod 700 .ssh
- copy ssh key to Pi: scp ~/.ssh/authorized_keys pi@<ip-addr>
- update repos: sudo aptitude update
- install php and apache2 with: sudo aptitude install apache-mpm-prefork php5 php5-mbstring
- install zeroconf/bonjour with: sudo aptitude install libnss-mdns
- you can now browse http://raspberrypi.local/ or log into Pi with: ssh pi@raspberrypi.local
- install ranking code with:
sudo aptitude install subversion
sudo mkdir /usr/share/egroupware
sudo chown pi /usr/share/egroupware
cd /usr/share/egroupware
svn co svn+ssh://stylite@svn.stylite.de/repos/trunk/ranking