Installing MyProxy with VOMS support

This description, based on the official MyProxy instructions, is targeted for the non-expert user and hence provides more details on the individual steps.

First, the tool pacman needs to be installed, which is used to install specific packages of VDT.

wget http://vdt.cs.wisc.edu/software/pacman/3.20/pacman-3.20.tar.gz
tar zxvf pacman-3.20.tar.gz
source setup.sh

Second, install the VOMS package via pacman.

mkdir /opt/vdt
cd /opt/vdt/
pacman -get http://vdt.cs.wisc.edu/vdt_181_cache:VOMS

The third step is to install necessary parts of the Globus Toolkit for MyProxy. One option is to follow these initial setup steps and these MyProxy-globus steps.

mkdir /opt/globus-4.0.5
chown globus:globus /opt/globus-4.0.5
su - globus
export GLOBUS_LOCATION=/opt/globus-4.0.5
./configure --prefix=$GLOBUS_LOCATION
make gsi-myproxy

In case the installation of Globus is not possible, the necessary parts can also be installed via VDT:

pacman -get http://vdt.cs.wisc.edu/vdt_181_cache:Globus-Base-SDK

After the Globus installation, depending on the actual installation path, the following environment variables should be set:

export GLOBUS_LOCATION=/opt/vdt/globus
export GLITE_LOCATION=/opt/vdt/glite
source /opt/vdt/setup.sh
chown globus:globus /opt/vdt/globus

Before installing MyProxy itself from source, some VOMS libraries need to be built beforehand. This can be done by building them directly from source. Note that the current up-to-date version may differ:

wget https://glite.web.cern.ch/glite/packages/R3.0/R20060502/src/glite-security-voms-1.6.16_src.tar.gz
tar zxf glite-security-voms-1.6.16_src.tar.gz
cd glite-security-voms-1.6.16

./configure  --with-globus-prefix=$GLOBUS_LOCATION --with-globus-flavor=gcc32dbg
make
make install

In some cases the two steps make and make install fail with a 'docbook2man not found' error, but as long as the compile step was successful and the libraries got installed into $GLITE_LOCATION/lib, these errors are not a problem.

Finally, installing MyProxy with VOMS support. Note that the location of the VOMS libraries, as created in the previous step, needs to be a) added to LD_LIBRARY_PATH and b) used for the --with-voms option of the configure step.

export LD_LIBRARY_PATH=$GLITE_LOCATION/lib:$LD_LIBRARY_PATH

cd ../myproxy-4.1
./configure --with-flavor=gcc32dbg --with-voms=/opt/glite
make install

After successful installation, checking the version of myproxy-server should display the VOMS support:

myproxy-server -V
'myproxy-server version MYPROXYv2 (v4.1 10 Sep 2007 PAM VOMS OCSP)'

For configuration of MyProxy, follow these configuration steps.

This guide was originally authored by Florian Scharinger, EPCC, The University of Edinburgh for EGEE-NPM.

-- JohnWhite - 01 Apr 2008

Edit | Attach | Watch | Print version | History: r5 < r4 < r3 < r2 < r1 | Backlinks | Raw View | WYSIWYG | More topic actions
Topic revision: r5 - 2008-04-24 - JohnWhite
 
    • Cern Search Icon Cern Search
    • TWiki Search Icon TWiki Search
    • Google Search Icon Google Search

    EGEE All webs login

This site is powered by the TWiki collaboration platform Powered by Perl This site is powered by the TWiki collaboration platformCopyright & by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki? Ask a support question or Send feedback