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
-----------------
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/
자동실행 추가
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
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
로 편리하게 연결 가능합니다
이제 안드로이드tv에서 termux 설치
간단한 url 웹서비스 가능하고
tvheadend 설치도 저의 서버자료 참조
설치 구동 합니다
coreelec 부팅 사묭하는냐
android tv 부팅 termux 에 ubuntu 부팅
하는냐
마음대로 수천번 지우고 다시 설정가능한
termux /ubuntu
의 초보 unix 사묭자에게 배우면서 유용하게
사용가능한것 추천드립니다
부팅후 접속이 되지 않아 포트 변경 접속 되었습니다.
포트 변경 Listen 8070
nano /etc/apache2/ports.conf
<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
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
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
root@localhost:~# service tvheadend restart
* Restarting Tvheadend tvheadend [ OK ]
root@localhost:~#
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
관련자료
댓글목록
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
11qkr님의 댓글
11qkr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (192.♡.0.1) 작성일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
♥간단_메모글♥
-
등록일 04.15가입 인사드립니다.댓글 6
-
등록일 04.09가입인사.댓글 4
-
등록일 03.03안녕하세여댓글 1
-
등록일 02.13
최근글
-
등록일 11.19
새댓글
-
등록자 삽질황제 등록일 11.21
-
등록자 changgeol 등록일 11.21
-
등록자 스노우캣 등록일 11.21
-
등록자 사다드 등록일 11.21
-
등록자 애완용 등록일 11.20
오늘의 홈 현황
QR코드
☞ QR코드 스캔은 kakao앱 자체 QR코드