- Raspberry Pi 3 - Model B
- USB keyboard
- USB mouse
- HDMI cable
- Micro SD card
- Mini USB power adopter
The one I have is SONY microSDXC 64GB
- Open Disk Utility
- Select the SD card
- Erase the SD card with:
- Format: MS-DOS(FAT)
- Sceme: Master Boot Record
It has built-in Wi-Fi!
- Choose Raspbian
- Click 'Install'
- It starts extracting files. Wait for a while (took 15 mins for me)
As I am using a Mac keyboard. You may be able to skip this.
$ sudo dpkg-reconfigure locales- Change it to
en_US.UTF-8 $ sudo dpkg-reconfigure keyboard-configuration- Change it to
USA PC104 - Reboot
$ sudo apt-get update && apt-get upgrade -y
Followed: http://raspberrypi.stackexchange.com/a/44690
$ sudo vi /etc/apt/sources.list- Add the two lines
deb http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu vivid main#deb-src http://ppa.launchpad.net/canonical-chromium-builds/stage/ubuntu vivid main
$ sudo apt-key adv --keyserver keyserver.ubuntu.com --recv-keys DB69B232436DAC4B50BDC59E4E1B983C5B393194$ sudo apt update$ sudo apt install chromium-browser
$ sudo dpkg-reconfigure tzdata
https://www.raspberrypi.org/documentation/remote-access/ssh/unix.md
http://blog.dylanjpierce.com/raspberrypi/magicmirror/tutorial/2015/12/27/build-a-magic-mirror.html
$ sudo vi /etc/xdg/lxsession/LXDE-pi/autostart- Comment out
@xscreensaver -no-splashwith# - Add this line
@xset s off @xset -dpms @xset s noblank /usr/bin/chromium --noerrdialogs --kiosk --incognito "http://localhost"
Hmm, actually it doesn't work for me. Instead, I did...
$ sudo vi ~/autostart- Add this line
chromium --noerrdialogs --kiosk http://www.page-to.display --incognito - Save the file
$ sudo vi ~/.bashrc- Add this line
./autostart - Save the file
$ sudo apt-get update && sudo apt-get install nginx php5-fpm php5-cli php5-mcrypt git$ sudo vi /etc/nginx/sites-available/mirror.conf- Paste https://gist.github.com/ctrlaltdylan/18d78a608a3d81c964e7
$ sudo vi /etc/nginx/sites-available/default- Comment out
listen [::]:80 default_server;(IPv6 line) sudo ln -s /etc/nginx/sites-available/mirror.conf /etc/nginx/sites-enabled/mirror.conf && sudo service nginx reload
$ sudo mkdir /home/pi/projects cd /home/pi/projects$ sudo git clone https://github.com/ctrlaltdylan/MirrorMirror.git$ curl -sS https://getcomposer.org/installer | sudo php -- --install-dir=/usr/local/bin --filename=composer$ cd MirrorMirror composer install$ sudo chmod -R 777 storage(warning. can be something else but777)- Open browser then
http://localhost!