삼성 갤럭이S6 엣지 플러스 Linux Deploy : Debian 설치

참고 사이트 : https://github.com/meefik/linuxdeploy/issues/224


adb 다운로드

공식 사이트 : http://adbshell.com/downloads

다운로드 : http://adbshell.com/upload/adb.zip


C:\ 에 다운로드 받은 adb.zip 파일 압축을 해제한다.

루팅된 단말과 PC를 USB 로 연결한 후 아래와 같이 진행한다.


C:\> adb shell

zenltelgt:/ $ su

su

zenltelgt:/ # sh /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell

sh /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell

Mounting partitions: 

/ ... done

/proc ... done

/sys ... done

/sys/fs/selinux ... done

/dev ... done

/dev/pts ... done

/dev/shm ... done

:: Configuring core/mnt ... 

:: Configuring core/net ... 

Debian GNU/Linux 8 (jessie) [running via Linux Deploy]

root@localhost:/# passwd root

passwd root

Enter new UNIX password: 비밀번호


Retype new UNIX password: 비밀번호


passwd: password updated successfully

root@localhost:/# apt-get update

apt-get update

Ign http://ftp.debian.org jessie InRelease       

Hit http://ftp.debian.org jessie Release.gpg

Hit http://ftp.debian.org jessie Release

Hit http://ftp.debian.org jessie/main Sources

Hit http://ftp.debian.org jessie/contrib Sources

Hit http://ftp.debian.org jessie/non-free Sources

Hit http://ftp.debian.org jessie/main arm64 Packages

Hit http://ftp.debian.org jessie/contrib arm64 Packages                        

Hit http://ftp.debian.org jessie/non-free arm64 Packages                       

Hit http://ftp.debian.org jessie/contrib Translation-en                        

Hit http://ftp.debian.org jessie/main Translation-en                           

Hit http://ftp.debian.org jessie/non-free Translation-en                       

Reading package lists... Done                                                  

root@localhost:/etc/ssh# apt-get install wget

apt-get install wget

Reading package lists... Done

Building dependency tree       

Reading state information... Done

The following additional packages will be installed:

  ca-certificates openssl

The following NEW packages will be installed:

  ca-certificates openssl wget

0 upgraded, 3 newly installed, 0 to remove and 0 not upgraded.

Need to get 934 kB of archives.

After this operation, 2280 kB of additional disk space will be used.

Do you want to continue? [Y/n] y

y

Get:1 http://ports.ubuntu.com xenial/main arm64 openssl arm64 1.0.2g-1ubuntu4 [471 kB]

Get:2 http://ports.ubuntu.com xenial/main arm64 ca-certificates all 20160104ubuntu1 [191 kB]

Get:3 http://ports.ubuntu.com xenial/main arm64 wget arm64 1.17.1-1ubuntu1 [272 kB]

Fetched 934 kB in 8s (117 kB/s)                                                

debconf: unable to initialize frontend: Dialog

debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)

debconf: falling back to frontend: Readline

Preconfiguring packages ...

Selecting previously unselected package openssl.

(Reading database ... 36609 files and directories currently installed.)

Preparing to unpack .../openssl_1.0.2g-1ubuntu4_arm64.deb ...

Unpacking openssl (1.0.2g-1ubuntu4) ...

Selecting previously unselected package ca-certificates.

Preparing to unpack .../ca-certificates_20160104ubuntu1_all.deb ...

Unpacking ca-certificates (20160104ubuntu1) ...

Selecting previously unselected package wget.

Preparing to unpack .../wget_1.17.1-1ubuntu1_arm64.deb ...

Unpacking wget (1.17.1-1ubuntu1) ...

Processing triggers for man-db (2.7.5-1) ...

Setting up openssl (1.0.2g-1ubuntu4) ...

Setting up ca-certificates (20160104ubuntu1) ...

debconf: unable to initialize frontend: Dialog

debconf: (Dialog frontend will not work on a dumb terminal, an emacs shell buffer, or without a controlling terminal.)

debconf: falling back to frontend: Readline

Setting up wget (1.17.1-1ubuntu1) ...

Processing triggers for ca-certificates (20160104ubuntu1) ...

Updating certificates in /etc/ssl/certs...

173 added, 0 removed; done.

Running hooks in /etc/ca-certificates/update.d...

done.


root@localhost:/# cd /etc/ssh

cd /etc/ssh

