티스토리 뷰

OS/1080P Pinebook

1080P Pinebook - PINE64

파란크리스마스 2019. 2. 24. 21:55
728x90

출처

SD 확장

SD 확장전 용량확인

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root       5.7G  5.4G  377M  94% /
devtmpfs        739M     0  739M   0% /dev
tmpfs           995M     0  995M   0% /dev/shm
tmpfs           995M  1.1M  994M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           995M     0  995M   0% /sys/fs/cgroup
tmpfs           199M   12K  199M   1% /run/user/1000

SD FDisk

live@live-pc:~$ sudo fdisk /dev/mmcblk0

Welcome to fdisk (util-linux 2.31.1).
Changes will remain in memory only, until you decide to write them.
Be careful before using the write command.


Command (m for help): p
Disk /dev/mmcblk0: 29.7 GiB, 31914983424 bytes, 62333952 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0x99dd6e95

Device         Boot Start      End  Sectors  Size Id Type
/dev/mmcblk0p1 *    40960 12287999 12247040  5.9G 83 Linux

Command (m for help): d
Selected partition 1
Partition 1 has been deleted.

Command (m for help): n
Partition type
   p   primary (0 primary, 0 extended, 4 free)
   e   extended (container for logical partitions)
Select (default p): p
Partition number (1-4, default 1): 1
First sector (2048-62333951, default 2048): 40960
Last sector, +sectors or +size{K,M,G,T,P} (40960-62333951, default 62333951): 

Created a new partition 1 of type 'Linux' and of size 29.7 GiB.
Partition #1 contains a ext4 signature.

Do you want to remove the signature? [Y]es/[N]o: Y

The signature will be removed by a write command.

Command (m for help): w
The partition table has been altered.
Syncing disks.

live@live-pc:~$ sudo shutdown -r now

SD 확장

$ sudo resize2fs /dev/mmcblk0p1
resize2fs 1.44.1 (24-Mar-2018)
Filesystem at /dev/mmcblk0p1 is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 2
The filesystem on /dev/mmcblk0p1 is now 7786624 (4k) blocks long.

SD 확장 확인

$ df -h
Filesystem      Size  Used Avail Use% Mounted on
/dev/root        30G  5.4G   24G  19% /
devtmpfs        739M     0  739M   0% /dev
tmpfs           995M   11M  985M   2% /dev/shm
tmpfs           995M  1.1M  994M   1% /run
tmpfs           5.0M  4.0K  5.0M   1% /run/lock
tmpfs           995M     0  995M   0% /sys/fs/cgroup
tmpfs           199M   12K  199M   1% /run/user/1000

eMMC에 OS 설치

$ sudo dd if=neon-pinebook-remix-useredition-20190217-1500-arm64-1080p.img of=/dev/mmcblk1 bs=4MB status=progress conv=sync
6284000000 bytes (6.3 GB, 5.9 GiB) copied, 320 s, 19.6 MB/s
1572+1 records in
1573+0 records out
6292000000 bytes (6.3 GB, 5.9 GiB) copied, 324.49 s, 19.4 MB/s

원격 데스크톱 - Krfb (VNC protocol)

Krfb 설치

$ sudo apt-get install krfb
[sudo] password for live: 
Reading package lists... Done
Building dependency tree       
Reading state information... Done
The following additional packages will be installed:
  libvncserver1
The following NEW packages will be installed:
  krfb libvncserver1
0 upgraded, 2 newly installed, 0 to remove and 0 not upgraded.
Need to get 1,074 kB of archives.
After this operation, 2,404 kB of additional disk space will be used.

K Menu (Kickoff) -> Applications -> Internet -> Desktop Sharing (Krfb)

원격 데스크톱 - NoMachine

NoMachine 설치

$ sudo dpkg -i nomachine_6.5.6_7_arm64.deb
Selecting previously unselected package nomachine.
(Reading database ... 152723 files and directories currently installed.)
Preparing to unpack nomachine_6.5.6_7_arm64.deb ...
Unpacking nomachine (6.5.6-7) ...
Setting up nomachine (6.5.6-7) ...
NX> 700 Starting install at: Tue Feb 26 22:24:01 2019.
NX> 700 Installing: nxclient version: 6.5.6.
NX> 700 Using installation profile: Debian.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Compiling the USB module.
NX> 700 Installing: nxplayer version: 6.5.6.
NX> 700 Using installation profile: Debian.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 To connect the remote printer to the local desktop,
NX> 700 the user account must be a member of the CUPS System Group: lpadmin.
NX> 700 Installing: nxnode version: 6.5.6.
NX> 700 Using installation profile: Debian.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Creating configuration in: /usr/NX/etc/node.cfg.
NX> 700 Installing: nxserver version: 6.5.6.
NX> 700 Using installation profile: Debian.
NX> 700 Install log is: /usr/NX/var/log/nxinstall.log.
NX> 700 Creating configuration in: /usr/NX/etc/server.cfg.
NX> 700 Install completed at: Tue Feb 26 02:24:58 2019.
NX> 700 NoMachine was configured to run the following services:
NX> 700 NX service on port: 4000

포트 확인

$ nmap localhost
 
Starting Nmap 7.60 ( https://nmap.org ) at 2019-02-26 02:38 UTC
Nmap scan report for localhost (127.0.0.1)
Host is up (0.00059s latency).
Other addresses for localhost (not scanned): ::1
Not shown: 994 closed ports
PORT      STATE SERVICE
22/tcp    open  ssh
631/tcp   open  ipp
3389/tcp  open  ms-wbt-server
4000/tcp  open  remoteanything
7001/tcp  open  afs3-callback
20000/tcp open  dnp

한글 입력기 설치 (fcitx)

출처 : Localization/Korean (한국어) - ArchWiki

fcitx-hangul 설치

$ sudo apt-get install fcitx-hangul fcitx-frontend-qt4 im-config

한글 입력기 부팅시 시작하기

$ im-config -n fcitx

한글 입력기 설정 확인

$ cat ~/.xinputrc
## im-config(8) generated on Tue, 05 Mar 2019 23:19:59 +0900
run_im fcitx
## im-config signature: 962aab32bb5f1fff611ee7ed31737694  -

fcitx 설정

$ vi ~/.xinputrc

export GTK_IM_MODULE=fcitx
export QT_IM_MODULE=fcitx
export XMODIFIERS=@im=fcitx
댓글
300x250
공지사항
최근에 올라온 글
최근에 달린 댓글
Total
Today
Yesterday
«   2024/12   »
1 2 3 4 5 6 7
8 9 10 11 12 13 14
15 16 17 18 19 20 21
22 23 24 25 26 27 28
29 30 31
글 보관함