11.Nas_1


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


성공)U5PVR WebDAV 구동하기 및 WebDAV 인증 Basic 및 미인증으로 설정하기

♨ 카랜더 일정 :
  • 링크

  • 첨부

  • 컨텐츠 정보

    본문


    성공)U5PVR WebDAV 구동하기 및 WebDAV 인증 Basic 및 미인증으로 설정하기

    https://11q.kr/g5s/bbs/board.php?bo_table=s11&wr_id=3156&sfl=wr_subject&stx=webdav&spt=-1204



    U5PVR WebDAV 구동하기 (apache2 패키지 이용)

    http://cafe.naver.com/mk802/20251

    아이디/패스워드 생성및 변경 방법

    htdigest -c /etc/apache2/passwd.dav WebDAV [newid]

    ========================
    Using username "root".
    root@192.168.0.33's password:
    Linux localhost 3.18.24_hi3798cv2x #5 SMP Fri Nov 3 11:36:07 KST 2017 armv7l
    Welcome to U5PVR Debian GNU/Linux 8 jessie (eddylab)
    root@u5pvr-debian:~# apt-get install apache2
    Reading package lists... Done
    Building dependency tree
    Reading state information... Done
    apache2 is already the newest version.
    apache2 set to manually installed.
    0 upgraded, 0 newly installed, 0 to remove and 54 not upgraded.
    root@u5pvr-debian:~# a2enmod dav dav_fs auth_digest
    Enabling module dav.
    Considering dependency dav for dav_fs:
    Module dav already enabled
    Enabling module dav_fs.
    Considering dependency authn_core for auth_digest:
    Module authn_core already enabled
    Enabling module auth_digest.
    To activate the new configuration, you need to run:
      service apache2 restart
    root@u5pvr-debian:~# a2dissite 000-default
    Site 000-default disabled.
    To activate the new configuration, you need to run:
      service apache2 reload
    root@u5pvr-debian:~# nano /etc/apache2/sites-available/webdav.conf
    root@u5pvr-debian:~# a2ensite webdav.conf
    Enabling site webdav.
    To activate the new configuration, you need to run:
      service apache2 reload
    root@u5pvr-debian:~# htdigest -c /etc/apache2/passwd.dav WebDAV u5pvr
    Adding password for u5pvr in realm WebDAV.
    New password:
    Re-type new password:
    root@u5pvr-debian:~# service apache2 restart
    [....] Restarting web server: apache2[Sun Nov 05 22:06:05.577780 2017] [alias:warn] [pid 14761] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.
    . ok
    root@u5pvr-debian:~# adduser www-data aid_sdcard_r
    Adding user `www-data' to group `aid_sdcard_r' ...
    Adding user www-data to group aid_sdcard_r
    Done.
    root@u5pvr-debian:~# adduser www-data aid_media_rw
    Adding user `www-data' to group `aid_media_rw' ...
    Adding user www-data to group aid_media_rw
    Done.
    root@u5pvr-debian:~#
    =============
    아래 명령의 복사 넣기 자료

    nano /etc/apache2/sites-available/webdav.conf

    <VirtualHost *:80>
        DocumentRoot /mnt
        <Directory /mnt>
            Options Indexes MultiViews FollowSymLinks
            AllowOverride none
            Require all granted
        </Directory>
        <Location />
            DAV On
            AuthType Digest
            AuthName "WebDAV"
            AuthDigestDomain /
            AuthDigestProvider file
            AuthUserFile /etc/apache2/passwd.dav
            Require valid-user
        </Location>
    </VirtualHost>
    ==============
    http://192.168.0.33/
    ♠ 출처는 링크 참조 바랍니다. https://11q.kr ♠
    3232235521_1509888172.4575.png

    아이디 : u5pvr /패스워드 : 설정 값 ....

    ----------- 12/7일 작업 내용 ---------- ..성공......

    make-ssl-cert: make-ssl-cert generate-default-snakeoil --force-overwrite

    make-ssl-cert: again.

    Processing triggers for libc-bin (2.19-18+deb8u10) ...

    Processing triggers for systemd (215-17+deb8u6) ...

    root@AOL-Debian:~# a2enmod dav dav_fs auth_digest

    Enabling module dav.

    Considering dependency dav for dav_fs:

    Module dav already enabled

    Enabling module dav_fs.

    Considering dependency authn_core for auth_digest:

    Module authn_core already enabled

    Enabling module auth_digest.

    To activate the new configuration, you need to run:

      service apache2 restart

    root@AOL-Debian:~# a2dissite 000-default

    Site 000-default disabled.

    To activate the new configuration, you need to run:

      service apache2 reload

    root@AOL-Debian:~# nano /etc/apache2/sites-available/webdav.conf

    root@AOL-Debian:~# a2ensite webdav.conf

    Enabling site webdav.

    To activate the new configuration, you need to run:

      service apache2 reload

    root@AOL-Debian:~# htdigest -c /etc/apache2/passwd.dav WebDAV u5pvr

    Adding password for u5pvr in realm WebDAV.

    New password:

    Re-type new password:

    root@AOL-Debian:~# service apache2 restart

    [....] Restarting web server: apache2AH00557: apache2: apr_sockaddr_info_get() failed for AOL-Debian

    AH00558: apache2: Could not reliably determine the server's fully qualified domain name, using 127.0.0.1. Set the 'ServerName' directive globally to suppress this message

    . ok

    root@AOL-Debian:~#  adduser www-data aid_sdcard_r

    Adding user `www-data' to group `aid_sdcard_r' ...

    Adding user www-data to group aid_sdcard_r

    Done.

    root@AOL-Debian:~# adduser www-data aid_media_rw

    Adding user `www-data' to group `aid_media_rw' ...

    Adding user www-data to group aid_media_rw

    Done.

    root@AOL-Debian:~# nano /etc/apache2/sites-available/webdav.conf

    root@AOL-Debian:~# ^C

    root@AOL-Debian:~#


    파일 삭제가 되지 않는다

    3232235521_1512653055.2939.png

    ++ 쓰기가 안되시는 분들 참고 부탁드립니다.

    1. Dav lock 폴더 지정

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

    DAVLockDB /etc/apache2/lock/DAVLock


    2. /etc/apache2/lock 폴더 생성 및 소유자 변경

    root@u5pvr-debian:~# mkdir /etc/apache2/lock

    root@u5pvr-debian:~# chown www-data /etc/apache2/lock


    3. 이후 재시작 하시면 잘 작동합니다.

     service apache2 restart

    이유는 잘 모르겠습니다. 권한에 문제가 없는데요. DB 를 생성을 못하네요. 직접 지정해주시면 해결이 됩니다.

    3232235521_1509986173.8287.png


    DAVLockDB ${APACHE_LOCK_DIR}/DAVLock


    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet

    DAVLockDB /etc/apache2/lock/DAVLock


    3232235521_1509986128.1668.png

    login as: root

    root@192.168.0.33's password:

    Linux localhost 3.18.24_hi3798cv2x #5 SMP Fri Nov 3 11:36:07 KST 2017 armv7l

    Welcome to U5PVR Debian GNU/Linux 8 jessie (eddylab)

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

    root@u5pvr-debian:~# mkdir /etc/apache2/lock

    root@u5pvr-debian:~# chown www-data /etc/apache2/lock

    root@u5pvr-debian:~# service apache2 restart

    [....] Restarting web server: apache2[Tue Nov 07 01:34:51.391316 2017] [alias:warn] [pid 18833] AH00671: The Alias directive in /etc/phpmyadmin/apache.conf at line 3 will probably never match because it overlaps an earlier Alias.

    . ok

    root@u5pvr-debian:~#

    이후 파일 삭제가 성공 했습니다

    3232235521_1512653101.94.png

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


    U5PVR WebDAV 인증 Basic 및 미인증으로 설정하기 20171208

    http://cafe.naver.com/mk802/24337 작업 내용입니다 

    디렉터리 리스팅만 하는 방법 (포트 : 8000)

    nano /etc/apache2/sites-available/listing.conf

    ---------

    <VirtualHost *:8000>    #포트를 여기다 기입합니다.
        DocumentRoot /mnt/media_rw/sda5    # 경로를 기입합니다.
        <Directory /mnt/media_rw>        # 해당 경로에 대한 옵션입니다.
            Options Indexes MultiViews FollowSymLinks    # 여기서 Indexes 가 파일  $
            AllowOverride none
            Require all granted
        </Directory>
    </VirtualHost>
    ---------------
    nano /etc/apache2/ports.conf
    ------------

    # If you just change the port or add more ports here, you will likely also
    # have to change the VirtualHost statement in
    # /etc/apache2/sites-enabled/000-default.conf

    Listen 80
    Listen 8000    # 추가

    <IfModule ssl_module>
            Listen 443
    </IfModule>

    <IfModule mod_gnutls.c>
            Listen 443
    </IfModule>

    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
    ---------------
    a2ensite listing.conf
    service apache2 reload

    3232235521_1512743469.523.png
    ================
    WebDAV Basic 인증 설정하기 (포트 7000)
    nano /etc/apache2/sites-available/webdav_basic.conf
    <VirtualHost *:7000>    # 포트 번호 : 7000
        DocumentRoot /mnt/media_rw/sda5
        # document root 지정
        <Directory /mnt>
        # 상위 폴더를 지정하여 옵션을 주면 하위폴더도 자동 적용됨
            Options Indexes MultiViews FollowSymLinks
            AllowOverride none
            Require all granted
        </Directory>
        <Location />
            DAV On
            AuthType Basic
            AuthName "WebDAV"
    # <-- realm 값입니다.
            AuthUserFile /etc/apache2/passwd_basic.dav
    # <-- 패스워드 파일 위치
            Require valid-user
        </Location>
    </VirtualHost>
    -----------------
    nano /etc/apache2/ports.conf

    --------------
    # If you just change the port or add more ports here, you will likely also
    # have to change the VirtualHost statement in
    # /etc/apache2/sites-enabled/000-default.conf

    Listen 80
    Listen 8000
    # 추가
    Listen 7000
    # 추가
    <IfModule ssl_module>
            Listen 443
    </IfModule>

    <IfModule mod_gnutls.c>
            Listen 443
    </IfModule>

    # vim: syntax=apache ts=4 sw=4 sts=4 sr noet
    ==================
    a2ensite webdav_basic.conf
    service apache2 reload

    ===
    htpasswd -c /etc/apache2/passwd_basic.dav shimss

    root@AOL-Debian:~# htpasswd -c /etc/apache2/passwd_basic.dav shimss
    New password:
    Re-type new password:
    Adding password for user shimss
    root@AOL-Debian:~#
    -------------

    3232235521_1512743398.9971.png
    ===========
    kopdi 에서 http://192.168.0.33:8000/ 으로 파일 관리자 접속 성공
    3232235521_1512744437.7405.png

    3232235521_1512744527.9757.png

    kodi 녹화 파일 정상 실행 됩니다
    3232235521_1512744564.7804.png


    주의)  webdav 적용후
    http://cafe.naver.com/mk802/20251
    에서 U5PVR WebDAV 인증 Basic 및 미인증으로 설정하기
    적용후
    3232235521_1557718759.9957.png

    후 web 서버 php 가능하게 실행 명령


    web 접속이 되지 않는다
    아래에 포트를 변경 합니다
    80 port를 8000으로 변경 8000 추가

    nano /etc/apache2/sites-available/webdav.conf
    nano /etc/apache2/ports.conf


    web 가동


    a2ensite 000-default.conf
    a2ensite listing.conf
    service apache2 reload
    root@AOL-Debian:~# service apache2 restart



    ....너무나 감사 합니다......






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



    office view

    관련자료

    댓글목록

    profile_image

    shimss11q님의 댓글

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

    u5pvr WebDAV 아이디/패스워드 설정
    htdigest -c /etc/apache2/passwd.dav WebDAV 아이디

    root@AOL-Debian:~# htdigest -c /etc/apache2/passwd.dav WebDAV newid
    Adding password for shimss in realm WebDAV.
    New password:
    Re-type new password:
    root@AOL-Debian:~#

    profile_image

    shimss11q님의 댓글

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

    성공)U5PVR WebDAV 구동하기 및 WebDAV 인증 Basic 및 미인증으로 설정하기

    profile_image

    shimss11q님의 댓글

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

    <VirtualHost *:8000>    #포트를 여기다 기입합니다.
        DocumentRoot /mnt/media_rw/sda5/11q
        # 경로를 기입합니다.
        <Directory /mnt/media_rw/sda5>
            # 해당 경로에 대한 옵션입니다.
            Options Indexes MultiViews FollowSymLinks
        # 여기서 Indexes 가 파일  $
            AllowOverride none
            Require all granted
        </Directory>
    </VirtualHost>

    profile_image

    shimss11q님의 댓글

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

    <VirtualHost *:7000>    # 포트 번호 : 7000
        DocumentRoot /mnt
        # document root 지정
        <Directory /mnt>
        # 상위 폴더를 지정하여 옵션을 주면 하위폴더도 자동 적용됨
            Options Indexes MultiViews FollowSymLinks
            AllowOverride none
            Require all granted
        </Directory>
        <Location />
            DAV On
            AuthType Basic
            AuthName "WebDAV"
    # <-- realm 값입니다.
            AuthUserFile /etc/apache2/passwd_basic.dav
    # <-- 패스워드 파일 위치
            Require valid-user
        </Location>
    </VirtualHost>

    profile_image

    shimss11q님의 댓글

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

    ㅋㅋ잠자 성공) 감사 합니다.....모두 되네요
    http://cafe.naver.com/mk802/20251
    에서 U5PVR WebDAV 인증 Basic 및 미인증으로 설정하기
    후 web 서버 php 가능하게 실행 명령
    a2ensite 000-default.conf
    a2ensite listing.conf
    service apache2 reload
    ....너무나 감사 합니다......

    목록

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




    Total 1,683 / 79 Page
    [ 아미나 스킨최신글 리스트 list 설명 ]

    최근글 추출방법 설정하기 - type, bo_list, ca_name, order, termAD한별아빠신고글주소01조회431최근글2013.04.…

    [ 아미나v3 테마 업데이트 정보 pc모드 홈피 auto menu.php 최신글index.php 하단 foo… ]

    아미나 테마 업데이트 정보 pc모드 홈피 auto menu.php 최신글index.php 하단 footer.php.내용 입니다관련 첨부 자료를 …

    [ 난 최신글만 우려 먹는다.(제나플러스 실패) ]

    난 최신글만 우려 먹는다.\r\n\r\n\r\n東問西答\r\n작성일시2012.09.06 10:51:56\r\n조회1,223\r\n댓글16첨부파일…

    [ [아미나 PC홈 수정] 중앙 움직이는 게시판 사진 겔러리 최신글 ] 댓글 1

    \r\n\r\n<!-- 사이트 로고w:\ami\thema\basic\head.php에서 아래를 삭제후 중앙 baner를 제거 합니다\r\n…

    [ Synology diskstation DS-712+ Mail 서버 만들기/Mail station 패캐지 설치… ] 댓글 3

    \r\n시놀로지 ds712 synology e-mail/email 설정/서버설정 (2012월3월9일up) 그누보드 이메일 설정하기 ,이메일의 모…

    [ 겔러리 썸네일 문제...^_^.. ] 댓글 1

    댓글이 달린지도 몰랐네요. 자기 댓글에 글달렸을때도 확인 가능하면 좋을거같아요! 3.2.4버전이랑 비교하니깐 common.lib.php에 //$…

    [ [해결]G4에서 모바일 접속시 폰트가 작아서 볼수가 없습니다 ]

    [해결]G4에서 모바일 접속시 폰트가 작아서 볼수가 없습니다 어디를 수정 해야 하는지요LV 5심봉사조회6기타2013.10.09 12:20안녕하세…

    [ Synology DiskStation 사용자 가이드 ]

    11q.kr 는 네이버/구글에서 검색 찾아오세요.Synology DiskStation 사용자 가이드\r\n\r\n\n[이 게시물은 관리자님에 의…

    [ 시놀로지 2개의 랜선을 연결 속도 증가 스키기 lan 2 port Synology NAS에서 Link Agg… ]

    제품 지원지식 기반호환성NAS 선택기NVR 선택기RAID Calculator 다운로드 센터다운로드 센터 기타 리소스베타 프로그램 개발자 타사 응…

    [ 사진 썸네일 가장 빠르게 생성하는 방법! | Photo Station ] 댓글 2

    링크에서 원본 출처 입니다.사진 썸네일 가장 빠르게 생성하는 방법!|Photo Station2012.03.20 10:49마르(amarese)정회…

    [ 림스모바일 ver 2.6.3 site map / auto menu 추가 ]

    상단 메뉴 만들기hea.php에 다음을 추가 합니다아래의 위치에 추가....data-transition="fade">Search</a…

    [ 림스/아미나 모바일 2.6.3 모바일 글쓰기 줄바꿈 안되는것 해결 ]

    <!-- 림스 모바일 글쓰기 줄바꿈 안되는것 /m/skin/view.basic.php #51 아미나 모바일 글쓰기 줄바꿈 안되는것 /m/s…

    [ iframe 사용법 ] 댓글 1

    \r\niframe 사용법\r\n \r\n\r\n사용법은 간단합니다. 위치하고 싶은 부분에 다음과 같이 삽입합니다. ===============…

    [ Netdrive 속도가 느릴때, 동영상이 끊길때 해결법 ]

    Netdrive 속도가 느릴때, 동영상이 끊길때 해결법컴퓨터 이야기~/소프트웨어 2012/02/20 09:02요즘 NAS 를 많이 사용하는데 N…

    [ 시놀리지 서버 로컬드라이브 설정 최신 NetDrive2_Setup_2_6_5_739.exe 사용 ]

    시놀리지 서버 로컬드라이브 설정 최신 NetDrive2_Setup_2_6_5_739.exe 사용기간 사용이 있지만 1개 연결 자동연결이 되지 않…

    [ XPEnology 5.1 Installation | VMWare Player 동영상자료 ]

    ♠ https://11q.kr는 정보를 찾아 공유 합니다..\r\n♠ 11q.kr은 정보를 찾아 공유 합니다. https://11q.kr htt…


    ♥간단_메모글♥


    최근글


    새댓글



    PHP 안에 HTML ☞ 홈페이지 화면갱신 시간은 ♨
    ▶ 2024-07-01 05:14:09

    오늘의 홈 현황


    • 현재 접속자♨ 666 명
    • 오늘 가입자※ 0 명
    • 어제 가입자※ 4 명
    • 주간 가입자※ 12 명
    • 오늘 방문자 1,104 명
    • 어제 방문자 1,787 명
    • 최대 방문자 13,042 명
    • 전체 방문자 4,406,154 명
    • 전체 게시물※ 8,670 개
    • 전체 댓글수※ 24,801 개
    • 전체 회원수 11,078 명

    QR코드


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

    알림 0








    최신글↑