Difference between revisions of "Raspberry - Getting Started"
From Teknologisk videncenter
m (→Updater firmware) |
m (→Installer div nice to have programmer) |
||
Line 26: | Line 26: | ||
</source> | </source> | ||
chmod +x /usr/bin/stats | chmod +x /usr/bin/stats | ||
− | ==Installer div nice to have programmer== | + | ==Installer div nice-to-have programmer== |
<source lang=bash> | <source lang=bash> | ||
apt-get install iperf nmon bmon htop screen | apt-get install iperf nmon bmon htop screen | ||
</source> | </source> |
Revision as of 15:23, 30 November 2012
Her vil der komme nogle små fifs til hvordan man starter med at lege med Raspberry Pi'en
Contents
Installation
Find en distribution og smide den på et SD kort.
Updater firmware
apt-get update
apt-get install git-core
wget http://goo.gl/1BOfJ -O /usr/bin/rpi-update && sudo chmod +x /usr/bin/rpi-update
rpi-update
reboot
Enable IPv6
# enable it on the fly
modprobe ipv6
#Enable it on the next reboot
echo ipv6 >> /etc/modules
Lav et script der viser temperatur og clock
nano /usr/bin/stats
#!/bin/bash
/opt/vc/bin/vcgencmd measure_temp
/opt/vc/bin/vcgencmd measure_clock arm
chmod +x /usr/bin/stats
Installer div nice-to-have programmer
apt-get install iperf nmon bmon htop screen