root@localhost:/etc/ssh# mv sshd_config sshd_config.ori



root@localhost:/etc/ssh# wget -O sshd_config http://chule.tistory.com/attachment/cfile22.uf@240F1F4B594E63D61A9490

<hule.tistory.com/attachment/cfile22.uf@240F1F4B594E63D61A9490               

converted 'http://chule.tistory.com/attachment/cfile22.uf@240F1F4B594E63D61A9490' (ANSI_X3.4-1968) -> 'http://chule.tistory.com/attachment/cfile22.uf@240F1F4B594E63D61A9490' (UTF-8)

--2017-06-24 22:07:08--  http://chule.tistory.com/attachment/cfile22.uf@240F1F4B594E63D61A9490

Resolving chule.tistory.com (chule.tistory.com)... 175.126.170.70, 175.126.170.110

Connecting to chule.tistory.com (chule.tistory.com)|175.126.170.70|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://t1.daumcdn.net/cfile/tistory/240F1F4B594E63D61A [following]

converted 'https://t1.daumcdn.net/cfile/tistory/240F1F4B594E63D61A' (ANSI_X3.4-1968) -> 'https://t1.daumcdn.net/cfile/tistory/240F1F4B594E63D61A' (UTF-8)

--2017-06-24 22:07:08--  https://t1.daumcdn.net/cfile/tistory/240F1F4B594E63D61A

Resolving cfile22.uf.tistory.com (cfile22.uf.tistory.com)... 211.244.82.80

Connecting to cfile22.uf.tistory.com (cfile22.uf.tistory.com)|211.244.82.80|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 2614 (2.6K) [text/plain]

Saving to: 'sshd_config'


sshd_config         100%[=====================>]   2.55K  --.-KB/s   in 0.003s 


2017-06-24 22:07:08 (757 KB/s) - 'sshd_config' saved [2614/2614]


root@localhost:/etc/ssh# service ssh restart

service ssh restart

Restarting OpenBSD Secure Shell server: sshd.



sshd_config




Posted by ChulE

삼성 갤럭이S6 엣지 플러스 Linux Deploy : CentOS 설치

참고 사이트 : https://github.com/meefik/linuxdeploy/issues/224


adb 다운로드

공식 사이트 : http://adbshell.com/downloads

다운로드 : http://adbshell.com/upload/adb.zip


C:\ 에 다운로드 받은 adb.zip 파일 압축을 해제한다.

루팅된 단말과 PC를 USB 로 연결한 후 아래와 같이 진행한다.


C:\> adb shell

zenltelgt:/ $ su

su

zenltelgt:/ # sh /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell

sh /data/data/ru.meefik.linuxdeploy/bin/linuxdeploy shell

Mounting partitions: 

/ ... done

/proc ... done

/sys ... done

/sys/fs/selinux ... done

/dev ... done

/dev/pts ... done

/dev/shm ... done

:: Configuring core/mnt ... 

:: Configuring core/net ... 

CentOS Linux 7 (AltArch) [running via Linux Deploy]

# passwd root

passwd root

Changing password for user root.

New password: 비밀번호


BAD PASSWORD: The password fails the dictionary check - it is based on a dictionary word

Retype new password: 비밀번호


passwd: all authentication tokens updated successfully.

# yum update

yum update

Loaded plugins: fastestmirror

centos-7-aarch64                                         | 3.8 kB     00:00

(1/2): centos-7-aarch64/group_gz                           | 141 kB   00:02

(2/2): centos-7-aarch64/primary_db                         | 3.9 MB   00:15

Determining fastest mirrors

No packages marked for update

# yum install wget

yum install wget

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Resolving Dependencies

--> Running transaction check

---> Package wget.aarch64 0:1.14-13.el7 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


================================================================================

 Package     Arch           Version               Repository               Size

================================================================================

Installing:

 wget        aarch64        1.14-13.el7           centos-7-aarch64        540 k


Transaction Summary

================================================================================

Install  1 Package


Total download size: 540 k

Installed size: 2.0 M

Is this ok [y/d/N]: y

y

Downloading packages:

wget-1.14-13.el7.aarch64.rpm                               | 540 kB   00:03

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : wget-1.14-13.el7.aarch64                                     1/1

  Verifying  : wget-1.14-13.el7.aarch64                                     1/1


Installed:

  wget.aarch64 0:1.14-13.el7


Complete!

# yum install nano

yum install nano

Loaded plugins: fastestmirror

