Difference between revisions of "Using voms-proxy-init on an OSX (10.4 or higher) system"

From PDP/Grid Wiki
Jump to navigationJump to search
 
 
(7 intermediate revisions by the same user not shown)
Line 1: Line 1:
This is a quick and dirty HOWTO to get voms-proxy-init and voms-proxy-info working on your Mac. This has been tested on OSX Tiger (10.4) and Snow Leopard (10.6).
+
This is a quick and dirty HOWTO to get voms-proxy-init and voms-proxy-info working on your Mac. This has been tested on '''OSX Tiger (10.4)''' and '''Snow Leopard (10.6)'''.
  
 
Download the following  
 
Download the following  
http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-client-1.8.8-2p1-x86_macos_10.4.tar.gz
+
http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-client-1.8.8-2p1-x86_macos_10.4.tar.gz
http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-essentials-1.8.8-2p1-x86_macos_10.4.tar.gz
+
http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-essentials-1.8.8-2p1-x86_macos_10.4.tar.gz
http://vdt.cs.wisc.edu/software//globus/4.0.8_VDT-1.10.1/vdt_globus_essentials-VDT1.10.1-x86_macos_10.4.tar.gz
+
http://vdt.cs.wisc.edu/software//globus/4.0.8_VDT-1.10.1/vdt_globus_essentials-VDT1.10.1-x86_macos_10.4.tar.gz
  
 
Install these packages in the regular /opt/globus and /opt/glite directories. Check with '''tar tzf <file>''' to be sure. Usually they are easily unpackable from the root directory.
 
Install these packages in the regular /opt/globus and /opt/glite directories. Check with '''tar tzf <file>''' to be sure. Usually they are easily unpackable from the root directory.
Line 13: Line 13:
  
 
To get the VOMS tools working you will need to add Globus, gLite and Mac Ports libraries to the active library path.
 
To get the VOMS tools working you will need to add Globus, gLite and Mac Ports libraries to the active library path.
 +
  
 
== The interesting snippets from my .bashrc: ==
 
== The interesting snippets from my .bashrc: ==
  
export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib"
+
export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib"
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
+
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
+
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
 +
 
 +
PATH=$PATH:/opt/globus/bin
 +
PATH=$PATH:/opt/glite/bin
 +
export PATH
 +
 
 +
export VOMS_USERCONF=/Users/okoeroo/.glite/vomses
 +
export VOMS_LOCATION=/Users/okoeroo/.glite/vomses
 +
 
 +
 
 +
== My vomses file (usually at $HOME/.glite/vomses or $HOME/.edg/vomses) ==
 +
 
 +
"dteam" "voms.cern.ch" "15004" "/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch" "dteam"
 +
"EGEE" "kuiken.nikhef.nl" "15001" "/O=dutchgrid/O=hosts/OU=nikhef.nl/CN=kuiken.nikhef.nl" "EGEE"
 +
"gin.ggf.org" "kuiken.nikhef.nl" "15050" "/O=dutchgrid/O=hosts/OU=nikhef.nl/CN=kuiken.nikhef.nl" "gin.ggf.org"
 +
 
  
PATH=$PATH:/opt/globus/bin
+
== To execute ==
PATH=$PATH:/opt/glite/bin
 
export PATH
 
  
export VOMS_USERCONF=/Users/okoeroo/.glite/vomses
+
voms-proxy-init -voms dteam
export VOMS_LOCATION=/Users/okoeroo/.glite/vomses
+
voms-proxy-info -all
  
  
 +
== Other platforms ==
  
 +
You can also traverse the URL of the packages mentioned above and perform a similar task to get voms-proxy-init working on OpenSUSE, Ubuntu or any other supported operating system and/or Linux distribution of your preference.
  
  
Gebruik een $HOME/.edg/vomses
+
== For free... ==
  
En gebruik DYLD_LIBRARY_PATH naar /opt/glite/lib en /opt/globus/lib. Je hebt
+
In the /opt/globus/bin you'll also get extra tools through the required Globus packages, like globus-url-copy and others.
ook expat nodig, dat is te vinden via ports (bij mij /opt/local/lib).
 

Latest revision as of 12:11, 30 September 2009

This is a quick and dirty HOWTO to get voms-proxy-init and voms-proxy-info working on your Mac. This has been tested on OSX Tiger (10.4) and Snow Leopard (10.6).

Download the following

http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-client-1.8.8-2p1-x86_macos_10.4.tar.gz
http://vdt.cs.wisc.edu/software//voms/1.8.8-2p1/voms-essentials-1.8.8-2p1-x86_macos_10.4.tar.gz
http://vdt.cs.wisc.edu/software//globus/4.0.8_VDT-1.10.1/vdt_globus_essentials-VDT1.10.1-x86_macos_10.4.tar.gz

Install these packages in the regular /opt/globus and /opt/glite directories. Check with tar tzf <file> to be sure. Usually they are easily unpackable from the root directory.

You will need to install expat. This is something you can get through the Mac Ports project: http://www.macports.org/

The Mac Ports will install usually in /opt/local.

To get the VOMS tools working you will need to add Globus, gLite and Mac Ports libraries to the active library path.


The interesting snippets from my .bashrc:

export LD_LIBRARY_PATH="/opt/local/lib:/opt/glite/lib:/opt/globus/lib"
export DYLD_LIBRARY_PATH=$LD_LIBRARY_PATH
export DYLD_FALLBACK_LIBRARY_PATH=$LD_LIBRARY_PATH
PATH=$PATH:/opt/globus/bin
PATH=$PATH:/opt/glite/bin
export PATH
export VOMS_USERCONF=/Users/okoeroo/.glite/vomses
export VOMS_LOCATION=/Users/okoeroo/.glite/vomses


My vomses file (usually at $HOME/.glite/vomses or $HOME/.edg/vomses)

"dteam" "voms.cern.ch" "15004" "/DC=ch/DC=cern/OU=computers/CN=voms.cern.ch" "dteam"
"EGEE" "kuiken.nikhef.nl" "15001" "/O=dutchgrid/O=hosts/OU=nikhef.nl/CN=kuiken.nikhef.nl" "EGEE"
"gin.ggf.org" "kuiken.nikhef.nl" "15050" "/O=dutchgrid/O=hosts/OU=nikhef.nl/CN=kuiken.nikhef.nl" "gin.ggf.org"


To execute

voms-proxy-init -voms dteam
voms-proxy-info -all


Other platforms

You can also traverse the URL of the packages mentioned above and perform a similar task to get voms-proxy-init working on OpenSUSE, Ubuntu or any other supported operating system and/or Linux distribution of your preference.


For free...

In the /opt/globus/bin you'll also get extra tools through the required Globus packages, like globus-url-copy and others.