11.Nas_1


작업)U5PVR / MINI 리눅스 펌웨어 데비안9 Stretch 업데이트 (베타)_phpmyadmin 재설치 error발생


  • 링크


  • 컨텐츠 정보


    본문

    U5PVR / MINI 리눅스 펌웨어 데비안9 Stretch 업데이트 (베타) |

    https://cafe.naver.com/mk802/30960

    을 참조 하여 작업 진행 합니다

    1차) 정상 linux 설치상태이며 web 폴더및 기타 개인 설정 상태입니다

    제작님의 초기 linux 설치후 진행에 대한 권고사항이 있는데

    저는 혹시 모르는 문제로 복원하기 위하여 지금 백업을 완료후 진행 합니다 

    3232235521_1553682303.1157.png

    유튜브는 https://youtu.be/emOYK9ALO7I  참조 명령어순으로 진행  합니다

    putty 접속

    3232235521_1553680734.2891.png

    스크립트 복사 실행

    wget https://github.com/djjproject/android_over_linux/raw/master/stretch-upgrade.sh

    chmod a+x stretch-upgrade.sh 

    ./stretch-upgrade.sh 

    10분이상 설치후 잠시 화면이 정지 됩니다

    Keep the local version currently installed 를 선택

    3232235521_1553682236.3939.png


    3232235521_1553682382.8826.png
    3232235521_1553682403.7464.png

    phpmyadmin 설정은 다음과 같이 ignore 로 진행 하면  설치 완료 됩니다(이하 참조)

    3232235521_1553682476.9476.png

    3232235521_1553682515.0908.png

    3232235521_1553682530.9131.png

    3232235521_1553682547.981.png'

    이번에는 retry 로 진행

    3232235521_1553682584.2844.png

    3232235521_1553682617.1761.png

    3232235521_1553682633.0389.png

    이번에는 ignore 로 진행

    3232235521_1553682672.068.png

     아래와같이 완료  19시 시작  19시30분 완료

    3232235521_1553682768.1065.png

    reboot

    3232235521_1553682839.0392.png

    putty 접속 화면 확인

    3232235521_1553682960.9603.png

    http://192.168.0.108/

    기존 web 폴더 변경 경로 정상

    3232235521_1553683005.2481.png

    tvheadend 정상 설정값 불러옴

    http://192.168.0.108:9981/extjs.html

    3232235521_1553683072.3785.png

    3232235521_1553683473.4438.png

    crontab -e 

    정상

    3232235521_1553683153.3279.png


    klive 상기 crontab -e 에 설정값 정상 부팅 설정으로 

    klive/output 마운트 된것  m3u 파일 다음팟에서 정상 시청 됩니다

    3232235521_1553683263.3362.png

    http://192.168.0.108:9801/m3u

    정상

    3232235521_1553683343.1987.png

    http://192.168.0.108:9801/m3uall

    3232235521_1553683404.1076.png

    //192.168.0.108:9801/epg

    3232235521_1553683366.9916.png

    php v

    3232235521_1553685240.3867.png

    .xml.sh

    정상 실행 됩니다

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

    cd /mnt/media_rw/mmcblk1p1/www/html/epg

    php epg2xml.php -o xml.xml

    chmod 777 *.xml

    cp xml.xml xmltv.xml

    ---------- 

    문제점 

    http://192.168.0.108/phpmyadmin/

    는 에러 발생 합니다 

    3232235521_1553683928.2613.png

    phpmyadmin  을 설정 합니다

    https://cafe.naver.com/mk802/20363

    apt-get purge phpmyadmin

    3232235521_1553685832.9401.png
    apt-get install phpmyadmin
    apt install libapache2-mod-php
    service apache2 restart

    설치후 해도  아래 상태 메세지가 나오네요

    3232235521_1553686429.6003.png
    ==========================================
    초기부터 펌웨어/linux  재설치후 phpmyadmin 접속불가능 해결및 설치 변경 정보
    펨웨어 재설치 // linux초기 설치 > apm 설치후 phpmyadmin 접속 불가능
    -------------------------------------

    Home » Troubleshooting » Solved: phpmyadmin #1698 - Access denied for user 'root'@'localhost'
    Solved: phpmyadmin #1698 - Access denied for user 'root'@'localhost'


    Solved: phpmyadmin #1698 - Access denied for user 'root'@'localhost'
    Mysql tries to authenticate root using plugin, not password. You need to disable plugin usage for root.

    shell$ sudo mysql -u root

    [mysql] use mysql;
    [mysql] update user set plugin='' where User='root';
    [mysql] flush privileges;
    [mysql] \q

    -------------
    root@AOL-Debian:~# netstat -tupan | grep mysql
    tcp        0      0 127.0.0.1:3306          0.0.0.0:*               LISTEN      8090/mysqld
    root@AOL-Debian:~#  mysql -u root
    Welcome to the MariaDB monitor.  Commands end with ; or \g.
    Your MariaDB connection id is 36
    Server version: 10.1.26-MariaDB-0+deb9u1 Debian 9.1

    Copyright (c) 2000, 2017, Oracle, MariaDB Corporation Ab and others.

    Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

    MariaDB [(none)]> use mysql;
    Reading table information for completion of table and column names
    You can turn off this feature to get a quicker startup with -A

    Database changed
    MariaDB [mysql]> update user set plugin='' where User='root';
    Query OK, 1 row affected (0.01 sec)
    Rows matched: 1  Changed: 1  Warnings: 0

    MariaDB [mysql]> flush privileges;
    Query OK, 0 rows affected (0.00 sec)

    MariaDB [mysql]>  \q
    Bye
    root@AOL-Debian:~#
    ==============
    이후 접속 가능 합니다....
    3232235521_1553881849.3572.png

    3232235521_1553882183.5179.png

    =========
    의 설치 정보 에서 

    3232235521_1553882411.1795.png

    root@u5pvr-debian:~# nano /etc/apache2/apache2.conf


    ServerName localhost

    Include /etc/phpmyadmin/apache.conf


    root@u5pvr-debian:~# service apache2 restart

    [ ok ] Restarting web server: apache


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

    [이 게시물은 shimss@11q.kr님에 의해 2019-03-27 20:46:06 12.Nas_S_BBS_s12에서 이동 됨]
    뷰PDF add1,add2



    관련자료

    댓글 2

    shimss@11q.kr님의 댓글

    Solved: phpmyadmin #1698 - Access denied for user 'root'@'localhost'
    Mysql tries to authenticate root using plugin, not password. You need to disable plugin usage for root.

    shell$ sudo mysql -u root

    [mysql] use mysql;
    [mysql] update user set plugin='' where User='root';
    [mysql] flush privileges;
    [mysql] \q


    전체 1,749 / 55 페이지
    전체 1,749 / 55 페이지



    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-05-17 11:51:45

    오늘의 홈 현황


    • 현재 접속자♨ 113 명
    • 오늘 가입자※ 1 명
    • 어제 가입자※ 6 명
    • 주간 가입자※ 11 명
    • 오늘 방문자 909 명
    • 어제 방문자 2,015 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,327,254 명
    • 전체 게시물※ 8,573 개
    • 전체 댓글수※ 24,619 개
    • 전체 회원수 10,971 명

    QR코드


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

    알림 0








    최신글↑