Kusprayitna Blogs

Hidup untuk berbagi ilmu :: IT Linux Windows Database Oracle PHP OpenSource

Mounting WebDAV di linux Centos

Posted by kusprayitna on August 26th, 2010

WebDav merupakan salah satu protokol yang sering dipakai dalam layanan media penyimpanan selain FTP, File sharing dan lain sebagainya.

Adapun cara melakukan akses webdav hampir sama dengan protokol yang lain, dapat melalui web maupun sebagai user space, maksudnya seperti lokal file saja.

Untuk mengaktifkan user space webdav di centos dapat dilakukan dengan cara sebagi berikut :

  1. Aktifkan repository RMPFORGE
  2. install davfs2

    # yum install davfs2
    Loaded plugins: fastestmirror, priorities
    Loading mirror speeds from cached hostfile
    * addons: ftp.oss.eznetsols.org
    * base: ftp.oss.eznetsols.org
    * extras: ftp.oss.eznetsols.org
    * rpmforge: apt.sw.be
    * updates: ftp.oss.eznetsols.org
    3394 packages excluded due to repository priority protections
    Setting up Install Process
    Resolving Dependencies
    --> Running transaction check
    ---> Package davfs2.i386 0:1.4.6-1.el5.rf set to be updated
    --> Finished Dependency Resolution

    Dependencies Resolved

    ============================================================================================================================================================
    Package                            Arch                             Version                                     Repository                            Size
    ============================================================================================================================================================
    Installing:
    davfs2                             i386                             1.4.6-1.el5.rf                              rpmforge                             221 k

    Transaction Summary
    ============================================================================================================================================================
    Install      1 Package(s)
    Update       0 Package(s)
    Remove       0 Package(s)

    Total size: 221 k
    Is this ok [y/N]: y
    Downloading Packages:
    Running rpm_check_debug
    Running Transaction Test
    Finished Transaction Test
    Transaction Test Succeeded
    Running Transaction
    Installing     : davfs2                                                                                                                               1/1

    Installed:
    davfs2.i386 0:1.4.6-1.el5.rf

    Complete!

  3. Mounting webdav

    # mount -t davfs http://xxxx mount.point

    maka dilakukan

    # mount -t davfs http://192.168.7.7/repository/default/root /mnt
    Please enter the username to authenticate with proxy
    192.168.7.11 or hit enter for none.
    Username:
    Please enter the password to authenticate user 011002103 with proxy
    192.168.7.11 or hit enter for none.
    Password:
    Please enter the username to authenticate with server
    http://192.168.6.6:8080/OpenKM/repository/default/okm:root or hit enter for none.
    Username: prayitna
    Please enter the password to authenticate user 011002103 with server
    http://192.168.6.6:8080/OpenKM/repository/default/okm:root or hit enter for none.
    Password:

    # ls /mnt/
    FE  FIAI  FK  FMIPA  FPSB  FTI  FTSP  lost+found  Rektorat

Alhamdulillah berhasil & semoga bermanfaat

2 Responses to “Mounting WebDAV di linux Centos”

  1. agung Says:

    ada ga tutorial install server webdav ??
    terimakasi

  2. agung Says:

    ada ga tutorial install server webdav ??
    terimakasi...

Leave a Reply

XHTML: You can use these tags: <a href="" title=""> <abbr title=""> <acronym title=""> <b> <blockquote cite=""> <cite> <code> <del datetime=""> <em> <i> <q cite=""> <s> <strike> <strong>