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 the cadaver Web site (http://www.webdav.org/cadaver/).
- Download the latest version of OpenSSL from the Tarballs page (http://www.openssl.org/source/).
- To install OpenSSL:
- In the terminal, navigate to the directory where you downloaded the OpenSSL tar file.
- 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.
- Enter:
cd [Version of OpenSSL]
Note: Replace [Version of OpenSSL] with the name of the directory created after unzipping the OpenSSL file you downloaded.
- Enter:
./config --prefix=/usr/local/openssl shared
- Enter:
make && make install
- Enter:
/usr/local/openssl/bin/openssl version
- 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.
- 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.
- Navigate to the directory where you downloaded the cadaver tar file.
- Enter:
tar zxvf [Name of cadaver file]
Note: Replace [Name of cadaver file] with the name of the cadaver file you downloaded.
- Enter:
cd [Version of cadaver]
Note: Replace [Version of cadaver] with the version of cadaver that you downloaded.
- Enter:
./configure --prefix=/usr/local/ --with-ssl
- Enter:
make
- Enter:
make install
- 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.
- To verify that you installed the correct version of cadaver and OpenSSL, enter:
cadaver -- version
- 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.
- At the Do you wish to accept the certificate? prompt, enter:
y
- Enter your PID.
- Enter your password.
- Once cadaver is installed and configured, you can use the following commands to upload and download files:
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
-
- Print
-
- 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.