Loading mirror speeds from cached hostfile

Resolving Dependencies

--> Running transaction check

---> Package nano.aarch64 0:2.3.1-10.el7 will be installed

--> Finished Dependency Resolution


Dependencies Resolved


================================================================================

 Package     Arch           Version               Repository               Size

================================================================================

Installing:

 nano        aarch64        2.3.1-10.el7          centos-7-aarch64        436 k


Transaction Summary

================================================================================

Install  1 Package


Total download size: 436 k

Installed size: 1.7 M

Is this ok [y/d/N]: y

y

Downloading packages:

nano-2.3.1-10.el7.aarch64.rpm                              | 436 kB   00:03

Running transaction check

Running transaction test

Transaction test succeeded

Running transaction

  Installing : nano-2.3.1-10.el7.aarch64                                    1/1

  Verifying  : nano-2.3.1-10.el7.aarch64                                    1/1


Installed:

  nano.aarch64 0:2.3.1-10.el7


Complete!

# cd /etc/ssh

cd /etc/ssh

# mv sshd_config sshd_config.ori

mv sshd_config sshd_config.ori



# wget -O sshd_config http://chule.tistory.com/attachment/cfile8.uf@224AD644594E484A023245

<//chule.tistory.com/attachment/cfile8.uf@224AD644594E484A023245             

--2017-06-24 20:12:07--  http://chule.tistory.com/attachment/cfile8.uf@224AD644594E484A023245

Resolving chule.tistory.com (chule.tistory.com)... 175.126.170.70, 175.126.170.110

Connecting to chule.tistory.com (chule.tistory.com)|175.126.170.70|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://t1.daumcdn.net/cfile/tistory/224AD644594E484A02 [following]

--2017-06-24 20:12:07--  https://t1.daumcdn.net/cfile/tistory/224AD644594E484A02

Resolving cfile8.uf.tistory.com (cfile8.uf.tistory.com)... 110.45.215.246

Connecting to cfile8.uf.tistory.com (cfile8.uf.tistory.com)|110.45.215.246|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 4563 (4.5K) [text/plain]

Saving to: ??sshd_config??


100%[======================================>] 4,563       --.-K/s   in 0.002s  


2017-06-24 20:12:12 (2.59 MB/s) - ??sshd_config?? saved [4563/4563]


# service ssh restart

service ssh restart

Redirecting to /bin/systemctl restart  ssh.service

Running in chroot, ignoring request.



sshd_config




Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Plex 설치


공식 사이트 : http://plex.tv

참고 사이트 : https://www.dev2day.de/typo3/projects/plex-media-server/

                  https://www.htpcguides.com/install-plex-media-server-raspberry-pi-3-image/


설치 진행

root@localhost:~# wget -O - https://dev2day.de/pms/dev2day-pms.gpg.key | apt-key add -

생략...

root@localhost:~# echo "deb https://dev2day.de/pms/ jessie main" >> /etc/apt/sources.list.d/pms.list

root@localhost:~# apt-get install apt-transport-https

생략...

Do you want to continue? [Y/n] y

생략...

root@localhost:~# apt-get install plexmediaserver-installer

생략...

Do you want to continue? [Y/n] y

생략...

root@localhost:~# chown -R root:root /var/lib/plexmediaserver

root@localhost:~# nano /etc/default/plexmediaserver



root@localhost:~# service plexmediaserver start

Starting Plex Media Server: done






Daum, Naver, Tvplexend 플러그인 설치


공식 사이트 : https://github.com/hojel/DaumMovie.bundle

                  https://github.com/hojel/NaverMusic.bundle

                  https://github.com/pgaubatz/TvplexendChannel.bundle


설치 진행

root@localhost:~# apt-get install unzip

생략...

root@localhost:~# wget https://github.com/hojel/DaumMovie.bundle/archive/master.zip

생략...

root@localhost:~# unzip master.zip -d /usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9

생략...

root@localhost:~# rm -rf master.zip

root@localhost:~# wget https://github.com/hojel/NaverMusic.bundle/archive/master.zip

생략...

root@localhost:~# unzip master.zip -d /usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9

생략...

root@localhost:~# rm -rf master.zip

root@localhost:~# wget https://github.com/pgaubatz/TvplexendChannel.bundle/archive/master.zip

생략...

root@localhost:~# unzip master.zip -d /usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9

생략...

root@localhost:~# cd /usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9

