date: 2017-10-18 23:48:35 +0900
categories: 라즈베리,Raspberry, plex media server
프롤로그
- 목적 : 상시 서비스 제공 필요 + Plex Media 서버 통합 (현재 맥, PC, 리눅스에서 서버 운영중)
Plex Media Server 설치
- How to set up a Raspberry Pi Plex server를 참고 하여 설치
1. Check that you have the HTTPS transport package installed
pi@Borilikeharry:~ $ sudo apt-get install apt-transport-https
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
apt-transport-https is already the newest version (1.4.7).
0개 업그레이드, 0개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
2. Add the dev2day repository to your package source list
pi@Borilikeharry:~ $ wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | sudo apt-key add -
--2017-10-20 00:38:28-- https://dev2day.de/pms/dev2day-pms.gpg.key
Resolving dev2day.de (dev2day.de)... 144.76.172.47, 2a01:4f8:200:502e::2
Connecting to dev2day.de (dev2day.de)|144.76.172.47|:443... connected.
HTTP request sent, awaiting response... 200 OK
Length: 1646 (1.6K) [application/pgp-keys]
Saving to: ‘STDOUT’
- 100%[=========================================================================>] 1.61K --.-KB/s in 0s
2017-10-20 00:38:30 (27.5 MB/s) - written to stdout [1646/1646]
OK
pi@Borilikeharry:~ $ echo "deb https://dev2day.de/pms/ jessie main" | sudo tee /etc/apt/sources.list.d/pms.list
deb https://dev2day.de/pms/ jessie main
pi@Borilikeharry:~ $ sudo apt-get update
기존:1 http://mirrordirector.raspbian.org/raspbian stretch InRelease
받기:2 https://dev2day.de/pms jessie InRelease [1,803 B]
받기:3 https://dev2day.de/pms jessie/main armhf Packages [956 B]
기존:4 http://archive.raspberrypi.org/debian stretch InRelease
내려받기 2,759 바이트, 소요시간 3초 (728 바이트/초)
패키지 목록을 읽는 중입니다... 완료
3. Download Plex
pi@Borilikeharry:~ $ sudo apt-get install -t jessie plexmediaserver
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
The following additional packages will be installed:
plexmediaserver-installer
다음 새 패키지를 설치할 것입니다:
plexmediaserver plexmediaserver-installer
0개 업그레이드, 2개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
8,470 바이트 아카이브를 받아야 합니다.
이 작업 후 0 바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 https://dev2day.de/pms jessie/main armhf plexmediaserver-installer armhf 1.9.4.4325-1bf240a65-1 [7,522 B]
받기:2 https://dev2day.de/pms jessie/main armhf plexmediaserver all 0.9.16.4.1911-ee6e505-2~jessie [948 B]
내려받기 8,470 바이트, 소요시간 2초 (4,055 바이트/초)
Selecting previously unselected package plexmediaserver-installer.
(데이터베이스 읽는중 ...현재 123015개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../plexmediaserver-installer_1.9.4.4325-1bf240a65-1_armhf.deb ...
Unpacking plexmediaserver-installer (1.9.4.4325-1bf240a65-1) ...
Selecting previously unselected package plexmediaserver.
Preparing to unpack .../plexmediaserver_0.9.16.4.1911-ee6e505-2~jessie_all.deb ...
Unpacking plexmediaserver (0.9.16.4.1911-ee6e505-2~jessie) ...
plexmediaserver-installer (1.9.4.4325-1bf240a65-1) 설정하는 중입니다 ...
Downloading readynas package ...
######################################################################## 100.0%
Passed checksum test.
Extracting readynas.deb ...
rm: cannot remove '/etc/systemd/system/plexmediaserver.service.d/override.conf': 그런 파일이나 디렉터리가 없습니다
Synchronizing state of plexmediaserver.service with SysV service script with /lib/systemd/systemd-sysv-install.
Executing: /lib/systemd/systemd-sysv-install enable plexmediaserver
Processing triggers for systemd (232-25+deb9u1) ...
plexmediaserver (0.9.16.4.1911-ee6e505-2~jessie) 설정하는 중입니다 ...
4. Permissions chores - Let’s set Plex to run under the Pi user.
pi@Borilikeharry:~ $ sudo nano /etc/default/plexmediaserver.prev
PLEX_MEDIA_SERVER_USER=plex. Delete “plex” and type in “pi,” so that the line reads PLEX_MEDIA_SERVER_USER=pi.
pi@Borilikeharry:~ $ sudo service plexmediaserver restart
5. IP address chores - Static IP Address (안함 - 나중에 유선 연결 예정)
pi@Borilikeharry:~ $ hostname -I
172.30.1.9
pi@Borilikeharry:~ $ sudo nano /boot/cmdline.txt
At the bottom of the command line text file, type ip= followed by your IP address.
6. Restart your Pi
기존 외장하드 Mount - Segate 2TB usbhdd
- device name : /dev/sda2, file format : hfsplus(Mac OS file format)
아무런 작업없이 외장하드를 라즈베리에 연결
외장하드 UUID 확인
pi@Borilikeharry:~ $ sudo blkid
/dev/mmcblk0p1: LABEL="boot" UUID="E5B7-FEA1" TYPE="vfat" PARTUUID="8b1a3e24-01"
/dev/mmcblk0p2: UUID="b4ea8e46-fe87-4ddd-9e94-506c37005ac5" TYPE="ext4" PARTUUID="8b1a3e24-02"
/dev/mmcblk0: PTUUID="8b1a3e24" PTTYPE="dos"
/dev/sda1: LABEL="EFI" UUID="70D6-1701" TYPE="vfat" PARTLABEL="EFI System Partition" PARTUUID="00e7f205-bfcf-4b6f-bd3a-9e728d6d01fb"
## 외장하드 hfsplus(Mac OS file format)
/dev/sda2: UUID="6c7d9866-f601-3efe-b5f0-02c88d3e7127" LABEL="Expansion Drive" TYPE="hfsplus" PARTLABEL="Expansion Drive" PARTUUID="fe90b6c1-86ad-43e1-8eed-56b2fa82e0a3"
마운트된 디스크 확인
pi@Borilikeharry:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 4.5G 9.4G 33% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 8.0K 464M 1% /dev/shm
tmpfs 464M 13M 452M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M 51% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000
/dev/sda2 1.9T 1.8T 29G 99% /media/pi/Expansion Drive <-- 외장하드
한글 이름으로 된 디렉토리/파일 인식 못함
원인 : 파일포멧때문인걸로 ....
pi@Borilikeharry:/media/pi/Expansion Drive $ ls -al
ls: cannot access 'AP모음': 그런 파일이나 디렉터리가 없습니다
ls: cannot access 'p580백업': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '교육-Java Programing ': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '다큐': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '동영상': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '사진': 그런 파일이나 디렉터리가 없습니다
합계 156196
drwxr-xr-x 1 99 99 13 8월 23 2015 $RECYCLE.BIN
drwxrwxr-x 1 99 99 33 10월 14 02:35 .
drwxr-x---+ 3 root root 4096 10월 20 00:56 ..
-rw-r--r-- 1 99 99 28676 10월 19 18:18 .DS_Store
d--x--x--x 1 root root 8 10월 19 08:45 .DocumentRevisions-V100
dr-xr-xr-t 1 root root 2 1월 1 1904 .HFS+ Private Directory Data?
drwx------ 1 99 99 5 3월 21 2012 .Spotlight-V100
d-wx-wx-wt 1 501 dialout 5 10월 7 2012 .TemporaryItems
d-wx-wx-wt 1 99 99 2 5월 2 06:50 .Trashes
-rw-r--r-- 1 root root 162570 6월 24 2011 .VolumeIcon.icns
-rw-r--r-- 1 99 99 315 8월 18 2012 .apdisk
-rw-r--r-- 1 root 99 905 3월 22 2012 .disk_label
drwx------ 1 99 99 9 10월 20 00:55 .fseventsd
---------- 1 root root 159383552 3월 21 2012 .journal
---------- 1 root root 4096 3월 21 2012 .journal_info_block
d?????????? ? ? ? ? ? AP모음
drwxr-xr-x 1 99 99 6 3월 27 2012 AudioBook
drwxr-xr-x 1 99 99 12 11월 30 2013 Book
drwxr-xr-x 1 501 dialout 33 4월 9 2017 Data
drwxr-xr-x 1 99 99 3 10월 14 02:35 Game.of.Thrones.S05
drwxr-xr-x 1 99 99 47 12월 27 2015 Incomming
drwxr-xr-x 1 99 99 13 9월 19 2016 Memorette
drwx---rwx 1 99 99 269 5월 20 18:23 Movies
drwxr-xr-x 1 99 99 4 8월 23 2015 System Volume Information
drwxr-xr-x 1 501 dialout 41 10월 5 00:22 TV
-rw-r--r-- 1 501 dialout 46080 9월 8 2013 Thumbs.db
d?????????? ? ? ? ? ? p580백업
-rwxr-xr-x 1 root root 297548 12월 7 2011 tmbootpicker.efi
d?????????? ? ? ? ? ? 교육-Java Programing
d?????????? ? ? ? ? ? 다큐
d?????????? ? ? ? ? ? 동영상
d?????????? ? ? ? ? ? 사진
hfsplus 설치 하고 재 mount 시도
pi@Borilikeharry:/media/pi/Expansion Drive $ sudo apt-get install hfsplus
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
The following additional packages will be installed:
libhfsp0
다음 새 패키지를 설치할 것입니다:
hfsplus libhfsp0
0개 업그레이드, 2개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
73.2 k바이트 아카이브를 받아야 합니다.
이 작업 후 285 k바이트의 디스크 공간을 더 사용하게 됩니다.
계속 하시겠습니까? [Y/n] y
받기:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf libhfsp0 armhf 1.0.4-15 [33.6 kB]
받기:2 http://mirrordirector.raspbian.org/raspbian stretch/main armhf hfsplus armhf 1.0.4-15 [39.5 kB]
내려받기 73.2 k바이트, 소요시간 1초 (47.7 k바이트/초)
Selecting previously unselected package libhfsp0.
(데이터베이스 읽는중 ...현재 123023개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../libhfsp0_1.0.4-15_armhf.deb ...
Unpacking libhfsp0 (1.0.4-15) ...
Selecting previously unselected package hfsplus.
Preparing to unpack .../hfsplus_1.0.4-15_armhf.deb ...
Unpacking hfsplus (1.0.4-15) ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
Processing triggers for man-db (2.7.6.1-2) ...
libhfsp0 (1.0.4-15) 설정하는 중입니다 ...
hfsplus (1.0.4-15) 설정하는 중입니다 ...
Processing triggers for libc-bin (2.24-11+deb9u1) ...
pi@Borilikeharry:/media/pi/Expansion Drive $ sudo umount /media/pi/Expansion
/ /media/pi/Expansion /sys/fs/cgroup /sys/kernel/config mqueue
/boot /proc /sys/fs/cgroup/blkio /sys/kernel/debug proc
/dev /proc/sys/fs/binfmt_misc /sys/fs/cgroup/cpu,cpuacct cgroup sunrpc
/dev/mmcblk0p1 /run /sys/fs/cgroup/devices configfs sysfs
/dev/mmcblk0p2 /run/lock /sys/fs/cgroup/freezer debugfs systemd-1
/dev/mqueue /run/rpc_pipefs /sys/fs/cgroup/memory devpts tmpfs
/dev/pts /run/user/1000 /sys/fs/cgroup/net_cls devtmpfs
/dev/sda2 /run/user/1000/gvfs /sys/fs/cgroup/systemd fusectl
/dev/shm /sys /sys/fs/fuse/connections gvfsd-fuse
pi@Borilikeharry:/media/pi/Expansion Drive $ sudo umount /media/pi/Expansion
umount: /media/pi/Expansion: mountpoint not found
pi@Borilikeharry:/media/pi/Expansion Drive $ sudo umount /media/pi/Expansion\ Drive
umount: /media/pi/Expansion Drive: target is busy
(In some cases useful info about processes that
use the device is found by lsof(8) or fuser(1).)
pi@Borilikeharry:/media/pi/Expansion Drive $ pwd
/media/pi/Expansion Drive
pi@Borilikeharry:/media/pi/Expansion Drive $ cd
pi@Borilikeharry:~ $ sudo umount /media/pi/Expansion\ Drive
pi@Borilikeharry:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 4.5G 9.4G 33% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 8.0K 464M 1% /dev/shm
tmpfs 464M 13M 452M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M 51% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000
pi@Borilikeharry:~ $ sudo mkdir /media/usbhdd1
pi@Borilikeharry:~ $ sudo mount -t hfsplus /dev/sda2 /media/usbhdd1
pi@Borilikeharry:~ $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 4.5G 9.4G 33% /
devtmpfs 460M 0 460M 0% /dev
tmpfs 464M 8.0K 464M 1% /dev/shm
tmpfs 464M 13M 452M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 464M 0 464M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M 51% /boot
tmpfs 93M 4.0K 93M 1% /run/user/1000
/dev/sda2 1.9T 1.8T 29G 99% /media/usbhdd1
pi@Borilikeharry:~ $ cd /media/usbhdd1/
pi@Borilikeharry:/media/usbhdd1 $ ls -al
ls: cannot access 'AP모음': 그런 파일이나 디렉터리가 없습니다
ls: cannot access 'p580백업': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '교육-Java Programing ': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '다큐': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '동영상': 그런 파일이나 디렉터리가 없습니다
ls: cannot access '사진': 그런 파일이나 디렉터리가 없습니다
합계 156196
drwxr-xr-x 1 99 99 13 8월 23 2015 $RECYCLE.BIN
drwxrwxr-x 1 99 99 33 10월 14 02:35 .
drwxr-xr-x 4 root root 4096 10월 20 01:09 ..
-rw-r--r-- 1 99 99 28676 10월 19 18:18 .DS_Store
d--x--x--x 1 root root 8 10월 19 08:45 .DocumentRevisions-V100
dr-xr-xr-t 1 root root 2 1월 1 1904 .HFS+ Private Directory Data?
drwx------ 1 99 99 5 3월 21 2012 .Spotlight-V100
d-wx-wx-wt 1 501 dialout 5 10월 7 2012 .TemporaryItems
d-wx-wx-wt 1 99 99 2 5월 2 06:50 .Trashes
-rw-r--r-- 1 root root 162570 6월 24 2011 .VolumeIcon.icns
-rw-r--r-- 1 99 99 315 8월 18 2012 .apdisk
-rw-r--r-- 1 root 99 905 3월 22 2012 .disk_label
drwx------ 1 99 99 9 10월 20 00:55 .fseventsd
---------- 1 root root 159383552 3월 21 2012 .journal
---------- 1 root root 4096 3월 21 2012 .journal_info_block
d????????? ? ? ? ? ? AP모음
drwxr-xr-x 1 99 99 6 3월 27 2012 AudioBook
drwxr-xr-x 1 99 99 12 11월 30 2013 Book
drwxr-xr-x 1 501 dialout 33 4월 9 2017 Data
drwxr-xr-x 1 99 99 3 10월 14 02:35 Game.of.Thrones.S05
drwxr-xr-x 1 99 99 47 12월 27 2015 Incomming
drwxr-xr-x 1 99 99 13 9월 19 2016 Memorette
drwx---rwx 1 99 99 269 5월 20 18:23 Movies
drwxr-xr-x 1 99 99 4 8월 23 2015 System Volume Information
drwxr-xr-x 1 501 dialout 41 10월 5 00:22 TV
-rw-r--r-- 1 501 dialout 46080 9월 8 2013 Thumbs.db
d????????? ? ? ? ? ? p580백업
-rwxr-xr-x 1 root root 297548 12월 7 2011 tmbootpicker.efi
d????????? ? ? ? ? ? 교육-Java Programing
d????????? ? ? ? ? ? 다큐
d????????? ? ? ? ? ? 동영상
d????????? ? ? ? ? ? 사진
마찬가지로 깨짐 .... 18
- plexmediaserver 2 ip 사용(유/무선) 가능 테스트 : 결과 - 사용가능함
pi@Borilikeharry:~ $ sudo netstat -lpnut | grep -i plex
tcp 0 0 127.0.0.1:37861 0.0.0.0:* LISTEN 1000/Plex Plug-in [
tcp 0 0 0.0.0.0:32400 0.0.0.0:* LISTEN 453/Plex Media Serv
tcp 0 0 127.0.0.1:32401 0.0.0.0:* LISTEN 453/Plex Media Serv
tcp 0 0 0.0.0.0:1458 0.0.0.0:* LISTEN 975/Plex DLNA Serve
tcp 0 0 0.0.0.0:32469 0.0.0.0:* LISTEN 975/Plex DLNA Serve
tcp 0 0 127.0.0.1:32600 0.0.0.0:* LISTEN 978/Plex Tuner Serv
tcp 0 0 127.0.0.1:44607 0.0.0.0:* LISTEN 619/Plex Plug-in [c
udp 0 0 172.30.1.9:40659 0.0.0.0:* 453/Plex Media Serv
udp 0 0 127.0.0.1:59091 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:46413 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 172.30.1.9:53086 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:1900 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 0.0.0.0:1901 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:52669 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 172.30.1.9:53191 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:54735 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 121.168.108.103:40975 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:13843 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 0.0.0.0:51751 0.0.0.0:* 975/Plex DLNA Serve
udp 0 0 121.168.108.103:55854 0.0.0.0:* 453/Plex Media Serv
udp 0 0 121.168.108.103:50253 0.0.0.0:* 453/Plex Media Serv
udp 0 0 127.0.0.1:45654 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:32410 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:32412 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:32413 0.0.0.0:* 453/Plex Media Serv
udp 0 0 0.0.0.0:32414 0.0.0.0:* 453/Plex Media Serv
- 0.0.0.0:32400으로 받아서 배분 해주는거 같음 -> 아님 서버 대표IP는 하나만 등록 되는 거 같음
그럼 무선을 끄면 작동이 될까 안될까? 안된다 --> 결과 된다. 변경을 감지 동적으로 클라이언트에게 알려주는 거 같음 - 클라이언트에 등록된 서버들의 ip를 알 수 있는 방법이 있을까? 웹에서 서버설정 외부 접속에서 고급설정보이기 키면 보임
- 비공개 121.168.108.103 : 32400 공개 121.168.108.103 : 32400 인터넷 <-- Borilikeharry 접속경로(ip변경되면 바뀜)
- --> 그럼 클라이언트에게 어떻게 전달 되는 걸까? 서버접속이 차단 되면 다시 알려줄까? 모르겠다. 암트 프로그램 휼룡하다.
- 비공개 172.30.1.32 : 32400 공개 175.207.61.169 : 29746 인터넷 (As-Is) <-- igotoo 접속경로
- 바꿀 수 있는 방법은?
- 참고
- linux에서 hfs+ mount하기
- How to mount a HFS partition in Ubuntu as Read/Write?
- HFS+ on Linux
- transport 서버 cpu 300~ 220% idle 0 --> Client에서 10초 간격 buffering
- Buffering 문제는 transcoding 하지 않도록 Converting 하지 않고 클라이언트에서 Original로 보기를 선택하면 버퍼링 없이 볼 수 있음 --> 오리지널을 기본 셋팅으로 하는 방법은 없을까?
신규 외장 하드 Segate Backup Plus Portable 4TB
- 오랫만에 외장하드 구매 포터블인지 모르고 구매, HowToGeek 참고 페이지 에서 추천하는 것만 보고 선택(10/27) --> 택배받고 놀람 너무 작아서
- 택배후 작업 : 맥애서 R/W for ntfs을 위해 파라곤 설치 -> 기존 외장하드(Segate DeskTop)에서 Movies/TV/다큐 복사 (시간 토-일)
- 라즈베리3에 임시 마운트 -> 토렌트 박스 라즈베리 외장하드(ilink 120G) 임시 마운트 --> from ilink to Segate : completed/Downloading 복사
1) Segate 임시 마운트
pi@Borilikeharry:~ $ sudo blkid
/dev/mmcblk0p1: LABEL="boot" UUID="E5B7-FEA1" TYPE="vfat" PARTUUID="8b1a3e24-01"
/dev/mmcblk0p2: UUID="b4ea8e46-fe87-4ddd-9e94-506c37005ac5" TYPE="ext4" PARTUUID="8b1a3e24-02"
/dev/mmcblk0: PTUUID="8b1a3e24" PTTYPE="dos"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="dd186c6f-d381-4703-a15d-9ee306389b82"
/dev/sda2: LABEL="Seagate Backup Plus Drive" UUID="F2149E31149DF935" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="547254fd-a2b1-40a6-ac35-026bc7ddfbea"
pi@Borilikeharry:/media $ sudo mount -t ntfs-3g /dev/sda2 /media/usbhdd1/
mount: unknown filesystem type 'ntfs-3g'
pi@Borilikeharry:/media $ cat /etc/fstab
proc /proc proc defaults 0 0
PARTUUID=8b1a3e24-01 /boot vfat defaults 0 2
PARTUUID=8b1a3e24-02 / ext4 defaults,noatime 0 1
# a swapfile is not a swap partition, no line here
# use dphys-swapfile swap[on|off] for that
pi@Borilikeharry:/media $ sudo apt-get install ntfs-3g
pi@Borilikeharry:/media $ sudo mount -t ntfs-3g /dev/sda2 /media/usbhdd1/
pi@Borilikeharry:/media $ cd /media/usbhdd1
pi@Borilikeharry:/media/usbhdd1 $ ls -al
합계 19033
-rwxrwxrwx 1 root root 53248 10월 29 20:30 $UGM
drwxrwxrwx 1 root root 4096 10월 29 20:30 .
drwxr-xr-x 4 root root 4096 10월 20 01:09 ..
-rwxrwxrwx 1 root root 32 7월 17 2012 Autorun.inf
-rwxrwxrwx 2 root root 194586 6월 5 2015 BackupPlus.ico
drwxrwxrwx 1 root root 69632 10월 29 03:30 Movies
drwxrwxrwx 1 root root 0 9월 1 18:30 Seagate
drwxrwxrwx 1 root root 0 9월 1 18:30 Start_Here_Mac.app
-rwxrwxrwx 2 root root 18010688 5월 10 2016 Start_Here_Win.exe
drwxrwxrwx 1 root root 0 9월 2 02:30 System Volume Information
drwxrwxrwx 1 root root 4096 10월 29 07:53 TV
-rwxrwxrwx 1 root root 1146400 1월 9 2015 Warranty.pdf
drwxrwxrwx 1 root root 4096 10월 29 09:02 다큐
2) ilink 임시 마운트
pi@Borilikeharry:~ $ sudo blkid
/dev/mmcblk0p1: LABEL="boot" UUID="E5B7-FEA1" TYPE="vfat" PARTUUID="8b1a3e24-01"
/dev/mmcblk0p2: UUID="b4ea8e46-fe87-4ddd-9e94-506c37005ac5" TYPE="ext4" PARTUUID="8b1a3e24-02"
/dev/sda2: LABEL="Seagate Backup Plus Drive" UUID="F2149E31149DF935" TYPE="ntfs" PARTLABEL="Basic data partition" PARTUUID="547254fd-a2b1-40a6-ac35-026bc7ddfbea"
/dev/mmcblk0: PTUUID="8b1a3e24" PTTYPE="dos"
/dev/sda1: PARTLABEL="Microsoft reserved partition" PARTUUID="dd186c6f-d381-4703-a15d-9ee306389b82"
/dev/sdb1: UUID="65CE1C764851B647" TYPE="ntfs" PARTUUID="40b96660-01"
pi@Borilikeharry:~ $ sudo fdisk -l
Disk /dev/sda: 3.7 TiB, 4000787029504 bytes, 7814037167 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 4096 bytes
I/O size (minimum/optimal): 4096 bytes / 4096 bytes
Disklabel type: gpt
Disk identifier: DAF45AF9-9072-4AFC-A25E-7D19163B25F9
Device Start End Sectors Size Type
/dev/sda1 34 262177 262144 128M Microsoft reserved
/dev/sda2 264192 7814035455 7813771264 3.7T Microsoft basic data
Partition 1 does not start on physical sector boundary.
Disk /dev/sdb: 111.8 GiB, 120034123776 bytes, 234441648 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: 0x40b96660
Device Boot Start End Sectors Size Id Type
/dev/sdb1 2048 234441647 234439600 111.8G 83 Linux
pi@Borilikeharry:~ $ sudo mkdir /media/usbhdd2
pi@Borilikeharry:~ $ sudo mount -t ntfs-3g /dev/sdb1 /media/usbhdd2
pi@Borilikeharry:~ $ cd /media/usbhdd2
pi@Borilikeharry:/media/usbhdd2 $ ls -al
합계 12
drwxrwxrwx 1 root root 4096 10월 8 13:12 .
drwxr-xr-x 5 root root 4096 10월 29 21:50 ..
drwxrwxrwx 1 root root 0 5월 10 23:03 dlna
drwxrwxrwx 1 root root 4096 10월 14 21:27 shares
pi@Borilikeharry:/media/usbhdd2 $ df -h
Filesystem Size Used Avail Use% Mounted on
/dev/root 15G 5.3G 8.7G 38% /
devtmpfs 484M 0 484M 0% /dev
tmpfs 489M 8.0K 489M 1% /dev/shm
tmpfs 489M 13M 476M 3% /run
tmpfs 5.0M 4.0K 5.0M 1% /run/lock
tmpfs 489M 0 489M 0% /sys/fs/cgroup
/dev/mmcblk0p1 42M 21M 21M 51% /boot
tmpfs 98M 0 98M 0% /run/user/1000
/dev/sda2 3.7T 1.6T 2.1T 44% /media/usbhdd1
/dev/sdb1 112G 101G 12G 90% /media/usbhdd2
3) completed 이동
pi@Borilikeharry:/media/usbhdd2/shares/completed $ mv * /media/usbhdd1/Movies/
4) 라이브러리 사이즈 증가에 따른 디스크 부족 해결을 위해 라이브러리 SD 카드에서 Segate 이동
pi@Borilikeharry:/media/usbhdd2/shares/completed $ sudo service plexmediaserver stop
pi@Borilikeharry:~ $ sudo su - plex
4-1) 백업
plex@Borilikeharry:~$ cp -r /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/ /var/lib/plexmediaserver/Library/Application\ Support/Server.backup.171029
4-2) 심볼릭 링크 만들기
plex@Borilikeharry:~$ mkdir /media/usbhdd1/plex-lib
plex@Borilikeharry:~$ cp -r /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/ /media/usbhdd1/plex-lib/
plex@Borilikeharry:~$ pwd
/var/lib/plexmediaserver
plex@Borilikeharry:~$ ln -s /media/usbhdd1/plex-lib/ /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
plex@Borilikeharry:~$ cd /var/lib/plexmediaserver/Library/Application\ Support/
plex@Borilikeharry:~/Library/Application Support$ ls -al
합계 16
drwxr-xr-x 4 plex plex 4096 10월 30 00:00 .
drwxr-xr-x 3 plex plex 4096 10월 20 00:44 ..
drwxr-xr-x 10 plex plex 4096 10월 30 00:24 Plex Media Server
drwxr-xr-x 10 plex plex 4096 10월 30 00:10 Server.backup.171029
plex@Borilikeharry:~/Library/Application Support$ ln -s /media/usbhdd1/plex-lib/Plex\ Media\ Server/ /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
plex@Borilikeharry:~/Library/Application Support$ ls -al
합계 16
drwxr-xr-x 4 plex plex 4096 10월 30 00:00 .
drwxr-xr-x 3 plex plex 4096 10월 20 00:44 ..
drwxr-xr-x 10 plex plex 4096 10월 30 00:26 Plex Media Server
drwxr-xr-x 10 plex plex 4096 10월 30 00:10 Server.backup.171029
plex@Borilikeharry:~/Library/Application Support$ ln -s /media/usbhdd1/plex-lib/Plex\ Media\ Server/ /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
ln: failed to create symbolic link '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plex Media Server': 파일이 있습니다
plex@Borilikeharry:~/Library/Application Support/Plex Media Server$ cd ..
plex@Borilikeharry:~/Library/Application Support$ rm -rf Plex\ Media\ Server/
plex@Borilikeharry:~/Library/Application Support$ ln -s /media/usbhdd1/plex-lib/Plex\ Media\ Server/ /var/lib/plexmediaserver/Library/Application\ Support/Plex\ Media\ Server/
ln: target '/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/' is not a directory: 그런 파일이나 디렉터리가 없습니다
심볼릭링크 생성 Error -------
SYNOPSIS
ln [OPTION]... [-T] TARGET LINK_NAME (1st form)
ln [OPTION]... TARGET (2nd form)
ln [OPTION]... TARGET... DIRECTORY (3rd form)
ln [OPTION]... -t DIRECTORY TARGET... (4th form)
DESCRIPTION
In the 1st form, create a link to TARGET with the name LINK_NAME. In the 2nd form, create a link to TARGET in the current directory. In the 3rd and 4th forms,
create links to each TARGET in DIRECTORY. Create hard links by default, symbolic links with --symbolic. By default, each destination (name of new link) should
not already exist. When creating hard links, each TARGET must exist. Symbolic links can hold arbitrary text; if later resolved, a relative link is interpreted
in relation to its parent directory.
-> 원인 : 원본 링크 네임 자리를 바꾸어서 링크 생성 ...
plex@Borilikeharry:~/Library/Application Support$ ln -s /media/usbhdd1/plex-lib/Plex\ Media\ Server/ /var/lib/plexmediaserver/Library/Application\ Support/
plex@Borilikeharry:~/Library/Application Support$ ls -al
합계 12
drwxr-xr-x 3 plex plex 4096 10월 30 00:41 .
drwxr-xr-x 3 plex plex 4096 10월 20 00:44 ..
lrwxrwxrwx 1 plex plex 42 10월 30 00:41 Plex Media Server -> /media/usbhdd1/plex-lib/Plex Media Server/
drwxr-xr-x 10 plex plex 4096 10월 30 00:10 Server.backup.171029
plex@Borilikeharry:~/Library/Application Support$ sudo service plexmediaserver start
- 라이브러리 이동 참고 Plex Media Server on Raspberry Pi 3 using Raspbian Lite
==> Do Not 하지 말아야 .... 아니다 이것도 전원 문제일 수 도 있음
==> 라이브러리 외장 하드로 이동후 속도 느려지고 버퍼링 심해짐 - Disk I/O 병목이라고 판단 후 원상복구 함
--> 다소 나아진 듯 했으나 ... 여전히 볼 수 없을 정도로 버퍼링 - Database Corruption 조치 : 참고 Repair a Corrupt Database
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sqlite3 com.plexapp.plugins.library.db "PRAGMA integrity_check"
-bash: sqlite3: command not found
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sudo apt-get install sqlite3
패키지 목록을 읽는 중입니다... 완료
의존성 트리를 만드는 중입니다
상태 정보를 읽는 중입니다... 완료
제안하는 패키지:
sqlite3-doc
다음 새 패키지를 설치할 것입니다:
sqlite3
0개 업그레이드, 1개 새로 설치, 0개 제거 및 1개 업그레이드 안 함.
709 k바이트 아카이브를 받아야 합니다.
이 작업 후 1,991 k바이트의 디스크 공간을 더 사용하게 됩니다.
받기:1 http://mirrordirector.raspbian.org/raspbian stretch/main armhf sqlite3 armhf 3.16.2-5 [709 kB]
내려받기 709 k바이트, 소요시간 3초 (226 k바이트/초)
Selecting previously unselected package sqlite3.
(데이터베이스 읽는중 ...현재 123209개의 파일과 디렉터리가 설치되어 있습니다.)
Preparing to unpack .../sqlite3_3.16.2-5_armhf.deb ...
Unpacking sqlite3 (3.16.2-5) ...
sqlite3 (3.16.2-5) 설정하는 중입니다 ...
Processing triggers for man-db (2.7.6.1-2) ...
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sqlite3 com.plexapp.plugins.library.db "PRAGMA integrity_check"
*** in database main ***
Page 10854: btreeInitPage() returns error code 11
On tree page 19 cell 18: Rowid 24766 out of order
Page 10859: btreeInitPage() returns error code 11
Page 10857: btreeInitPage() returns error code 11
Page 10849: btreeInitPage() returns error code 11
Page 10871: btreeInitPage() returns error code 11
Page 10870: btreeInitPage() returns error code 11
On tree page 11027 cell 38: Rowid 12236 out of order
On tree page 11027 cell 37: Rowid 12222 out of order
On tree page 11027 cell 36: Rowid 12211 out of order
Page 10855: btreeInitPage() returns error code 11
Page 10847: btreeInitPage() returns error code 11
Page 10876: btreeInitPage() returns error code 11
Page 10856: btreeInitPage() returns error code 11
Page 10848: btreeInitPage() returns error code 11
On tree page 7081 cell 1: Rowid 1411 out of order
Page 10850: btreeInitPage() returns error code 11
Page 10851: btreeInitPage() returns error code 11
Page 10852 is never used
Page 10853 is never used
Page 10869 is never used
Page 10883 is never used
Page 10887 is never used
row 20233 missing from index index_taggings_on_tag_id
row 20375 missing from index index_taggings_on_metadata_item_id
row 20577 missing from index index_taggings_on_metadata_item_id
row 20612 missing from index index_taggings_on_metadata_item_id
row 20613 missing from index index_taggings_on_metadata_item_id
row 20614 missing from index index_taggings_on_metadata_item_id
row 20615 missing from index index_taggings_on_tag_id
row 20615 missing from index index_taggings_on_metadata_item_id
row 20616 missing from index index_taggings_on_tag_id
row 20616 missing from index index_taggings_on_metadata_item_id
row 20617 missing from index index_taggings_on_metadata_item_id
row 20618 missing from index index_taggings_on_tag_id
row 20618 missing from index index_taggings_on_metadata_item_id
row 20619 missing from index index_taggings_on_tag_id
row 20619 missing from index index_taggings_on_metadata_item_id
row 20620 missing from index index_taggings_on_tag_id
row 20620 missing from index index_taggings_on_metadata_item_id
row 20621 missing from index index_taggings_on_tag_id
row 20621 missing from index index_taggings_on_metadata_item_id
row 20622 missing from index index_taggings_on_tag_id
row 20622 missing from index index_taggings_on_metadata_item_id
row 20623 missing from index index_taggings_on_tag_id
row 20623 missing from index index_taggings_on_metadata_item_id
row 20624 missing from index index_taggings_on_tag_id
row 20624 missing from index index_taggings_on_metadata_item_id
row 20625 missing from index index_taggings_on_tag_id
row 20625 missing from index index_taggings_on_metadata_item_id
row 20626 missing from index index_taggings_on_tag_id
row 20626 missing from index index_taggings_on_metadata_item_id
row 20627 missing from index index_taggings_on_tag_id
row 20627 missing from index index_taggings_on_metadata_item_id
row 20628 missing from index index_taggings_on_tag_id
row 20628 missing from index index_taggings_on_metadata_item_id
row 20629 missing from index index_taggings_on_metadata_item_id
row 20630 missing from index index_taggings_on_metadata_item_id
row 20631 missing from index index_taggings_on_metadata_item_id
row 20632 missing from index index_taggings_on_metadata_item_id
row 20633 missing from index index_taggings_on_metadata_item_id
row 20634 missing from index index_taggings_on_metadata_item_id
row 20635 missing from index index_taggings_on_metadata_item_id
row 20636 missing from index index_taggings_on_metadata_item_id
row 20637 missing from index index_taggings_on_metadata_item_id
row 20638 missing from index index_taggings_on_metadata_item_id
row 20639 missing from index index_taggings_on_metadata_item_id
row 20640 missing from index index_taggings_on_metadata_item_id
row 20641 missing from index index_taggings_on_metadata_item_id
row 20642 missing from index index_taggings_on_metadata_item_id
row 20643 missing from index index_taggings_on_metadata_item_id
Error: database disk image is malformed
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ ls -al
합계 21356
drwxrwxrwx 1 root root 4096 10월 30 20:15 .
drwxrwxrwx 1 root root 4096 10월 30 00:20 ..
-rwxrwxrwx 1 root root 2396160 10월 30 08:14 com.plexapp.dlna.db
-rwxrwxrwx 1 root root 32768 10월 30 08:15 com.plexapp.dlna.db-shm
-rwxrwxrwx 1 root root 2657432 10월 30 08:14 com.plexapp.dlna.db-wal
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db-2017-10-22
-rwxrwxrwx 1 root root 11689984 10월 30 20:07 com.plexapp.plugins.library.db
-rwxrwxrwx 1 root root 4444160 10월 30 00:20 com.plexapp.plugins.library.db-2017-10-22
-rwxrwxrwx 1 root root 32768 10월 30 20:15 com.plexapp.plugins.library.db-shm
-rwxrwxrwx 1 root root 0 10월 30 20:15 com.plexapp.plugins.library.db-wal
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sqlite3 com.plexapp.plugins.library.db .dump > dump.sql
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ ls -al
합계 32184
drwxrwxrwx 1 root root 4096 10월 30 20:18 .
drwxrwxrwx 1 root root 4096 10월 30 00:20 ..
-rwxrwxrwx 1 root root 2396160 10월 30 08:14 com.plexapp.dlna.db
-rwxrwxrwx 1 root root 32768 10월 30 08:15 com.plexapp.dlna.db-shm
-rwxrwxrwx 1 root root 2657432 10월 30 08:14 com.plexapp.dlna.db-wal
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db-2017-10-22
-rwxrwxrwx 1 root root 11689984 10월 30 20:07 com.plexapp.plugins.library.db
-rwxrwxrwx 1 root root 4444160 10월 30 00:20 com.plexapp.plugins.library.db-2017-10-22
-rwxrwxrwx 1 root root 11117849 10월 30 20:18 dump.sql
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ mv com.plexapp.plugins.library.db com.plexapp.plugins.library.db.original
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ ls -al
합계 32184
drwxrwxrwx 1 root root 4096 10월 30 20:19 .
drwxrwxrwx 1 root root 4096 10월 30 00:20 ..
-rwxrwxrwx 1 root root 2396160 10월 30 08:14 com.plexapp.dlna.db
-rwxrwxrwx 1 root root 32768 10월 30 08:15 com.plexapp.dlna.db-shm
-rwxrwxrwx 1 root root 2657432 10월 30 08:14 com.plexapp.dlna.db-wal
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db
-rwxrwxrwx 1 root root 303104 10월 30 00:20 com.plexapp.plugins.library.blobs.db-2017-10-22
-rwxrwxrwx 1 root root 4444160 10월 30 00:20 com.plexapp.plugins.library.db-2017-10-22
-rwxrwxrwx 1 root root 11689984 10월 30 20:07 com.plexapp.plugins.library.db.original
-rwxrwxrwx 1 root root 11117849 10월 30 20:18 dump.sql
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sqlite3 com.plexapp.plugins.library.db < dump.sql
Error: near line 16205: UNIQUE constraint failed: tags.id
Error: near line 16206: UNIQUE constraint failed: tags.id
Error: near line 16207: UNIQUE constraint failed: tags.id
Error: near line 16208: UNIQUE constraint failed: tags.id
Error: near line 16209: UNIQUE constraint failed: tags.id
Error: near line 16210: UNIQUE constraint failed: tags.id
Error: near line 16211: UNIQUE constraint failed: tags.id
Error: near line 16212: UNIQUE constraint failed: tags.id
Error: near line 16213: UNIQUE constraint failed: tags.id
Error: near line 16214: UNIQUE constraint failed: tags.id
Error: near line 16215: UNIQUE constraint failed: tags.id
Error: near line 16216: UNIQUE constraint failed: tags.id
Error: near line 16217: UNIQUE constraint failed: tags.id
Error: near line 16218: UNIQUE constraint failed: tags.id
Error: near line 16219: UNIQUE constraint failed: tags.id
Error: near line 16220: UNIQUE constraint failed: tags.id
Error: near line 16221: UNIQUE constraint failed: tags.id
Error: near line 51335: UNIQUE constraint failed: metadata_items.id
Error: near line 51336: UNIQUE constraint failed: metadata_items.id
Error: near line 51337: UNIQUE constraint failed: metadata_items.id
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ mkdir backup
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ mv ./com.plexapp.dlna.db-shm ./backup/
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ mv ./com.plexapp.dlna.db-wal ./backup/
pi@Borilikeharry:/var/lib/plexmediaserver/Library/Application Support/Plex Media Server/Plug-in Support/Databases $ sudo service plexmediaserver start
10/30 ~ 10/31 양일 간 테스트 볼수 없을 정도로 버퍼링 심함
- 무선에서 유선으로 변경하기 위해 런레벨을 3에서 5로 변경
- GUI 화면 번개 표시됨 --> 전원 부족 현상
RPi 3는 5V 2.5A 이상이 권고 사항임*
그것도 모르고 지지고 복고 밤세운 시간이 ... 기본에 충실하자 일단 해결 열람빨라 지고 버퍼링 전혀 없음 --> Plex for lG 트랜스코드
Staic IP 셋팅 : 무선을 끄고 유선으로 유지 하기로 함
- 참고 2 SETTING WIFI UP VIA THE COMMAND LINE
- 참고 1 Plex Media Server on Raspberry Pi 3 using Raspbian Lite
- RPi2 설정이 다름 2에서는 /etc/network/interfsces 에서 설정 -> 이를 따라 했다가 유/무선 모두 날라감 dhcpd lost 에러 발생
- RPi 3 설정 방법
We need three pieces of information to set a static address:
- Quite obviously, your pi’s current IP address
- Address of your gateway/router
- Address of your nameserver
- IP address
Enter ifconfig wlan0
Note down the address at inet addr - Gateway address
Enter ip route | grep default
Note down the address - Nameserver
Enter cat /etc/resolv.conf
This will output the contents of the resolv.conf file. Note down the address by nameserver - Now we need to add this to the dhcpcd.conf file. Open the file for editing…
sudo nano /etc/dhcpcd.conf
Note: The new Raspbian Jessie requires using the dhcpcd.conf file to fix the IP address. Older methods no longer work.
pi@Borilikeharry:~ $ ifconfig eth0
eth0: flags=4163<UP,BROADCAST,RUNNING,MULTICAST> mtu 1500
inet 172.30.1.26 netmask 255.255.255.0 broadcast 172.30.1.255
inet6 fe80::ddbf:426d:b722:fb7 prefixlen 64 scopeid 0x20<link>
ether b8:27:eb:cb:78:71 txqueuelen 1000 (Ethernet)
RX packets 28693 bytes 6920056 (6.5 MiB)
RX errors 0 dropped 0 overruns 0 frame 0
TX packets 22573 bytes 25158782 (23.9 MiB)
TX errors 0 dropped 0 overruns 0 carrier 0 collisions 0
pi@Borilikeharry:~ $ ip route |grep default
default via 172.30.1.254 dev eth0 src 172.30.1.26 metric 202
default via 172.30.1.254 dev wlan0 src 172.30.1.9 metric 303
pi@Borilikeharry:~ $ cat /etc/resolv.conf
# Generated by resolvconf
nameserver 168.126.63.1
nameserver 168.126.63.2
pi@Borilikeharry:~ $ sudo vi /etc/dhcpcd.conf
# static IP configuration: 2017.10.31
interface eth0
static ip_address=172.30.1.26/24
static routers=172.30.1.254
static domain_name_servers=168.126.63.1
static domain_name_servers=168.126.63.2
[Linux/Bash script] EUC-KR 로 된 한글 smi 자막을 UTF8 srt 로 변환하기 [Barracuda MemoLog]]
[Linux] 영화 자막, SMI파일을 SRT로 변환하기 & EUC-KR을 UTF-8으로 변환하기
Video Converter HandBrake 0.10.5 for RPi2&3
Quote
Sun Mar 27, 2016 1:33 pm
I've compiled a recent (stable) HandBrake version for ARMv7 with NEON support. It's a great video converter and ripper. On the RPi3 it can convert a SD video faster than real time (ca. 28 FPS).
to install it:
Code: Select all
sudo apt-get update
sudo apt-get upgrade
sudo apt-get install gdebi-core
wget http://steinerdatenbank.de/software/ghb_0.10.5-1_armhf.deb
sudo gdebi ghb_0.10.5-1_armhf.deb
Both the GUI version (available from the applications menu) and the command line version (HandBrakeCLI) are installed.
pi@Borilikeharry:/media/usbhdd1/TV/sherlock $ sudo gdebi ghb_0.10.5-1_armhf.deb
Reading package lists... Done
Building dependency tree
Reading state information... Done
Reading state information... Done
이 패키지는 설치할 수 없습니다
Dependency is not satisfiable: libavcodec56