Article: vtkb2536.htm
Difficulty: Easy
Time to Complete (minutes): 12
Last Updated: Apr 06, 2007


Question:

How do I download and configure cadaver for Unix and Linux to connect to the Web Hosting service?

Answer:

  1. Download cadaver from DAV's WebDAV Resources page (http://www.webdav.org/cadaver/).
  2. Download and install the latest version of OpenSSL. Go to OpenSSL's OpenSSL Tarballs page (http://www.openssl.org/source/).
  3. Follow these basic steps for installation:

    1. tar zxvf [Name of OpenSSL tar file]
    2. cd [Version of OpenSSL]
    3. ./config --prefix=/usr/local/openssl shared
    4. make && make install
    5. /usr/local/openssl/bin/openssl version
  4. At the shell prompt, enter: export CPPFLAGS="-I/[Location of Your **installed** OpenSSL Folder]/include"
    Note: Replace [Location of Your **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 Your **installed** OpenSSL Folder]/lib"
    Note: Replace [Location of Your **installed** OpenSSL Folder] with the location to which you downloaded OpenSSL. The default location is /usr/local/openssl/lib.
  6. Enter: gunzip -c [Name of cadaver Download File] | tar xvf -
    Note:
    • Replace [Name of cadaver Download File] with the name of the cadaver file you downloaded.
      Example: cadaver-0.22.1.tar.gz
    • "tar zxvf" is equivalent to "gunzip -c tar xvf -". Newer versions of "tar" understand the 'z' flag which refers to using gzip or gunzip compression.
  7. Enter: cd [Version of cadaver]
    Note: Replace [Version of cadaver] with the version of cadaver that you downloaded.
    Example: cadaver-0.22.1
  8. Enter: ./configure --prefix=/usr/local/ --with-ssl
  9. Enter: make
  10. Enter: make install
  11. Enter: export LD_LIBRARY_PATH=[Location of Your **installed** OpenSSL Folder]/lib:$LD_LIBRARY_PATH
    Notes:
    • Replace [Location of Your **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.
    • Run "cadaver -- version" to verify the right version of cadaver and OpenSSL.
  12. To connect to your hosting site, enter: [Location of cadaver] https://www.hosting.vt.edu/[Your Site's URL]
    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 URL] with the address of your Web site.
      Example: www.abcd1234.vt.edu
  13. At the Do You Wish to Accept The Certificate? prompt, enter: y
  14. Enter your PID.
  15. Enter your password.

Use the following commands to upload and download files:

For a list of more commands for using cadaver, refer to Commands for Managing Files and Folders in cadaver for Unix and Linux (http://answers.vt.edu/ask4help/thirdparty/vtkb2539.htm).