Installing GridFTP

From Daya Bay

Jump to: navigation, search

This is a very simple recipe on how to install GrdiFTP. For any more information you can start here.

mkdir -p ${HOME}/local/GridFTP
cd ${HOME}/local/GridFTP
mkdir globus
wget http://www.globus.org/ftppub/latest-stable/gt-latest-stable-all-source-installer.tar.bz2
bzip2 -d gt-latest-stable-all-source-installer.tar.bz2
tar xvf gt-latest-stable-all-source-installer.tar
cd gt5.0.4-all-source-installer
./configure  --prefix ${HOME}/local/GridFTP/globus
nohup make gridftp install > build.log 2>&1 < /dev/null &
tail -f build.log 

Wait for that command to complete and execute the following.

../globus/setup/globus/setup-globus-gridftp-sshftp -server -nonroot

You are now ready to edit .bash_profile to add the following:

GLOBUS_LOCATION=${HOME}/local/GridFTP/globus
export GLOBUS_LOCATION
PATH=${GLOBUS_LOCATION}/bin:${PATH}
export PATH

You can now log out and back in and make sure globus-url-copy works.

globus-url-copy -vb -p 8 -tcp-bs 10M file:${HOME}/local/GridFTP/globus/gt5.0.4-all-source-installer/Makefile.in sshftp://gridftp-pdsf/eliza16/dayabay/data/receiving/junk
Personal tools