Difference between revisions of "Hardware: Raspberry Pi - Dashboard (Kiosk)"

From Luky-Wiki
Jump to: navigation, search
(Base packages installation)
(Display port configuration)
Line 84: Line 84:
 
</pre>
 
</pre>
  
=== Display port configuration ===
+
=== HDMI port configuration ===
 +
 
 
=== Network Time ===
 
=== Network Time ===
 
=== Root Password + accounts ===
 
=== Root Password + accounts ===

Revision as of 19:54, 3 May 2016

Do You have spare RPi and big monitor / TV ? If yes then let's try to build dashboard. There are several ways how to get "data" on screen. Most common is to use browser to do all rendering and remote connections. This article describe configuration using browser. Browser needs X11 subsystem and there are several ways how to start X11 + browser. I selected two most common options.

Base OS

I recommend Rasbian installed using unattended installer. Keyboard is not necessary to perform installation and re-instillation. This article describe re-installation but with small modification you can use it also as initial installation. Raspbian UA installer can be obtained from release page or homepage.

Step 1

Cleanup /boot and replace it with UA installer.

cd /root
wget https://github.com/debian-pi/raspbian-ua-netinst/releases/download/v1.0.8.1/raspbian-ua-netinst-v1.0.8.1.zip

cd /boot
rm -rf *

unzip /root/raspbian-ua-netinst-v1.0.8.1.zip

Step 2

Configure root file system type and hostname / domain.

Invoke editor:

vi /boot/installer-config.txt

Insert following lines:

hostname=RPi-hostname
domainname=localhost.localdomain
rootpw=root
rootfstype=btrfs

Alter hostname/domainname to fit your installation. Root password stay visible in this configuration file after installation. I recommend do leave it as is here and change it later.

Step 3

Start installation:

cd /
umount /boot

reboot -f

For more details review Raspbian UA installer documentation. After installation log-in using ssh and user: root / password: root"

OS configuration

Initial config

UA installer install only minimum packages and configuration files. It is necessary to "customize" system upon first log-in.

Locales:

dpkg-reconfigure locales
en_GB.UTF-8...
en_US.UTF-8...
sk_SK.UTF-8...

Timezone:

dpkg-reconfigure tzdata
Europe/Bratislava

root password:

passwd

Base packages installation

Minimum set of tools:

apt-get install raspi-config btrfs-tools apt-utils

Note: separate installation of "apt-utils" will speed up later installation of packages

System tools (may help to diagnose problems later):

apt-get install screen htop nload git-core traceroute mc ddrescue rsync vim pydf lsof psmisc unzip util-linux collectl

HDMI port configuration

Network Time

Root Password + accounts

(optional) Migrate system to subvolume

Browser started using display manager

Required packages

Configuration

Testing

Browser started using init

Required packages

Configuration

Testing

Synthetic F5 (reload)

Dashboard source posibilities

Watchdog

snapshot

backup ?