11.Nas_1




Termux + Ubuntu + S***a + apache2 + tvheadend 설치 성공 사용기 입니다

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    Termux + Ubuntu + S??a + apache2 + tvheadend  설치 성공 사용기 입니다 

    사용기기 : gt-king-pro android tv 9  rooting 기기


    <termux sshd 자동스 스크립트>

    pkg install curl -y

    curl -LO http://11q.kr/termux/tt.sh

    pkg install dos2unix -y

    dos2unix tt.sh

    chmod 777 *.sh

    chmod a+x *.sh

    bash tt.sh

    <Termux + Ubuntu + s***a2 설치 Update (20.06.27)>

    https://cafe.naver.com/shieldtv/2032

    에서 참조 s***a2 설치 하였습니다

    curl -LO https://raw.githubusercontent.com/jassmusic/termux/master/termux-ubuntu_with_s***a2_install.sh

    bash termux-ubuntu_with_s***a2_install.sh

    -----------------

     먼저, Termux-Ubuntu (Eoan) 를 설치가 진행되고
       Termux-Ubuntu (Eoan) 에서 s***a 설치를 진행합니다.


    (5) 잠시 기다리면 시간대와 Locale 설정이 나타날건데, 아래와 같이 지정해주세요.
        : Asia 엔터
        : Seoul 엔터
         (한번씩 더 나오면 똑같이 Asia/Seoul 엔터)
        : en_US.UTF-8 UTF-8 스페이스 엔터
         (반드시 스페이스로 *표시 후 엔터)
        : en_US.UTF-8 엔터

        이 후 부턴 알아서 설치해줍니다.
         - Python 빌드 Package 설치
         - s***a 다운로드
         - s***a가 필요로 하는 Python Package 설치
           ※ Shield 기준 처음 설치시작부터 완료까지 15~20분 소요되나
               기기 성능에 따라 더 오래 걸릴 수 있습니다. (gevent build가 오래걸리니 끄지마세요....)
           ※막판에 빨간색 google-auth ERROR가 나타납니다만, 무시하셔도 됩니다.

        
    (6) 설치 완료 후 실행
       "s***a2 Installed finish." 문구까지 나타났다면,
       접속되어 있는 SSH를 종료하고 다시 SSH에 접속합니다.
       그러면 아래와 같이 나타나면서 s***a2 실행이 자동으로 시작됩니다.
    --------------------------------------------

    jassmusic님께서 

    아파치설치 url  웹서비스 설정을 자동 스크리트 만들어주시어 정상 설치 했습니다 

    (파일 정보)

    termux용 - https://raw.githubusercontent.com/jassmusic/termux/master/termux_apache2_install.sh

    termux-ubuntu용 - https://raw.githubusercontent.com/jassmusic/termux/master/termux-ubuntu_apache2_install.sh


    <termux ubuntu_apache2 자동설치 스크립트 설치>

    curl -LO https://raw.githubusercontent.com/jassmusic/termux/master/termux-ubuntu_apache2_install.sh
    bash termux-ubuntu_apache2_install.sh
    service apache2 start
    http://192.168.0.127:8000/

    3232235521_1594138282.1375.png 

    자동실행 추가

    nano .bash_profile

    수정하여

    service apache2 start

    를 
    마지막에 추가
    자동으로 부팅  설정 부팅시 자동으로 
    동작 설정 합니다
    echo ""
    echo "Welcome to Termux Ubuntu!"
    echo "e.g) s***a manual instruction"
    echo "     service s***a2 start"
    echo "     service s***a2 stop"
    echo "     service s***a2 restart"
    echo "     service s***a2 status"
    echo ""
    echo "Run s***a with background..."
    #sleep 1
    service s***a2 start
    echo ""
    service apache2 start

    3232235521_1594138779.8167.png

    apt install mc

    apt install nano

    등 기본설치 

    url  웹서비스를  위한  경로경로  확인

    /data/data/com.termux/files/home/termux-ubuntu/ubuntu-fs/var/www/html/

    에 skb.m3u  와  epg정보 xmltv.xml  파일 만드어

    iptv  klive등 연결어  자체연결 합니다


    파일이동은

    winscp로 연결

    /data/data/com.termux/files/home/termux-ubuntu/ubuntu-fs/var/www/html/skb.m3u

    에  카피 하면 

    http://192.168.0.126:8000/skb.m3u

    로  편리하게 연결 가능합니다

    3232235521_1594141462.8345.png

    이제 안드로이드tv에서  termux  설치

    간단한 url  웹서비스  가능하고

    tvheadend  설치도 저의 서버자료 참조

    설치  구동 합니다

    coreelec  부팅 사묭하는냐

    android  tv  부팅  termux  에  ubuntu  부팅

    하는냐  

    마음대로  수천번 지우고  다시 설정가능한

    termux /ubuntu

    의  초보 unix 사묭자에게  배우면서 유용하게

    사용가능한것  추천드립니다


    부팅후 접속이 되지 않아 포트 변경 접속 되었습니다.


    포트 변경 Listen 8070


    nano /etc/apache2/ports.conf 

    3232235521_1593695482.4429.png


    <tvheadend  설치>


    root@localhost:~# apt install wget

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    The following NEW packages will be installed:

      wget

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

    Need to get 322 kB of archives.

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

    Get:1 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf wget armhf 1.20.3-1ubuntu1 [322 kB]

    Fetched 322 kB in 2s (191 kB/s)

    Selecting previously unselected package wget.

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

    Preparing to unpack .../wget_1.20.3-1ubuntu1_armhf.deb ...

    Unpacking wget (1.20.3-1ubuntu1) ...

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

    root@localhost:~# wget http://11q.kr/download/tvheadend_4.3-1804_gebb096804-dirty_armhf.deb

    --2020-07-08 19:11:28--  http://11q.kr/download/tvheadend_4.3-1804_gebb096804-dirty_armhf.deb

    Resolving 11q.kr (11q.kr)... 110.8.240.82

    Connecting to 11q.kr (11q.kr)|110.8.240.82|:80... connected.

    HTTP request sent, awaiting response... 200 OK

    Length: 9318296 (8.9M) [application/octet-stream]

    Saving to: ‘tvheadend_4.3-1804_gebb096804-dirty_armhf.deb’


    tvheadend_4.3-1804_ 100%[===================>]   8.89M  34.2MB/s    in 0.3s


    2020-07-08 19:11:28 (34.2 MB/s) - ‘tvheadend_4.3-1804_gebb096804-dirty_armhf.deb’ saved [9318296/9318296]


    root@localhost:~# dpkg -i tvheadend_4.3-1804~gebb096804-dirty_armhf.deb

    dpkg: error: cannot access archive 'tvheadend_4.3-1804~gebb096804-dirty_armhf.deb': No such file or directory

    root@localhost:~# apt install dpkg

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    dpkg is already the newest version (1.19.7ubuntu2).

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

    root@localhost:~# dpkg -i tvheadend_4.3-1804~gebb096804-dirty_armhf.deb

    dpkg: error: cannot access archive 'tvheadend_4.3-1804~gebb096804-dirty_armhf.deb': No such file or directory

    root@localhost:~# ls

    termux-ubuntu_apache2_install.sh  tvheadend_4.3-1804_gebb096804-dirty_armhf.deb

    root@localhost:~# dpkg -i tvheadend_4.3-1804_gebb096804-dirty_armhf.deb

    Selecting previously unselected package tvheadend.

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

    Preparing to unpack tvheadend_4.3-1804_gebb096804-dirty_armhf.deb ...

    Unpacking tvheadend (4.3-1804~gebb096804-dirty) ...

    dpkg: dependency problems prevent configuration of tvheadend:

     tvheadend depends on libavahi-client3 (>= 0.6.16); however:

      Package libavahi-client3 is not installed.

     tvheadend depends on libavahi-common3 (>= 0.6.16); however:

      Package libavahi-common3 is not installed.

     tvheadend depends on libdvbcsa1 (>= 1.1.0); however:

      Package libdvbcsa1 is not installed.

     tvheadend depends on liburiparser1 (>= 0.6.0); however:

      Package liburiparser1 is not installed.


    dpkg: error processing package tvheadend (--install):

     dependency problems - leaving unconfigured

    Errors were encountered while processing:

     tvheadend

    root@localhost:~# apt-get update

    Hit:1 http://ports.ubuntu.com/ubuntu-ports eoan InRelease

    Get:2 http://ports.ubuntu.com/ubuntu-ports eoan-updates InRelease [97.5 kB]

    Get:3 http://ports.ubuntu.com/ubuntu-ports eoan-backports InRelease [88.8 kB]

    Get:4 http://ports.ubuntu.com/ubuntu-ports eoan-security InRelease [97.5 kB]

    Get:5 http://ports.ubuntu.com/ubuntu-ports eoan-updates/main armhf Packages [241 kB]

    Get:6 http://ports.ubuntu.com/ubuntu-ports eoan-updates/main Translation-en [118 kB]

    Get:7 http://ports.ubuntu.com/ubuntu-ports eoan-updates/universe armhf Packages [186 kB]

    Get:8 http://ports.ubuntu.com/ubuntu-ports eoan-updates/universe Translation-en [87.5 kB]

    Fetched 916 kB in 3s (272 kB/s)

    Reading package lists... Done


    root@localhost:~# apt-get upgrade

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    You might want to run 'apt --fix-broken install' to correct these.

    The following packages have unmet dependencies:

     tvheadend : Depends: libavahi-client3 (>= 0.6.16) but it is not installed

                 Depends: libavahi-common3 (>= 0.6.16) but it is not installed

                 Depends: libdvbcsa1 (>= 1.1.0) but it is not installed

                 Depends: liburiparser1 (>= 0.6.0) but it is not installed

                 Recommends: xmltv-util but it is not installed

                 Recommends: python-requests but it is not installed

    E: Unmet dependencies. Try 'apt --fix-broken install' with no packages (or specify a solution).

    root@localhost:~# apt --fix-broken install

    Reading package lists... Done

    Building dependency tree

    Reading state information... Done

    Correcting dependencies... Done

    The following additional packages will be installed:

      libavahi-client3 libavahi-common-data libavahi-common3 libdvbcsa1

      liburiparser1

    The following NEW packages will be installed:

      libavahi-client3 libavahi-common-data libavahi-common3 libdvbcsa1

      liburiparser1

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

    1 not fully installed or removed.

    Need to get 115 kB of archives.

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

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

    Get:1 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libavahi-common-data armhf 0.7-4ubuntu5 [21.4 kB]

    Get:2 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libavahi-common3 armhf 0.7-4ubuntu5 [18.2 kB]

    Get:3 http://ports.ubuntu.com/ubuntu-ports eoan/main armhf libavahi-client3 armhf 0.7-4ubuntu5 [21.8 kB]

    Get:4 http://ports.ubuntu.com/ubuntu-ports eoan/universe armhf libdvbcsa1 armhf 1.1.0-2build1 [22.9 kB]

    Get:5 http://ports.ubuntu.com/ubuntu-ports eoan/universe armhf liburiparser1 armhf 0.9.3-2 [30.3 kB]

    Fetched 115 kB in 2s (62.9 kB/s)

    Selecting previously unselected package libavahi-common-data:armhf.

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

    Preparing to unpack .../libavahi-common-data_0.7-4ubuntu5_armhf.deb ...

    Unpacking libavahi-common-data:armhf (0.7-4ubuntu5) ...

    Selecting previously unselected package libavahi-common3:armhf.

    Preparing to unpack .../libavahi-common3_0.7-4ubuntu5_armhf.deb ...

    Unpacking libavahi-common3:armhf (0.7-4ubuntu5) ...

    Selecting previously unselected package libavahi-client3:armhf.

    Preparing to unpack .../libavahi-client3_0.7-4ubuntu5_armhf.deb ...

    Unpacking libavahi-client3:armhf (0.7-4ubuntu5) ...

    Selecting previously unselected package libdvbcsa1:armhf.

    Preparing to unpack .../libdvbcsa1_1.1.0-2build1_armhf.deb ...

    Unpacking libdvbcsa1:armhf (1.1.0-2build1) ...

    Selecting previously unselected package liburiparser1:armhf.

    Preparing to unpack .../liburiparser1_0.9.3-2_armhf.deb ...

    Unpacking liburiparser1:armhf (0.9.3-2) ...

    Setting up libavahi-common-data:armhf (0.7-4ubuntu5) ...

    Setting up liburiparser1:armhf (0.9.3-2) ...

    Setting up libdvbcsa1:armhf (1.1.0-2build1) ...

    Setting up libavahi-common3:armhf (0.7-4ubuntu5) ...

    Setting up libavahi-client3:armhf (0.7-4ubuntu5) ...

    Setting up tvheadend (4.3-1804~gebb096804-dirty) ...


    Progress: [ 91%] [####################################################......]

     Package configuration

    3232235521_1594203866.5307.png


      x After installation Tvheadend can be accessed via HTTP on port 9981.    x 

      x From this machine you can point your web-browser to                    x

      x http://localhost:9981/.                                                x

      x                                                                        x

      x If you want to completely remove configuration, use your package       x

      x managers --purge option, e.g, apt-get remove --purge tvheadend*        x

      x                                                                        x

      x                                                                        x

      tqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqu

      x                               <  OK  >                                 x

      mqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqqj


    3232235521_1594204253.09.png 


    root@localhost:~# service tvheadend start 

     * Starting Tvheadend tvheadend                                                 /etc/init.d/tvheadend: 59: udevadm: not found

                                                                             [ OK ]

    root@localhost:~# service

    Usage: service < option > | --status-all | [ service_name [ command | --full-restart ] ]

    root@localhost:~# service --status-all

     [ - ]  apache-htcacheclean

     [ + ]  apache2

     [ - ]  dbus

     [ ? ]  hwclock.sh

     [ - ]  procps

     [ + ]  s***a2

     [ + ]  tvheadend

     [ - ]  x11-common

    root@localhost:~# service tvheadend restart

     * Restarting Tvheadend tvheadend                                               /etc/init.d/tvheadend: 59: udevadm: not found

                                                                             [ OK ]

    root@localhost:~# service tvheadend restart

     * Restarting Tvheadend tvheadend                                               /etc/init.d/tvheadend: 59: udevadm: not found

                                                                             [ OK ]

    root@localhost:~#


    nano  /etc/init.d/tvheadend -c

    3232235521_1594204402.672.png

    root@localhost:~# service tvheadend restart

     * Restarting Tvheadend tvheadend                                                                                                               [ OK ]

    root@localhost:~#


    ================================
    Operating System/Linux & Unix 2011. 2. 8. 16:32
    $ lsof -i -nP
    root@localhost:~# lsof -i -nP
    COMMAND    PID USER   FD   TYPE DEVICE SIZE/OFF NODE NAME
    sshd      6697 root    3u  IPv6  55119      0t0  TCP *:8022 (LISTEN)
    sshd      6697 root    4u  IPv4  55121      0t0  TCP *:8022 (LISTEN)
    filebrows 6759 root    6u  IPv6  60527      0t0  TCP *:9998 (LISTEN)
    apache2   6822 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    apache2   6826 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    apache2   6827 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    apache2   6828 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    apache2   6829 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    apache2   6830 root    4u  IPv6  64540      0t0  TCP *:8070 (LISTEN)
    python    6965 root    3u  IPv4  98352      0t0  TCP *:9999 (LISTEN)
    python    6965 root   17u  IPv4  94135      0t0  TCP 192.168.0.127:39010->52.85.230.103:443 (CLOSE_WAIT)
    python    6965 root   23u  IPv4  98361      0t0  TCP 192.168.0.127:9999->192.168.0.12:8376 (ESTABLISHED)
    python    6965 root   26u  IPv4  98362      0t0  TCP 192.168.0.127:9999->192.168.0.12:8379 (ESTABLISHED)
    sshd      7207 root    4u  IPv4 150514      0t0  TCP 192.168.0.127:8022->192.168.0.12:8423 (ESTABLISHED)
    tvheadend 7390 root    6u  IPv4 158390      0t0  TCP *:9981 (LISTEN)
    tvheadend 7390 root    7u  IPv4 159560      0t0  TCP *:9982 (LISTEN)
    tvheadend 7390 root   30u  IPv4 159577      0t0  UDP 239.255.255.250:1900
    tvheadend 7390 root   31u  IPv4 159580      0t0  UDP *:35952
    tvheadend 7390 root   33u  IPv4 175848      0t0  TCP 192.168.0.127:9981->192.168.0.12:8705 (ESTABLISHED)
    root@localhost:~#
     

    ■ ▶ ☞ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다 ♠ . ☞ 본자료는 https://11q.kr 에 등록 된 자료 입니다♠.

    [ 추가 정보 ... 더보기) ]
    뷰PDF 1,2



    office view

    관련자료

    댓글목록

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    tvheadend 설치가 dpkg로 않될때
      52  apt install wget
      53  wget http://11q.kr/download/tvheadend_4.3-1804_gebb096804-dirty_armhf.deb
      55  apt install dpkg
      58  dpkg -i tvheadend_4.3-1804_gebb096804-dirty_armhf.deb
      61  apt-get upgrade
      62  apt --fix-broken install
      63  service tvheadend start
      64  service
      65  service --status-all
      66  service tvheadend restart
      68  nano  /etc/init.d/tvheadend -c
      69  service tvheadend restart
      70  history

    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일
    profile_image

    11qkr님의 댓글

    11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일

    tvheadend_4.3-1896..._arm64.deb 설치 저의서버 이용
    =================
    apt install wget debhelper pkg-config gettext libavahi-client-dev libssl-dev zlib1g-dev liburiparser-dev python python-requests cmake libpcre3-dev libdvbcsa-dev  xmltv-util python python-requests mc nano  -y
    wget http://11q.kr/download/tvheadend_4.3-1896~gce0907705_arm64.deb
    dpkg -i tvheadend_4.3-1896~gce0907705_arm64.deb
    service --status-all
    service tvheadend start
    service --status-all
    service tvheadend restart
    epg그래버모듈 다운 설치

      wget http://11q.kr/download/tv_grab_docker_wget_cat
      ls
      chmod a+x tv_grab_docker_wget_cat
      chmod 777 tv_grab_docker_wget_cat
      cp tv_grab_docker_wget_cat /usr/bin

    재시작

     service tvheadend restart




    • 일간 조회수
        • 게시물이 없습니다.
    • 주간 조회수
        • 게시물이 없습니다.
    • 월간 조회수
        • 게시물이 없습니다.


    Total 1,746 / 18 Page
    [ 이효리 '마오'로 인한 사이버 전쟁 발발 ]

    중국이 이효리 태그로 저런 글 쓰기 시작함한국인 반격 들어감 수석코치인 기준 위해서는 안전놀이터 방송 LG-NC전에서 해수욕장을 아들, 구호활동…

    [ 일부앱에서 인터넷 통신이 않될때 방화벽 해제 엡 설정 허용 하기 ]

    일부앱에서 인터넷 통신이 않될때 방화벽 해제 엡 설정 허용 하기잘되던 상태의 일부 앱이 인터넷 연결이 되지 않는다문제점 : kodi의 PVR 클…

    [ netflix addon login 않될때 메모리캐쉬 삭제 메모리/디스크 삭제 하세요 ]

    netflix addon login 않될때 메모리캐쉬 삭제 메모리/디스크 삭제 하세요재설치 혹은 삭제후 업데이트후 로그인 않될때■ ▶ ☞ 정보찾…

    [ xpenology ssh puttry로 mount 하여 Booting USB sn,mac 주소 직접 간편… ] 댓글 2

    xpenology ssh puttry로 mount 하여 Booting USB sn,mac 주소 직접 간편하게마운트하여 편집하기root@ss11q…

    [ Ubuntu 16.04에서 최대 절전 모드를 해제하려면 어떻게해야합니까? ]

    Ubuntu 16.04에서 최대 절전 모드를 해제하려면 어떻게해야합니까?askubuntu.comhttps://askubuntu.com/quest…

    [ https://github.com/tvheadend/tvheadend 에서 4.2.8버전 다운로드 빌드 하기 ]

    https://github.com/tvheadend/tvheadend 에서 4.2.8버전 다운로드 빌드 하기장비 : 갤럭시 노트8 64비트기본적…

    [ 성공)갤럭시 note8 에 debian 조건 tvheadend_4.3-1896~gce0907705-dirt… ] 댓글 9

    Continuity counter error 발생에 대한 구글링 하여 많은것을 조치 하였습니다http://11q.kr/g5s/bbs/board.…

    [ 리눅스(Linux) 포트 열기, 방화벽 설정해제 등 ]

    리눅스(Linux) 포트 열기, 방화벽 설정해제 등작성자v-eng작성일2016-09-05 09:47조회45022http://www.veng.co…

    [ tvheadend 빌드하여 설치 하기/ 64bit 스마트폰 갤럭시노트8에 설치 하기 ]

    tvheadend 64BIT 빌드하여 설치 하기/ 64bit 스마트폰 갤럭시노트8에 설치 하기[linux] 리눅스 32bit, 64bit 확인 …

    [ GT King Pro - Debian10 Buster & Ubuntu 20.04 LTS Focal Fossa… ] 댓글 1

    ■ ▶ ☞ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다 ♠ . ☞ 본자료는 https://11q.kr 에 등록 된 자료 입니다♠.beelin…

    [ [ROM]Beelink0W-KingProALVATECHAndroidTV-ATV(9.0원형)S9220 X-H ] 댓글 11

    ■ ▶ ☞ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다 ♠ . ☞ 본자료는 https://11q.kr 에 등록 된 자료 입니다♠.[ROM]B…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-04-28 07:53:04

    오늘의 홈 현황


    • 현재 접속자♨ 131 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 18 명
    • 오늘 방문자 869 명
    • 어제 방문자 1,561 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,292,635 명
    • 전체 게시물※ 8,535 개
    • 전체 댓글수※ 24,522 개
    • 전체 회원수 10,934 명

    QR코드


    ☞ QR코드 스캔은 kakao앱 자체 QR코드

    알림 0








    최신글↑