Difference between revisions of "Hardware: Raspberry Pi - Dashboard (Kiosk)"
Lukas Dzunko (talk | contribs) (→Base packages installation) |
Lukas Dzunko (talk | contribs) (→System set) |
||
Line 81: | Line 81: | ||
=== System set === | === System set === | ||
<pre> | <pre> | ||
− | apt-get install | + | apt-get install screen htop nload git-core traceroute mc ddrescue rsync vim pydf lsof psmisc unzip util-linux collectl |
</pre> | </pre> | ||
Revision as of 19:37, 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.
Contents
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
Software installation
Minimum set
apt-get install raspi-config btrfs-tools apt-utils
Note: separate installation of "apt-utils" will speed up later installation of packages
System set
apt-get install screen htop nload git-core traceroute mc ddrescue rsync vim pydf lsof psmisc unzip util-linux collectl
Note: those packages are not essential but may help to diagnose problems