root@localhost:/usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9# mv DaumMovie.bundle-master/ DaumMovie.bundle

root@localhost:/usr/lib/plexmediaserver/Resources/Plug-ins-25d94bad9mv NaverMusic.bundle-master/ NaverMusic.bundle

root@localhost:/usr/lib/plexmediaserver/Resources/Plug-ins-
25d94bad9mv TvplexendChannel.bundle-master/ TvplexendChannel.bundle
root@localhost:~# service plexmediaserver restart






웹브라우저에 http://localhost:32400/web 해당 주소로 이동



X



장비 이름 지정 SM-G928L



라이브러리 추가



TV 쇼 선택 후 다음



미디어 폴더 찾아보기



동영상 파일이 있는 폴더를 지정 한 후 추가 버튼을 누른다.



라이브러리 추가 버튼 클릭!



추가된 라이브러리 확인하고 다음!



완료!



완료된 화면



본래는 대시보드에 TV 쇼 폴더에 등록했던 라이브러리가 보여야 하지만.. 안보임..


TV 쇼 항목 말고 영화, 기타 항목 선택시 라이브러리 표시됨..




다음 영화 플러그인 설정



다음 TV쇼 플러그인 설정



네이버 아티스트 플러그인 설정



네이버 앨범 플러그인 설정



언어 설정



Tvheadend 플러그인 설정



Tvheadend 플러그인 설정












Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Maven 설치


공식 사이트 : http://maven.apache.org/


설치 진행

root@localhost:~# mkdir /usr/local/maven

root@localhost:~# cd /usr/local/maven/

root@localhost:/usr/local/maven# wget -O apache-maven-3.5.0-bin.tar.gz http://mirror.apache-kr.org/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz

--2017-06-25 22:55:47--  http://mirror.apache-kr.org/maven/maven-3/3.5.0/binaries/apache-maven-3.5.0-bin.tar.gz

Resolving mirror.apache-kr.org (mirror.apache-kr.org)... 1.201.139.179

Connecting to mirror.apache-kr.org (mirror.apache-kr.org)|1.201.139.179|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 8534562 (8.1M) [application/x-gzip]

Saving to: ‘apache-maven-3.5.0-bin.tar.gz’


apache-maven-3.5.0-bin.tar.gz     100%[==========================================================>]   8.14M  6.71MB/s    in 1.2s    


2017-06-25 22:55:48 (6.71 MB/s) - ‘apache-maven-3.5.0-bin.tar.gz’ saved [8534562/8534562]

root@localhost:/usr/local/maven# tar xvzf apache-maven-3.5.0-bin.tar.gz

root@localhost:/usr/local/maven# ln -s apache-maven-3.5.0 default

root@localhost:/usr/local/mavennano /etc/profile


root@localhost:/usr/local/mavensource /etc/profile
root@localhost:/usr/local/maven# mvn -version
Apache Maven 3.5.0 (ff8f5e7444045639af65f6095c62210b5713f426; 2017-04-04T04:39:06+09:00)
Maven home: /usr/local/maven/default
Java version: 1.8.0_131, vendor: Oracle Corporation
Java home: /usr/local/java/jdk1.8.0_131/jre
Default locale: en_US, platform encoding: UTF-8
OS name: "linux", version: "3.10.61-10947019", arch: "aarch64", family: "unix"



Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Jenkins 설치


공식 사이트 : https://jenkins.io/


설치진행

root@localhost:~# cd /usr/local/tomcat/default
root@localhost:/usr/local/tomcat/default# cp -r _instance_01_default _instance_02_jenkins
root@localhost:/usr/local/tomcat/default# nano _instance_02_jenkins/bin/tomcat.sh 


root@localhost:/usr/local/tomcat/default# cd _instance_02_jenkins/webapps/
root@localhost:/usr/local/tomcat/default/_instance_02_jenkins/webapps# rm -rf ROOT*
root@localhost:/usr/local/tomcat/default/_instance_02_jenkins/webapps# wget -O ROOT.war http://mirrors.jenkins.io/war-stable/latest/jenkins.war
--2017-06-25 21:44:27--  http://mirrors.jenkins.io/war-stable/latest/jenkins.war
Resolving mirrors.jenkins.io (mirrors.jenkins.io)... 52.202.51.185
Connecting to mirrors.jenkins.io (mirrors.jenkins.io)|52.202.51.185|:80... connected.
HTTP request sent, awaiting response... 302 Found
Location: http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/war-stable/2.60.1/jenkins.war [following]
--2017-06-25 21:44:28--  http://ftp.yz.yamagata-u.ac.jp/pub/misc/jenkins/war-stable/2.60.1/jenkins.war
Resolving ftp.yz.yamagata-u.ac.jp (ftp.yz.yamagata-u.ac.jp)... 133.24.248.19, 133.24.248.18, 133.24.248.17, ...
Connecting to ftp.yz.yamagata-u.ac.jp (ftp.yz.yamagata-u.ac.jp)|133.24.248.19|:80... connected.
HTTP request sent, awaiting response... 200 OK
Length: 70611723 (67M)
Saving to: ‘ROOT.war’

