Downloading and Configuring cadaver for Unix and Linux to Connect to the Web Hosting Service
Time to Complete (in minutes): 12
Question:
How do I download and configure cadaver for Unix and Linux to connect to the Web Hosting service?

Answer:
  1. Download cadaver from the cadaver Web site (http://www.webdav.org/cadaver/).
  2. Download the latest version of OpenSSL from the Tarballs page (http://www.openssl.org/source/).
  3. To install OpenSSL:
    1. In the terminal, navigate to the directory where you downloaded the OpenSSL tar file.
    2. At the shell prompt, enter:
      tar zxvf [Name of OpenSSL tar file]

      Note: Replace [Name of OpenSSL tar file] with the name of the OpenSSL.tar.gz file you downloaded.

    3. Enter:
      cd [Version of OpenSSL]

      Note: Replace [Version of OpenSSL] with the name of the directory created after unzipping the OpenSSL file you downloaded.

    4. Enter:
      ./config --prefix=/usr/local/openssl shared
    5. Enter:
      make && make install
    6. Enter:
      /usr/local/openssl/bin/openssl version
  4. At the shell prompt, enter:
    export CPPFLAGS="-I/[Location of installed OpenSSL folder]/include"

    Note: Replace [Location of installed OpenSSL folder] with the location to which you downloaded OpenSSL. The default location is /usr/local/openssl/include.

  5. Enter:
    export LDFLAGS="-L/[Location of installed OpenSSL folder]/lib"

    Note: Replace [Location of installed OpenSSL folder] with the location to which you downloaded OpenSSL. The default location is /usr/local/openssl/lib.

  6. Navigate to the directory where you downloaded the cadaver tar file.
  7. Enter:
    tar zxvf [Name of cadaver file]

    Note: Replace [Name of cadaver file] with the name of the cadaver file you downloaded.

  8. Enter:
    cd [Version of cadaver]

    Note: Replace [Version of cadaver] with the version of cadaver that you downloaded.

  9. Enter:
    ./configure --prefix=/usr/local/ --with-ssl
  10. Enter:
    make
  11. Enter:
    make install
  12. Enter:
    export LD_LIBRARY_PATH=[Location of installed OpenSSL folder]/lib:$LD_LIBRARY_PATH

    Note: Replace [Location of installed OpenSSL folder] with the location to which you downloaded OpenSSL. The default location is LD_LIBRARY_PATH=/usr/local/openssl/lib:$LD_LIBRARY_PATH.

  13. To verify that you installed the correct version of cadaver and OpenSSL, enter:
    cadaver -- version
  14. To connect to your hosting site, enter:
    [Location of cadaver] https://webdav.vt.edu/www.[Your site's name].vt.edu

    Notes:
    • Replace [Location of cadaver] with the location to which you installed cadaver. The default location is /usr/local/bin/cadaver.
    • Replace [Your site's name] with the name of your Web site.

  15. At the Do you wish to accept the certificate? prompt, enter:
    y
  16. Enter your PID.
  17. Enter your password.
  18. Once cadaver is installed and configured, you can use the following commands to upload and download files:
    • To upload a file, enter:
      put [Filename]

      Note: Replace [Filename] with the name of the file you want to upload.

    • To download a file, enter:
      get [Filename]

      Note: Replace [Filename] with the name of the file you want to download.

For a list of more commands, refer to Commands for Managing Files and Folders in cadaver for Unix and Linux (http://answers.vt.edu/kb/entry/2539/).
  • Article ID: 2536
  • Last updated: 22 Aug, 2012
  • Views: 3800
  • Comments: 0
  • Add comment
  • If you have feedback about the content of this article, please leave a comment. If you need assistance with these instructions, contact 4Help at http://4help.vt.edu.