Changes between Version 4 and Version 5 of GENIExperimenter/Tutorials/ECE375/Setup


Ignore:
Timestamp:
08/02/13 16:05:21 (11 years ago)
Author:
epittore@bbn.com
Comment:

--

Legend:

Unmodified
Added
Removed
Modified
  • GENIExperimenter/Tutorials/ECE375/Setup

    v4 v5  
    1313 2. Install the following VM image: http://www.planet-lab.org/GEC16/GEC16-Tutorials-Final.ova
    1414 3. The account for the VM is “geni” and the account’s PW is “gec16user”.
     15
     16
     17'''Credentials:'''
     18 1. Open browser in VM and goto:
     19 https://panther.gpolab.bbn.com/
     20 2. Log in using your UMass OIT credentials.
     21 3. When you are logged in, select “Profiles” from the top, right menu.
     22 4. Next, click on “Generate SSH keypair” and enter your passphrase. Make sure
     23you remember that passphrase.
     24 5. On the next page click on “Download Private Key” and save key to ~/.ssh locally.
     25 6. In the browser, still on the same page under “My Stuff, Configure Omni” click on the link “create an SSL certificate”.
     26 7. Download the certificate to ~/.ssl locally.
     27 8. Make sure the files that hold your secret keys are adequately protected. To
     28make sure that’s the case you can execute the following commands:
     29{{{
     30chmod 0600 .ssh/id_geni_ssh_rsa
     31chmod 0600 .ssl/geni-mzink.pem
     32}}}
     33(remember that your .pem file is named
     34differently)
     35 9. Generate a you public ssh key by executing the following command:
     36{{{
     37 ssh-keygen -y -f .ssh/id_geni_ssh_rsa > .ssh/id_geni_ssh_rsa.pub
     38}}}
     39 10. Open a terminal and execute the following command:
     40{{{
     41 curl http://emmy9.casa.umass.edu/create_jks.py -o create_jks.py
     42}}}
     43 11. Change it’s access rights by executing: chmod a+x create_jks.py
     44 12. Execute command:
     45{{{
     46 python create_jks.py -c ~/.ssl/geni-mzink.pem -s ~/.ssl/mzink.jks -k ~/.ssl/geni-mzink.pem
     47}}}
     48 Note: {{{~/.ssl/geni-mzink.pem}}} should be replace by the path to your pem file and {{{~/.ssl/geni-mzink.pem}}} should be replaced by the name under which you would like to store your jks file.
     49 13. Edit the 3 last lines in the .flukes.properties file:
     50{{{
     51user.keystore=/home/geni/.ssl/mzink.jks ssh.key=/home/geni/.ssh/id_geni_ssh_rsa ssh.pubkey=/home/geni/.ssh/id_geni_ssh_rsa.pub
     52}}}
     53by typing
     54{{{
     55nano .flukes.properties
     56}}}
     57 Note: Make sure the paths to your jave keystore and the files hold cert and private key are co rrect!
     58Now execute the following command do download the topology description for our virtual network:
     59{{{
     60curl http://emmy9.casa.umass.edu/gec14.rdf -o gec14.rdf
     61}}}