ROOT.war                          100%[==========================================================>]  67.34M  87.7KB/s    in 8m 54s  

2017-06-25 21:53:22 (129 KB/s) - ‘ROOT.war’ saved [70611723/70611723]
root@localhost:/usr/local/tomcat/default/_instance_02_jenkins/webapps# ../bin/tomcat.sh start
Using CATALINA_BASE:   /usr/local/tomcat/default/_instance_02_jenkins
Using CATALINA_HOME:   /usr/local/tomcat/default
Using CATALINA_TMPDIR: /usr/local/tomcat/default/_instance_02_jenkins/temp
Using JRE_HOME:        /usr/local/java/default
Using CLASSPATH:       /usr/local/tomcat/default/bin/bootstrap.jar:/usr/local/tomcat/default/bin/tomcat-juli.jar
Tomcat started.



톰캣 기동 후 http://주소:18080 접속

최초 로그인 비밀 번호는 /root/.jenkins/secrets/initialAdminPassword 파일에 있다.



최초 로그인 비밀번호 확인 - 아래 조회된 6a0eda87..... 값을 넣고 로그인을 진행한다. (비밀번호는 사용자마다 다름)

root@localhost:/usr/local/tomcat/default/_instance_02_jenkins/webapps# cat /root/.jenkins/secrets/initialAdminPassword

6a0eda87603346c09048abb9da46b81b



일반적으로 Install suggested plugins 메뉴 선택



기본적으로 추천되는 플러그인들이 설치된다.




추후 이용할 계정을 생성한다.



Start using Jenkins



Jenkins 설치 완료!




Jenkins 관리 -> Global Tool Configuration



JDK 설정

 - 2017/06/24 - [Devices/Samsung Galaxy S6 Edge+] - [SM-G928L] Linux Deploy Ubuntu : Java 설치


Maven 설정

 - 2017/06/25 - [Devices/Samsung Galaxy S6 Edge+] - [SM-G928L] Linux Deploy Ubuntu : Maven 설치




Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Tomcat 설치

- 멀티 인스턴스 Tomcat


공식 사이트 : http://tomcat.apache.org/


톰캣 다운로드

root@localhost:~# mkdir /usr/local/tomcat

root@localhost:~# cd /usr/local/tomcat

root@localhost:/usr/local/tomcat# wget -O apache-tomcat-8.5.15.tar http://chule.tistory.com/attachment/cfile3.uf@244A3041594FAD312CADAD.tar

--2017-06-25 21:32:41--  http://chule.tistory.com/attachment/cfile3.uf@244A3041594FAD312CADAD.tar

Resolving chule.tistory.com (chule.tistory.com)... 175.126.170.110, 175.126.170.70

Connecting to chule.tistory.com (chule.tistory.com)|175.126.170.110|:80... connected.

HTTP request sent, awaiting response... 302 Found

Location: https://t1.daumcdn.net/cfile/tistory/244A3041594FAD312C [following]

--2017-06-25 21:32:41--  https://t1.daumcdn.net/cfile/tistory/244A3041594FAD312C

Resolving cfile3.uf.tistory.com (cfile3.uf.tistory.com)... 211.244.82.39

Connecting to cfile3.uf.tistory.com (cfile3.uf.tistory.com)|211.244.82.39|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 9078272 (8.7M) [application/x-tar]

Saving to: ‘apache-tomcat-8.1.15.tar’


apache-tomcat-8.1.15.tar          100%[==========================================================>]   8.66M  7.29MB/s    in 1.2s    


2017-06-25 21:32:43 (7.29 MB/s) - ‘apache-tomcat-8.1.15.tar’ saved [9078272/9078272]


root@localhost:/usr/local/tomcattar xvf apache-tomcat-8.5.15.tar

