- 追加された行はこのように表示されます。
- 削除された行は
このように表示されます。
!! Orange PI に Raspberry DeskTop をインストール
Raspberry Pi Desktop は Debian base の デスクトップOSらしいので
Debian いれてもよいかも
!! ハードウェア
http://www.orangepi.org/orangepipc/
http://www.orangepi.org/orangepione/
http://nanopi.io/nanopi-neo.html
! Download
http://www.orangepi.org/downloadresources/
## https://www.raspberrypi.org/downloads/
## https://github.com/orangepi-xunlong
User is root
Password is orangepi
apt-get dist-upgrade
! SDK GitHub
https://github.com/orangepi-xunlong/OrangePi_Build
! 北京語?なので Nippon語 に
## https://neo-sahara.com/wp/2016/12/11/orange-pi-pc2-%E6%97%A5%E6%9C%AC%E8%AA%9E%E7%92%B0%E5%A2%83%E3%82%92%E7%9B%AE%E6%8C%87%E3%81%97%E3%81%A6%E3%81%98%E3%81%9F%E3%81%B0%E3%81%9F%E3%81%97%E3%81%A6%E3%81%BF%E3%81%9F%E3%80%82/
apt-get install task-japanese
apt-get install task-english
# apt-get install language-pack-ja
# sudo apt-get install task-japanese
# sudo vim /etc/locale.gen
# ja_JP.UTF-8の行のコメントを解除
# sudo locale-gen
# sudo update-locale LANG=ja_JP.UTF-8
#export LANG=en_US.UTF-8
export LANG=ja_JP.UTF-8
export LC_ALL=$LANG
locale-gen --purge $LANG
dpkg-reconfigure -f noninteractive locales && /usr/sbin/update-locale LANG=$LANG LC_ALL=$LANG
!root パーティションの拡大
https://askubuntu.com/questions/24027/how-can-i-resize-an-ext-root-partition-at-runtime
fdisk /dev/mmcblk0
2番めがルートなので削除
Command (m for help): d
Partition number (1,2, default 2): 2
Partition 2 has been deleted.
同じ位置に拡大したPartitionをつくる
Command (m for help): n
Partition type
p primary (1 primary, 0 extended, 3 free)
e extended (container for logical partitions)
16G sd_card. の場合
Select (default p): p
Partition number (2-4, default 2): 2
First sector (172032-30883839, default 172032):
Last sector, +sectors or +size{K,M,G,T,P} (172032-30883839, default 30883839): +8G
Command (m for help): w
The partition table has been altered.
Calling ioctl() to re-read partition table.
WARNING: Re-reading the partition table failed with error 16: Device or resource
busy.
The kernel still uses the old table. The new table will be used at
the next reboot or after you run partprobe(8) or kpartx(8)
Syncing disks.
$ partprobe
$ reboot
$ sudo resize2fs /dev/mmcblk0p2
resize2fs 1.42.12 (29-Aug-2014)
Filesystem at /dev/mmcblk0p2 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 4
The filesystem on /dev/mmcblk0p2 is now 15458048 (4k) blocks long.
!fr24
https://www.instructables.com/id/Cheap-easy-Orange-Pi-SDR-for-Flightradar24-Feed/
!! ARMbian
https://www.armbian.com/
https://www.armbian.com/orange-pi-pc2/
https://www.armbian.com/orange-pi-pc/
http://www.armbian.com/
https://www.armbian.com/orange-pi-pc2/#kernels-archive
# root
# 1234
!DESKTop
$ tasksel
MATE
# Xfce
# LDEK
! 日本語対応
# apt -y install task-japanese locales-all
# localectl set-locale LANG=ja_JP.UTF-8 LANGUAGE="ja_JP:ja"
# source /etc/default/locale
# echo $LANG
ja_JP.UTF-8 # 変更された
! GPIO
http://www.neko.ne.jp/~freewing/raspberry_pi/orange_pi_pc2_wiringop_gpio/