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:
- Download cadaver from DAV's WebDAV Resources page (http://www.webdav.org/cadaver/).
- Download and install the latest version of OpenSSL. Go to OpenSSL's OpenSSL Tarballs page (http://www.openssl.org/source/).
Follow these basic steps for installation:
- tar zxvf [Name of OpenSSL tar file]
- cd [Version of OpenSSL]
- ./config --prefix=/usr/local/openssl shared
- make && make install
- /usr/local/openssl/bin/openssl version
- 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.
- 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.
- Enter: gunzip -c [Name of cadaver Download File] | tar xvf -
- Enter: cd [Version of cadaver]
Note: Replace [Version of cadaver] with the version of cadaver that you downloaded.
Example: cadaver-0.22.1
- Enter: ./configure --prefix=/usr/local/ --with-ssl
- Enter: make
- Enter: make install
- 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.
- To connect to your hosting site, enter: [Location of cadaver] https://www.hosting.vt.edu/[Your Site's URL]
- At the Do You Wish to Accept The Certificate? prompt, enter: y
- Enter your PID.
- 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/kb/entry/2539/).