icps

notes

Raspberry_pi_3_plus

1
2
3
4
5
# /etc/apt/sources.list
# Uncomment line below then 'apt-get update' to enable 'apt-get source'
deb ftp://ftp.yzu.edu.tw/Linux/raspbian/raspbian/ wheezy main contrib non-free rpi
deb http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rpi
deb-src http://raspbian.raspberrypi.org/raspbian/ stretch main contrib non-free rp

LC_ALL_cannot_change_locale

1
2
3
4
5
`export LANGUAGE=en_US.UTF-8`
`export LANG=en_US.UTF-8`
`export LC_ALL=en_US.UTF-8`
`locale-gen en_US.UTF-8`
`dpkg-reconfigure locales`

#

1
2
3
4
5
6
7
8
`apt-get install ruby-dev libsqlite3-dev minicom fuse ntfs-3g`
# fix mount usb => read only
# ==> fuse ntfs-3g

`gem install sinatra`
`gem install bundle`
`bundle install`
eval "$(ssh-agent)";