root@localhost:/usr/local/tomcatln -s apache-tomcat-8.5.15 default


apache-tomcat-8.5.15.tar




Posted by ChulE

삼성 갤럭이S6 엣지 플러스 Linux Deploy Ubuntu : Tvheadend 설치

공식 사이트 : https://tvheadend.org/

참고 사이트 : https://tvheadend.org/projects/tvheadend/wiki/AptRepository

                  apt-transport-https


root@localhost:~# apt-key adv --keyserver hkp://keyserver.ubuntu.com:80 --recv-keys

Executing: /tmp/tmp.65WSaW2ZjN/gpg.1.sh --keyserver

hkp://keyserver.ubuntu.com:80

--recv-keys

root@localhost:~# echo "deb http://dl.bintray.com/tvheadend/deb xenial stable-4.2" | sudo tee -a /etc/apt/sources.list

deb https://dl.bintray.com/tvheadend/deb xenial stable-4.2

root@localhost:~# apt-get update

Hit:1 http://ports.ubuntu.com xenial InRelease

Ign:2 https://dl.bintray.com/tvheadend/deb xenial InRelease

Get:3 https://dl.bintray.com/tvheadend/deb xenial Release [8,996 B]

Get:4 https://dl.bintray.com/tvheadend/deb xenial Release.gpg [821 B]

Ign:4 https://dl.bintray.com/tvheadend/deb xenial Release.gpg

Get:5 https://dl.bintray.com/tvheadend/deb xenial/stable-4.2 arm64 Packages [1,405 B]

Fetched 11.2 kB in 2s (4,443 B/s)    

Reading package lists... Done

W: GPG error: https://dl.bintray.com/tvheadend/deb xenial Release: The following signatures couldn't be verified because the public key is not available: NO_PUBKEY 379CE192D401AB61

W: The repository 'https://dl.bintray.com/tvheadend/deb xenial Release' is not signed.

N: Data from such a repository can't be authenticated and is therefore potentially dangerous to use.

N: See apt-secure(8) manpage for repository creation and user configuration details.

W: There is no public key available for the following key IDs:

379CE192D401AB61

root@localhost:~# apt-get install tvheadend

...

생략...

...

Do you want to continue? [Y/n] y

WARNING: The following packages cannot be authenticated!

  tvheadend

Install these packages without verification? [y/N] y

...

생략...

...

root@localhost:~# service tvheadend start

 * Starting Tvheadend tvheadend                                                                                               [ OK ] 




tvheadend 설치 도중 접속 아이디, 비밀번호를 세팅한다.







Tvheadend (4.2.2) 채널 등록, *.m3u 파일로 한번에 등록


참고 사이트 : http://blog.naver.com/sky100301/220921764967


설정 진행 http://192.168.1.1:9981


Olleh.m3u 파일을 만들고 서버에 업로드 한 후 해당 경로를 입력한다.





Posted by ChulE

삼성 갤럭이S6 엣지 플러스 Linux Deploy Ubuntu : Flexget 설치

참고 사이트 : http://archmond.net/?p=6589


root@localhost:~# apt-get install python

...

생략...

...

Do you want to continue? [Y/n] y

...

생략...

...

root@localhost:~# apt-get install python-pip

...

생략...

...

Do you want to continue? [Y/n] y

...

생략...

...

root@localhost:~# pip install flexget

Collecting flexget

  Downloading FlexGet-2.10.65-py2.py3-none-any.whl (2.9MB)

    100% |████████████████████████████████| 2.9MB 115kB/s 

Collecting future==0.16.0 (from flexget)

  Downloading future-0.16.0.tar.gz (824kB)

    100% |████████████████████████████████| 829kB 403kB/s 

Collecting zxcvbn-python==4.4.14 (from flexget)

  Downloading zxcvbn-python-4.4.14.tar.gz (405kB)

    100% |████████████████████████████████| 409kB 855kB/s 

Collecting flask-login==0.4.0 (from flexget)

  Downloading Flask_Login-0.4.0-py2.py3-none-any.whl

Collecting pytz==2017.2 (from flexget)

  Downloading pytz-2017.2-py2.py3-none-any.whl (484kB)

    100% |████████████████████████████████| 491kB 853kB/s                                     

...

생략...

... 

root@localhost:~# mkdir .flexget
root@localhost:~# cd .flexget/
root@localhost:~/.flexget# nano config.yml



root@localhost:~/.flexget# flexget check

