11.Nas_1


새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사


CoreElec - entware 설치 linux debian 작업

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문

    CoreElec - entware
    https://tvch.tistory.com/

    Entware 란 무엇이며 설치 / 제거 방법은 무엇입니까?

    > Entware 란 무엇입니까?
    Entware는 CoreELEC에서 지원을 추가 한 패키지 관리자입니다.

    Optware의 현대적인 대안이며 원래 OpenWRT에서 사용하도록 설계되었지만 다른 배포판에서 사용하도록 조정되었습니다. apt / yum / pacman과 유사하여 2000 개 이상의 Linux 응용 프로그램을 더 이상 설치할 수 없다는 점에서 도커 또는 해키 애드온을 사용해야합니다.

    > Entware는 어떻게 설치합니까?
    Entware는 이미지와 함께 패키지되지 않지만 설치할 수 있도록 스크립트를 추가했습니다.

    Entware를 시작하려면 장치에 SSH를 입력하고을 입력 한 installentware후 메시지가 표시되면 재부팅하고 opkg장치가 백업되어 실행될 때 사용할 수 있습니다.

    > Entware를 어떻게 제거합니까?
    Entware를 제거하거나 처음부터 다시 시작하기로 결정한 경우, 장치에 SSH를 연결 rm -rf /opt/*하고 재부팅 한 다음 Entware를 다시 설치하려면 장치를 재부팅 한 후 위의 지침을 따르십시오.

    > 추가 도움말
    CoreELEC 팀의 지원은 주로 Kodi에 중점을 둔 Entware 관련 문제에 대한 지원이 최소화됩니다.이 섹션은 사용자가 서로 도울 수 있도록 추가되었습니다.


    CoreElec

    entware 설치

    > installentware

     

    entware 제거

    > rm -rf /opt/* and reboot

     

    https://discourse.coreelec.org/t/what-is-entware-and-how-to-install-uninstall-it/1149

    apache 설치

    > opkg update

    > opkg install apache

     

    apache configuration -> /etc/apache/httpd.conf

     

    restart apache

    > apachectl restart

     

    https://openwrt.org/docs/guide-user/services/webserver/http.apache

    php7 설치

    > opkg install php7-cgi php7-mod-json php7-mod-dom php7-mod-mbstring php7-mod-openssl php7-mod-curl

     

    python 설치

    > opkg install python-light python-pip python-requests python-lxml

    > pip install BeautifulSoup4

    > pip install requests

     

    klive-server 설치

    > pip install flask

    > pip install requests

    > pip install gevent

     

    kliveProxy.service 수정

    [Unit]
    Description=KLive Server
    
    [Service]
    Environment=
    WorkingDirectory=/opt/klive/
    ExecStart=/opt/bin/python /opt/klive/kliveProxy.py
    Restart=always
    
    [Install]
    WantedBy=multi-user.target

     

    klive-server 서비스 등록

    > cp kliveProxy.service /opt/etc/init.d/ 
    > systemctl daemon-reload
    systemctl enable /opt/etc/init.d/kliveProxy.service
    systemctl start /opt/etc/init.d/kliveProxy.service

     

    klive-server 서비스 명령

    > systemctl start kliveProxy.service
    systemctl stop kliveProxy.service
    > systemctl restart kliveProxy.service

     

    [ 서비스 종료 및 비활성화 ]

    > systemctl stop kliveProxy.service

    > systemctl disable kliveProxy.service

     https://soju6jan.github.io/klive/2018/10/14/klive_install/


    gz 압축 하기

    명령어

    gzip {압축 파일명}

    파일 압축하기

    aaa.jpg를 gz으로 압축한다면 아래와 같은 명령어를 사용하면 된다.


    gzip aaa.jpg 

    수행 결과로 aaa.jpg는 없어지고, aaa.gz 압축 파일이 생성된다.


    gz은 여러개의 파일을 하나로 압축하는 용도가 아니다.

    여러개의 파일을 압축하시려면 tar, zip, 7z 압축을 사용하시길 바란다.


    gz 압축 풀기

    명령어

    gzip -d {압축 파일명}.gz

    gzip으로 압축을 푸는 옵션으로 -d 를 주면 된다. -d는 decompress의 줄임 표현이다.


    gzip 설치하기

    gzip은 리눅스에 기본으로 설치되어 있으나, 혹시 gzip 명령어를 찾을 수 없다고 나오면 아래 명령어로 설치하면 된다.


    우분투에서 unzip 설치



    출처: https://araikuma.tistory.com/121 [프로그램 개발 지식 공유]

    ====================
    entware 설치 작업
    > installentware
    ====================
    login as: root
    root@192.168.0.125's password:
    ##############################################
    #                  CoreELEC                  #
    #            https://coreelec.org            #
    ##############################################
    CoreELEC (official): 9.2.0 (Amlogic-ng.arm)
    CoreELEC:~ # docker ps
    CONTAINER ID        IMAGE                          COMMAND             CREATED             STATUS              PORTS               NAMES
    ddbe679e551f        linuxserver/tvheadend:latest   "/init"             27 hours ago        Up 17 seconds                           linuxserver_tvheadend_latest
    CoreELEC:~ #  installentware
    Connecting to bin.entware.net (104.27.176.50:80)
    writing to stdout
    Info: Checking for prerequisites and creating folders...
    Warning: Folder /opt exists!
    -                    100% |********************************|  2214  0:00:00 ETA
    written to stdout
    Info: Opkg package manager deployment...
    Connecting to bin.entware.net (104.27.177.50:80)
    saving to '/opt/bin/opkg'
    opkg                 100% |********************************|  146k  0:00:00 ETA
    '/opt/bin/opkg' saved
    Connecting to bin.entware.net (104.27.176.50:80)
    saving to '/opt/etc/opkg.conf'
    opkg.conf            100% |********************************|   193  0:00:00 ETA
    '/opt/etc/opkg.conf' saved
    Connecting to bin.entware.net (104.27.176.50:80)
    saving to '/opt/lib/ld-2.27.so'
    ld-2.27.so           100% |********************************|  125k  0:00:00 ETA
    '/opt/lib/ld-2.27.so' saved
    Connecting to bin.entware.net (104.27.176.50:80)
    saving to '/opt/lib/libc-2.27.so'
    libc-2.27.so         100% |********************************| 1314k  0:00:00 ETA
    '/opt/lib/libc-2.27.so' saved
    Connecting to bin.entware.net (104.27.177.50:80)
    saving to '/opt/lib/libgcc_s.so.1'
    libgcc_s.so.1        100% |********************************| 83960  0:00:00 ETA
    '/opt/lib/libgcc_s.so.1' saved
    Connecting to bin.entware.net (104.27.177.50:80)
    saving to '/opt/lib/libpthread-2.27.so'
    libpthread-2.27.so   100% |********************************| 98.7k  0:00:00 ETA
    '/opt/lib/libpthread-2.27.so' saved
    Info: Basic packages installation...
    Downloading http://bin.entware.net/aarch64-k3.10/Packages.gz
    Updated list of available packages in /opt/var/opkg-lists/entware
    Installing entware-opt (227000-3) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/entware-opt_227000-3_all.ipk
    Installing libgcc (7.4.0-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libgcc_7.4.0-8_aarch64-3.10.ipk
    Installing libc (2.27-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libc_2.27-8_aarch64-3.10.ipk
    Installing libssp (7.4.0-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libssp_7.4.0-8_aarch64-3.10.ipk
    Installing libpthread (2.27-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libpthread_2.27-8_aarch64-3.10.ipk
    Installing librt (2.27-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/librt_2.27-8_aarch64-3.10.ipk
    Installing libstdcpp (7.4.0-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libstdcpp_7.4.0-8_aarch64-3.10.ipk
    Installing entware-release (1.0-2) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/entware-release_1.0-2_all.ipk
    Installing zoneinfo-asia (2019c-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/zoneinfo-asia_2019c-1_aarch64-3.10.ipk
    Installing zoneinfo-europe (2019c-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/zoneinfo-europe_2019c-1_aarch64-3.10.ipk
    Installing findutils (4.6.0-4) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/findutils_4.6.0-4_aarch64-3.10.ipk
    Installing terminfo (6.1-5) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/terminfo_6.1-5_aarch64-3.10.ipk
    Installing libpcre (8.43-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/libpcre_8.43-1_aarch64-3.10.ipk
    Installing grep (3.3-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/grep_3.3-1_aarch64-3.10.ipk
    Installing locales (2.27-8) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/locales_2.27-8_aarch64-3.10.ipk
    Installing opkg (2019-06-14-dcbc142e-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/opkg_2019-06-14-dcbc142e-1_aarch64-3.10.ipk
    Installing entware-upgrade (1.0-1) to root...
    Downloading http://bin.entware.net/aarch64-k3.10/entware-upgrade_1.0-1_all.ipk
    Configuring libgcc.
    Configuring libc.
    Configuring libssp.
    Configuring libpthread.
    Configuring librt.
    Configuring terminfo.
    Configuring libpcre.
    Configuring grep.
    Configuring locales.
    Entware uses separate locale-archive file independent from main system
    Creating locale archive - /opt/usr/lib/locale/locale-archive
    Adding en_EN.UTF-8
    Adding ru_RU.UTF-8
    You can download locale sources from http://bin.entware.net/other/i18n_glib227.tar.gz
    You can add new locales to Entware using /opt/bin/localedef.new
    Configuring entware-upgrade.
    Upgrade operations are not required
    Configuring opkg.
    Configuring zoneinfo-europe.
    Configuring zoneinfo-asia.
    Configuring libstdcpp.
    Configuring entware-release.
    Configuring findutils.
    Configuring entware-opt.
    Info: Congratulations!
    Info: If there are no errors above then Entware was successfully initialized.
    Info: Add /opt/bin & /opt/sbin to your PATH variable
    Info: Add '/opt/etc/init.d/rc.unslung start' to startup script for Entware services to start
    Info: Found a Bug? Please report at https://github.com/Entware/Entware/issues
    Would you like to reboot now to finish installation (recommended) [y/N]? y
    CoreELEC:~ #

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

    문제 발생시 바로 제거


    entware 제거

    > rm -rf /opt/* and reboot


    ◎ ■ ▶ ☞ ♠ 정보찾아 공유 드리며 출처는 링크 참조 바랍니다. https://11q.kr ♠

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



    office view

    관련자료

    댓글목록

    profile_image

    shimss@11q.kr님의 댓글

    shimss@11q.kr 쪽지보내기 메일보내기 홈페이지 자기소개 아이디로 검색 전체게시물 아이피 (210.♡.41.89) 작성일
    목록

    새창 작성 수정 목록 링크 Edit G카랜다 HDD HDD HDD 게시물 주소 복사




    Total 1,684 / 83 Page
    [ 자작 nas 설치사례)Xpenology(헤놀로지)NAS서버_install_file 초기/화 재설치 구성 방… ] 댓글 12

    모든 저의 설정 저장값을 pdf viewer 가능한 게시판에 등록 공유 합니다\r\n첨부 워드자료 참조 최종 사용 자료xpenology를 설치를…

    [ 완벽정리! XPEnology를 Hyper-V에 설치하기 | 익스트림 매뉴얼 ] 댓글 10

    완벽정리! XPEnology를 Hyper-V에 설치하기 | 익스트림 매뉴얼extrememanual.net/2823저장된페이지2015. 11. 2…

    [ u5pvr 듀얼랜 그동안 유선랜만 사용에서 유선랜과 wifi 5G를 활성화 하였습니다 ]

    u5pvr 듀얼랜 그동안 유선랜만 사용에서 사용유선랜과 wifi 5G를 활성화 하였습니다접속이 분산 처리 있습니다kodi 실행 wifi로 접속되…

    [ 초보자)시놀로지서버 로컬드라브 totalcmd로 간단히 연결하기(넷드라브 없이) ]

    \r\n초보자 서버 사용자)시놀로지서버 로컬드라브 totalcmd로 간단히 연결하기(넷드라브 없이)\r\n저는 로칼드라브를 TOTALCMD를 활…

    [ PC와 모바일기기를 연결하는 더욱 강력해진 솔루션 SideSync를 통해 PC와 모바일기기간에 화면과 데이터… ] 댓글 2

    SideSyncPC와 모바일기기를 연결하는 더욱 강력해진 솔루션 SideSync를 통해 PC와 모바일기기간에 화면과 데이터를 간편하게 공유htt…

    [ 4dosgrub로 iso파일 헤놀로지 자동부팅 1번으로 하기 menu.lst 와 사용 유틸 Grub4dos+… ] 댓글 2

    헤놀로지 부팅을 usb/iso 파일로 부팅하기 입니다4dosgrub로 iso파일 헤놀로지 자동부팅 1번으로 하기첨부Grub4dos+@ Insta…

    [ showdown 설치성공 )★★★시놀, 헤놀 ds918 showdown 설정/설치 방송 vod 다운로드 설… ] 댓글 15

    showdown 설치성공 )★★★시놀, 헤놀 ds918 showdown 설정/설치 방송 vod 다운로드 설정하기아래 제작자 사이트에서showdo…

    [ 성공/실사례)헤놀로지에서 시놀로지 자체 외부 액세스 ddns 및 quick connect 접속가능하게 s… ] 댓글 3

    (성공/실사례)헤놀로지에서 시놀로지 자체 외부 액세스 ddns 및 quick connect 접속가능하게 sn/mac 변경 하기링크2에 모든자료 …

    [ DSM6_설치기)windows10 VMWRAE 12에서 DSM6.02 설치 메뉴얼사용기 설정 정보 입니다 ] 댓글 16

    설치기)windows10 VMWRAE 12에서 DSM6.02 설치 메뉴얼사용기 설정 정보 입니다\r\nPDF를 보시려면 링크1\r\n\r\nht…

    [ u5pvr_메모리 풀 조치 해결건 /유닉스 명령어 uptime 이란 ] 댓글 2

    u5pvr_메모리 풀 조치 해결건 카페 공지내용 입니다.해결 펌웨어 다운로드https://cafe.naver.com/mk802/28244파일 U…

    [ 펌업)EPG XML 윈도우용 프로그램 및 사용기_작업실패 ] 댓글 5

    펌업)EPG XML 윈도우용 프로그램 및 사용기너무나 간편한 epg파일을 만드는 유용한 프로그램입니다저는 실패 했습니다-----------실패 …

    [ 기가바이트 메인보드 내장 인텔 랜카드 I219, Windows Server 2012 R2 2016 드라이버… ] 댓글 9

    기가바이트 메인보드 내장 인텔 랜카드 I219, Windows Server 2012 R2 2016 버전 드라이버 설치 _인식 설치하기기입니다기가…

    [ 성공)시놀로지 나스에 Tvheadend 설치및root권한 없어진것 재설치 문제 해결및 iptv.m3u 설정… ] 댓글 32

    SynologyDSM611–Tvheadend설치하기성공)시놀로지 나스에 Tvheadend 설치및root권한 없어진것 재설치 문제 해결및 iptv…

    [ XPEnoboot for DSM 5.2 DS3615xs 5.2-5967.1 x64: [pat] [img] [… ] 댓글 32

    정보)헤놀로지 5.2 - 5967 업데이트후 백업이 않되어 복원후 재가동 합니다주의) 필히 이전 버전 web 폴더및 mariadb 백업 바랍니다…

    [ 헤놀로지 DSM 6 (6.0.1-7393) 정보 및 DSM_DS3615xs_7393_boot.img I… ] 댓글 52

    본자료는 참조만 하세요=========저의 최종 dsm 6.0 업데이트 가능한성공)DS3615xs 6.02 Jun's Mod V1.0_pat84…

    [ 성공)u5pvr단독) linux 재설치후 U5PVR APM 1편 : 설치후 epg2xml.php 이용하여 x… ] 댓글 72

    성공)u5pvr단독) linux 재설치후 U5PVR APM 1편 : 설치후 epg2xml.php 이용하여 xmltv.xml 만들어 자체 epg정…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-03 02:01:43

    오늘의 홈 현황


    • 현재 접속자♨ 644 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 3 명
    • 주간 가입자※ 13 명
    • 오늘 방문자 832 명
    • 어제 방문자 2,223 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,410,184 명
    • 전체 게시물※ 8,673 개
    • 전체 댓글수※ 24,814 개
    • 전체 회원수 11,081 명

    QR코드


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

    알림 0








    최신글↑