Linux raspberrypi 3.18.7-v7+ #755 SMP PREEMPT Thu Feb 12 17:20:48 GMT 2015 armv7l GNU/Linux
total used free shared buffers cached Mem: 949328 213180 736148 0 18740 143268 -/+ buffers/cache: 51172 898156 Swap: 102396 0 102396
processor : 0 model name : ARMv7 Processor rev 5 (v7l) BogoMIPS : 38.40 Features : half thumb fastmult vfp edsp neon vfpv3 tls vfpv4 idiva idivt vfpd32 lpae evtstrm CPU implementer : 0x41 CPU architecture: 7 CPU variant : 0x0 CPU part : 0xc07 CPU revision : 5 …省略…(4core分続く) Hardware : BCM2709 Revision : a21041 Serial : ********
ファイルシス 1K-ブロック 使用 使用可 使用% マウント位置 rootfs 15071704 2848724 11560336 20% / /dev/root 15071704 2848724 11560336 20% / devtmpfs 470368 0 470368 0% /dev tmpfs 94936 236 94700 1% /run tmpfs 5120 0 5120 0% /run/lock tmpfs 189860 0 189860 0% /run/shm /dev/mmcblk0p1 57288 14728 42560 26% /boot
en_GB.UTF-8 UTF-8 ja_JP.UTF-8 UTF-8 ← defaultにロケールに設定
アジア→Tokyo
Generic 105-key (Intl) PC → Other → Japanese
safe_mode_gpio=4 max_usb_current=1
$ sudo rpi-update $ sudo shutdown -r now
$ sudo update $ sudo upgrade $ sudo apt-get install ttf-kochi-gothic xfonts-intl-japanese xfonts-intl-japanese-big xfonts-kaname jfbterm $ sudo apt-get install emacs23-nox screen $ sudo apt-get install wicd-curses
auto lo iface lo inet loopback iface eth0 inet dhcp allow-hotplug wlan0 iface wlan0 inet manual wpa-roam /etc/wpa_supplicant/wpa_supplicant.conf iface default inet dhcp
$ sudo apt-get install nginx monit $ sudo apt-get sqlite3 libdbi-perl libdbd-sqlite3-perl libjson-xs-perl libdbd-sybase-perl $ sudo apt-get libdatetime-perl
set httpd port 2812 and use address localhost allow admin:monit
server { listen 80; location /monit/ { rewrite ^/monit/(.*) /$1 break; proxy_pass http://localhost:2812; proxy_redirect http://localhost:2812/monit /monit/; proxy_set_header Host $host; } }
check process datafetch matching "detafetch" start program = "/home/pi/detafetch/bin/datafetch.pl -log" as uid pi and gid pi stop program = "/usr/bin/pkill datafetch.pl" as uid pi and gid pi if 5 restarts within 5 cycles then unmonitor
[global] port = 1433 tds version = 8.0 client charset = UTF-8