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
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  
Line 28: Line 28:
  
  
 +
== 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"
Gebruik een $HOME/.edg/vomses
+
"gin.ggf.org" "kuiken.nikhef.nl" "15050" "/O=dutchgrid/O=hosts/OU=nikhef.nl/CN=kuiken.nikhef.nl" "gin.ggf.org"
 
 
En gebruik DYLD_LIBRARY_PATH naar /opt/glite/lib en /opt/globus/lib. Je hebt
 
ook expat nodig, dat is te vinden via ports (bij mij /opt/local/lib).
 

Revision as of 12:04, 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"