Changes between Version 13 and Version 14 of installation_GridFTP

Show
Ignore:
Timestamp:
05/20/11 09:04:13 (13 years ago)
Author:
bartek
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • installation_GridFTP

    v13 v14  
    3333#!div style="font-size: 90%" 
    3434{{{#!sh 
    35   ./configure --prefix=${GLOBUS_LOCATION} 
     35./configure --prefix=${GLOBUS_LOCATION} 
    3636}}} 
    3737}}} 
     
    4040#!div style="font-size: 90%" 
    4141{{{#!sh 
    42   ./configure --disable-system-openssl --prefix=${GLOBUS_LOCATION} 
     42./configure --disable-system-openssl --prefix=${GLOBUS_LOCATION} 
    4343}}} 
    4444}}} 
     
    4747#!div style="font-size: 90%" 
    4848{{{#!sh 
    49   make gridftp  
    50   make install 
     49make gridftp  
     50make install 
    5151}}} 
    5252}}} 
     
    5555#!div style="font-size: 90%" 
    5656{{{#!sh 
    57   make gridftp 2>&1 | tee build.log 
    58   make install 
     57make gridftp 2>&1 | tee build.log 
     58make install 
    5959}}} 
    6060}}} 
     
    6868#!div style="font-size: 90%" 
    6969{{{#!sh 
    70   bogdanl@cress ~ $ su - 
    71   cress ~ # useradd -m globus  
    72   cress ~ # mkdir /opt/globus  
    73   cress ~ # chown globus:users /opt/globus 
    74   cress ~ # su - globus 
    75   globus@cress ~ $ wget http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 
    76   globus@cress ~ $ tar xjf gt4.2.1-all-source-installer.tar.bz2 
    77   globus@cress ~ $ cd gt4.2.1-all-source-installer 
    78   globus@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
    79   globus@cress ~/gt4.2.1-all-source-installer $ ./configure --prefix=${GLOBUS_LOCATION} \ 
    80   globus@cress ~/gt4.2.1-all-source-installer $ make gridftp 
    81   cd gpt && OBJECT_MODE=32 ./build_gpt 
    82   ... 
    83   Your build completed successfully.  Please run make install. 
    84   globus@cress ~/gt4.2.1-all-source-installer $ make install 
     70bogdanl@cress ~ $ su - 
     71cress ~ # useradd -m globus  
     72cress ~ # mkdir /opt/globus  
     73cress ~ # chown globus:users /opt/globus 
     74cress ~ # su - globus 
     75globus@cress ~ $ wget http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 
     76globus@cress ~ $ tar xjf gt4.2.1-all-source-installer.tar.bz2 
     77globus@cress ~ $ cd gt4.2.1-all-source-installer 
     78globus@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
     79globus@cress ~/gt4.2.1-all-source-installer $ ./configure --prefix=${GLOBUS_LOCATION} \ 
     80globus@cress ~/gt4.2.1-all-source-installer $ make gridftp 
     81cd gpt && OBJECT_MODE=32 ./build_gpt 
     82... 
     83Your build completed successfully.  Please run make install. 
     84globus@cress ~/gt4.2.1-all-source-installer $ make install 
    8585}}} 
    8686}}} 
     
    105105#!div style="font-size: 90%" 
    106106{{{#!sh 
    107   openssl x509 -hash -noout -in ca_certificate 
     107openssl x509 -hash -noout -in ca_certificate 
    108108}}} 
    109109}}} 
     
    112112#!div style="font-size: 90%" 
    113113{{{#!default 
    114   access_id_CA X509 'CA Distinguished Name' 
    115   pos_rights globus CA:sign 
    116   cond_subjects globus '"Name Pattern1" "Name Pattern2" ...' 
     114access_id_CA X509 'CA Distinguished Name' 
     115pos_rights globus CA:sign 
     116cond_subjects globus '"Name Pattern1" "Name Pattern2" ...' 
    117117}}} 
    118118}}} 
     
    121121#!div style="font-size: 90%" 
    122122{{{#!sh 
    123   openssl x509 -subject -noout -in cert_hash.0 
     123openssl x509 -subject -noout -in cert_hash.0 
    124124}}} 
    125125}}} 
     
    128128#!div style="font-size: 90%" 
    129129{{{#!default 
    130   "/C=PL/O=GRID/CN=Polish Grid CA" -> '"/C=PL/O=GRID/*"' 
     130"/C=PL/O=GRID/CN=Polish Grid CA" -> '"/C=PL/O=GRID/*"' 
    131131}}} 
    132132}}} 
     
    174174#!div style="font-size: 90%" 
    175175{{{#!default 
    176   gsiftp          2811/tcp               # GridFTP (Port 2811 is the IANA registered GridFTP port)  
     176gsiftp          2811/tcp               # GridFTP (Port 2811 is the IANA registered GridFTP port)  
    177177}}} 
    178178}}} 
     
    182182#!div style="font-size: 90%" 
    183183{{{#!default 
    184   service gsiftp 
    185   { 
    186         instances            = 100 
    187         cps                  = 50 10 
    188         per_source           = 50 
    189         socket_type          = stream 
    190         wait                 = no 
    191         user                 = root 
    192         env                  = LD_LIBRARY_PATH=/opt/globus/lib 
    193         env                  += GLOBUS_LOCATION=/opt/globus 
    194         env                  += GLOBUS_TCP_PORT_RANGE=9000,9999 
    195         server               = /opt/globus/sbin/globus-gridftp-server 
    196         server_args          =  -i -c /opt/globus/etc/gridftp.conf 
    197         log_on_success       += DURATION 
    198         log_on_failure       += 
    199         nice                 = 10 
    200         disable              = no 
    201   } 
     184service gsiftp 
     185{ 
     186      instances            = 100 
     187      cps                  = 50 10 
     188      per_source           = 50 
     189      socket_type          = stream 
     190      wait                 = no 
     191      user                 = root 
     192      env                  = LD_LIBRARY_PATH=/opt/globus/lib 
     193      env                  += GLOBUS_LOCATION=/opt/globus 
     194      env                  += GLOBUS_TCP_PORT_RANGE=9000,9999 
     195      server               = /opt/globus/sbin/globus-gridftp-server 
     196      server_args          =  -i -c /opt/globus/etc/gridftp.conf 
     197      log_on_success       += DURATION 
     198      log_on_failure       += 
     199      nice                 = 10 
     200      disable              = no 
     201} 
    202202}}} 
    203203}}} 
     
    208208#!div style="font-size: 90%" 
    209209{{{#!sh  
    210   log_level ALL (or 'EERROR', 'WARN', 'INFO', 'DUMP') 
    211   log_module stdio 
    212   log_single /var/log/gridftp 
     210log_level ALL (or 'EERROR', 'WARN', 'INFO', 'DUMP') 
     211log_module stdio 
     212log_single /var/log/gridftp 
    213213}}} 
    214214}}} 
     
    218218#!div style="font-size: 90%" 
    219219{{{#!sh 
    220  # /etc/init.d/xinetd restart 
     220/etc/init.d/xinetd restart 
    221221}}} 
    222222}}} 
     
    228228#!div style="font-size: 90%" 
    229229{{{#!sh 
    230   export GLOBUS_LOCATION=/opt/globus/gt421 
    231   . $GLOBUS_LOCATION/etc/globus-user-env.sh  
     230export GLOBUS_LOCATION=/opt/globus/gt421 
     231. $GLOBUS_LOCATION/etc/globus-user-env.sh  
    232232}}} 
    233233}}} 
     
    246246#!div style="font-size: 90%" 
    247247{{{#!sh 
    248  $ grid-proxy-init  
    249   Your identity: /C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak 
    250   Enter GRID pass phrase for this identity: 
    251   Creating proxy ....................................................... Done 
    252   Your proxy is valid until: Tue Apr 29 21:02:33 2008 
     248grid-proxy-init  
     249Your identity: /C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak 
     250Enter GRID pass phrase for this identity: 
     251Creating proxy ....................................................... Done 
     252Your proxy is valid until: Tue Apr 29 21:02:33 2008 
    253253}}} 
    254254}}} 
     
    258258#!div style="font-size: 90%" 
    259259{{{#!sh 
    260   "/C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak" bogdanl 
     260"/C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak" bogdanl 
    261261}}} 
    262262}}} 
     
    265265#!div style="font-size: 90%" 
    266266{{{#!sh 
    267   # grid-mapfile-add-entry -dn "/C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak" -ln bogdanl 
     267grid-mapfile-add-entry -dn "/C=PL/O=GRID/O=PSNC/CN=Bogdan Ludwiczak" -ln bogdanl 
    268268}}} 
    269269}}} 
     
    276276#!div style="font-size: 90%" 
    277277{{{#!sh 
    278   $ globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file file:///tmp/file.test 
    279   $ globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file gsiftp://node1.qoscosgrid.man.poznan.pl/~/file2 
    280   $ globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file gsiftp://node2.qoscosgrid.man.poznan.pl/~/file2 
     278globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file file:///tmp/file.test 
     279globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file gsiftp://node1.qoscosgrid.man.poznan.pl/~/file2 
     280globus-url-copy gsiftp://node1.qoscosgrid.man.poznan.pl/~/file gsiftp://node2.qoscosgrid.man.poznan.pl/~/file2 
    281281}}} 
    282282}}} 
     
    287287#!div style="font-size: 90%" 
    288288{{{#!sh   
    289   bogdanl@cress ~ $ su - 
    290   cress ~ # useradd -m globus 
    291   cress ~ # mkdir /opt/globus 
    292   cress ~ # chown globus:users /opt/globus  
     289bogdanl@cress ~ $ su - 
     290cress ~ # useradd -m globus 
     291cress ~ # mkdir /opt/globus 
     292cress ~ # chown globus:users /opt/globus  
    293293}}} 
    294294}}} 
     
    298298#!div style="font-size: 90%" 
    299299{{{#!sh 
    300   cress ~ # su - globus 
     300cress ~ # su - globus 
    301301}}} 
    302302}}} 
     
    306306#!div style="font-size: 90%" 
    307307{{{#!sh 
    308   globus@cress ~ $ wget http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 
    309   globus@cress ~ $ tar xjf gt4.2.1-all-source-installer.tar.bz2  
     308globus@cress ~ $ wget http://www-unix.globus.org/ftppub/gt4/4.2.1/installers/src/gt4.2.1-all-source-installer.tar.bz2 
     309globus@cress ~ $ tar xjf gt4.2.1-all-source-installer.tar.bz2  
    310310}}} 
    311311}}} 
     
    314314#!div style="font-size: 90%" 
    315315{{{#!sh 
    316   globus@cress ~ $ cd gt4.2.1-all-source-installer 
    317   globus@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
    318   globus@cress ~/gt4.2.1-all-source-installer $ ./configure --prefix=${GLOBUS_LOCATION} \ 
    319   globus@cress ~/gt4.2.1-all-source-installer $ make gridftp 
    320   cd gpt && OBJECT_MODE=32 ./build_gpt 
    321   ... 
    322   Your build completed successfully.  Please run make install. 
    323   globus@cress ~/gt4.2.1-all-source-installer $ make install 
     316globus@cress ~ $ cd gt4.2.1-all-source-installer 
     317globus@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
     318globus@cress ~/gt4.2.1-all-source-installer $ ./configure --prefix=${GLOBUS_LOCATION} \ 
     319globus@cress ~/gt4.2.1-all-source-installer $ make gridftp 
     320cd gpt && OBJECT_MODE=32 ./build_gpt 
     321... 
     322Your build completed successfully.  Please run make install. 
     323globus@cress ~/gt4.2.1-all-source-installer $ make install 
    324324}}} 
    325325}}} 
     
    330330#!div style="font-size: 90%" 
    331331{{{#!sh 
    332   bogdanl@cress ~ $ su - 
    333   cress ~ # echo "gsiftp          2811/tcp               # GridFTP" >> /etc/services 
     332bogdanl@cress ~ $ su - 
     333cress ~ # echo "gsiftp          2811/tcp               # GridFTP" >> /etc/services 
    334334}}} 
    335335}}} 
     
    338338#!div style="font-size: 90%" 
    339339{{{#!sh 
    340   cress ~ # cat /etc/xinetd.d/gridftp 
    341   service gsiftp 
    342   { 
    343         instances            = 100 
    344         cps                  = 50 10 
    345         per_source           = 50 
    346         socket_type          = stream 
    347         wait                 = no 
    348         user                 = root 
    349         env                  = LD_LIBRARY_PATH=/opt/globus/lib 
    350         env                  += GLOBUS_LOCATION=/opt/globus 
    351         env                  += GLOBUS_TCP_PORT_RANGE=9000,9999 
    352         server               = /opt/globus/sbin/globus-gridftp-server 
    353         server_args          =  -i -c /opt/globus/etc/gridftp.conf 
    354         log_on_success       += DURATION 
    355         log_on_failure       += 
    356         nice                 = 10 
    357         disable              = no 
    358   } 
     340cress ~ # cat /etc/xinetd.d/gridftp 
     341service gsiftp 
     342{ 
     343      instances            = 100 
     344      cps                  = 50 10 
     345      per_source           = 50 
     346      socket_type          = stream 
     347      wait                 = no 
     348      user                 = root 
     349      env                  = LD_LIBRARY_PATH=/opt/globus/lib 
     350      env                  += GLOBUS_LOCATION=/opt/globus 
     351      env                  += GLOBUS_TCP_PORT_RANGE=9000,9999 
     352      server               = /opt/globus/sbin/globus-gridftp-server 
     353      server_args          =  -i -c /opt/globus/etc/gridftp.conf 
     354      log_on_success       += DURATION 
     355      log_on_failure       += 
     356      nice                 = 10 
     357      disable              = no 
     358} 
    359359}}} 
    360360}}}  
     
    363363#!div style="font-size: 90%" 
    364364{{{#!sh 
    365   cress ~ # /etc/init.d/xinetd restart 
     365cress ~ # /etc/init.d/xinetd restart 
    366366}}} 
    367367}}} 
     
    370370#!div style="font-size: 90%" 
    371371{{{#!sh 
    372   bogdanl@cress ~ $ telnet cress 2811 
    373   Trying 150.254.149.134... 
    374   Connected to cress.man.poznan.pl. 
    375   Escape character is '^]'. 
    376   220 cress.man.poznan.pl GridFTP Server 2.3 (gcc32dbg, 1144436882-63) ready. 
    377   bogdanl@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
    378   bogdanl@cress ~ $ . $GLOBUS_LOCATION/etc/globus-user-env.sh  
    379   bogdanl@cress ~ $ grid-proxy-init 
    380   bogdanl@cress ~ $ globus-url-copy gsiftp://cress/~/file \ 
    381         file:///tmp/file.test 
    382   bogdanl@cress ~ $ globus-url-copy gsiftp://cress/~/file \ 
    383         gsiftp://cress/~/file2 
    384 }}} 
    385 }}} 
     372bogdanl@cress ~ $ telnet cress 2811 
     373Trying 150.254.149.134... 
     374Connected to cress.man.poznan.pl. 
     375Escape character is '^]'. 
     376220 cress.man.poznan.pl GridFTP Server 2.3 (gcc32dbg, 1144436882-63) ready. 
     377bogdanl@cress ~ $ export GLOBUS_LOCATION=/opt/globus/gt421 
     378bogdanl@cress ~ $ . $GLOBUS_LOCATION/etc/globus-user-env.sh  
     379bogdanl@cress ~ $ grid-proxy-init 
     380bogdanl@cress ~ $ globus-url-copy gsiftp://cress/~/file \ 
     381      file:///tmp/file.test 
     382bogdanl@cress ~ $ globus-url-copy gsiftp://cress/~/file \ 
     383      gsiftp://cress/~/file2 
     384}}} 
     385}}}