NanoPi NEO2 Black

OS/NanoPi 2021. 1. 16. 02:18 Posted by 파란크리스마스

출처

리눅스 정보 확인

CPU 정보 확인

pi@NanoPi-NEO2-Black:~$ cat /proc/cpuinfo
processor       : 0
BogoMIPS        : 48.00
Features        : fp asimd evtstrm aes pmull sha1 sha2 crc32 cpuid
CPU implementer : 0x41
CPU architecture: 8
CPU variant     : 0x0
CPU part        : 0xd03
CPU revision    : 4
 
 ... 생략 ...
 
Hardware        : Allwinnersun50iw2Family
Revision        : 0000
Serial          : 0000000000000000

instruction set architecture (ISA)

pi@NanoPi-NEO2-Black:~$ uname -i
aarch64

eMMC에 OS 설치

이미지 복원이 완료되면 SD 메모리를 제거하고 재부팅

eMMC 확인

pi@NanoPi-NEO2-Black:~$ sudo fdisk -l | grep Disk
Disk /dev/mmcblk0: 59.5 GiB, 63864569856 bytes, 124735488 sectors
Disklabel type: dos
Disk identifier: 0xd70475ff
Disk /dev/mmcblk1: 29.1 GiB, 31268536320 bytes, 61071360 sectors
Disk /dev/mmcblk1boot1: 4 MiB, 4194304 bytes, 8192 sectors
Disk /dev/mmcblk1boot0: 4 MiB, 4194304 bytes, 8192 sectors

eMMC에 OS 설치

pi@NanoPi-NEO2-Black:~$ sudo dd if=nanopi-neo2-black_sd_friendlycore-xenial_4.14_arm64_20191219.img of=/dev/mmcblk1 bs=10MB
278+1 records in
278+1 records out
2787115008 bytes (2.8 GB, 2.6 GiB) copied, 123.871 s, 22.5 MB/s

원격 데스크톱 설치

desktop environment 설치

pi@NanoPi-NEO2-Black:~$ sudo apt install xfce4

Xrdp 설치

pi@NanoPi-NEO2-Black:~$ sudo apt install xrdp

xrdp 서비스 상태 확인

pi@NanoPi-NEO2-Black:~$ systemctl status xrdp
● xrdp.service - LSB: Start xrdp and sesman daemons
   Loaded: loaded (/etc/init.d/xrdp; bad; vendor preset: enabled)
   Active: active (running) since Fri 2021-01-15 16:59:06 UTC; 11s ago
     Docs: man:systemd-sysv-generator(8)
   CGroup: /system.slice/xrdp.service
           ├─15133 /usr/sbin/xrdp
           └─15135 /usr/sbin/xrdp-sesman

~/.xsession 생성 및 확인

pi@NanoPi-NEO2-Black:~$ ls /usr/bin/*session
/usr/bin/dbus-run-session  /usr/bin/xfce4-session
pi@NanoPi-NEO2-Black:~$ echo "xfce4-session" > ~/.xsession
pi@NanoPi-NEO2-Black:~$ cat ~/.xsession
xfce4-session

웹브라우저 설치

pi@NanoPi-NEO2-Black:~$ sudo apt install chromium-browser

댓글을 달아 주세요