root@localhost:~/.flexget# flexget web passwd '비밀번호'

root@localhost:~/.flexget# flexget daemon start ---autoreload-config

2017-06-25 14:36 INFO     manager                       Daemonizing...

2017-06-25 14:36 INFO     manager                       Daemonize complete. New PID: 21780

root@localhost:~/.flexget# flexget daemon status

There is a FlexGet process already running for this config, sending execution there.

2017-06-25 14:37 INFO     manager                       Daemon running. (PID: 21780)




Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Java 설치


공식 사이트 : http://www.oracle.com/technetwork/java/javase/downloads/jdk8-downloads-2133151.html


자바 다운로드 (jdk-8u131-linux-arm64-vfp-hflt.tar.gz)

root@localhost:~# mkdir /usr/local/java

root@localhost:~# cd /usr/local/java

root@localhost:/usr/local/java# wget --no-check-certificate --header "Cookie: oraclelicense=accept-securebackup-cookie" http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm64-vfp-hflt.tar.gz

--2017-06-24 17:38:16--  http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz

Resolving download.oracle.com (download.oracle.com)... 96.16.99.32, 96.16.99.72

Connecting to download.oracle.com (download.oracle.com)|96.16.99.32|:80... connected.

HTTP request sent, awaiting response... 302 Moved Temporarily

Location: https://edelivery.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz [following]

--2017-06-24 17:38:16--  https://edelivery.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz

Resolving edelivery.oracle.com (edelivery.oracle.com)... 23.12.226.38, 2600:1417:5a:38c::2d3e, 2600:1417:5a:3bb::2d3e

Connecting to edelivery.oracle.com (edelivery.oracle.com)|23.12.226.38|:443... connected.

HTTP request sent, awaiting response... 302 Moved Temporarily

Location: http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz?AuthParam=1498293616_280bc049f40c4dc602978ad594c9466e [following]

--2017-06-24 17:38:17--  http://download.oracle.com/otn-pub/java/jdk/8u131-b11/d54c1d3a095b4ff2b6607d096fa80163/jdk-8u131-linux-arm32-vfp-hflt.tar.gz?AuthParam=1498293616_280bc049f40c4dc602978ad594c9466e

Connecting to download.oracle.com (download.oracle.com)|96.16.99.32|:80... connected.

HTTP request sent, awaiting response... 200 OK

Length: 81648626 (78M) [application/x-gzip]

Saving to: ‘jdk-8u131-linux-arm32-vfp-hflt.tar.gz’


jdk-8u131-linux-arm32-vfp-hflt.ta 100%[==========================================================>]  77.87M  12.9MB/s    in 6.1s    


2017-06-24 17:38:23 (12.7 MB/s) - ‘jdk-8u131-linux-arm32-vfp-hflt.tar.gz’ saved [81648626/81648626]


root@localhost:/usr/local/java# tar xvzf jdk-8u131-linux-arm64-vfp-hflt.tar.gz

root@localhost:/usr/local/java# ln -s jdk1.8.0_131 default
root@localhost:/usr/local/java# nano /etc/profile


root@localhost:/usr/local/java# source /etc/profile
root@localhost:/usr/local/java# java -version
java version "1.8.0_131"
Java(TM) SE Runtime Environment (build 1.8.0_131-b11)
Java HotSpot(TM) 64-Bit Server VM (build 25.131-b11, mixed mode)




Posted by ChulE

삼성 갤럭시 S6 엣지 플러스 Linux Deploy Ubuntu : Transmission 설치

공식 사이트 : https://transmissionbt.com/

참고 사이트 : http://blog.djjproject.com/54


설치진행

root@localhost:~# apt-get install transmission-daemon

생략...

root@localhost:~# service transmission-daemon start

 * Starting bittorrent daemon transmission-daemon                                                                             [ OK ] 

root@localhost:~# service transmission-daemon stop

 * Stopping bittorrent daemon transmission-daemon                                                                             [ OK ]

root@localhost:~# nano /etc/transmission-daemon/settings.json



root@localhost:~# cp /etc/transmission/settings.json /root/.config/transmission-daemon/

root@localhost:~# transmission-daemon --logfile /var/log/transmission.log

[ ok ] Starting bittorrent daemon: transmission-daemon.





root@localhost:~# nano /etc/sysctl.conf



root@localhost:~# sysctl -p




설치 확인 : http://192.168.1.1:9091



Posted by ChulE