28 | | . Follow |
29 | | these steps: |
30 | | i. In the web browser login to `www.pgeni.gpolab.bbn.com` using the information |
31 | | in the paper slip |
32 | | i. On the menu on the left, press `Download your cert` |
33 | | [[Image(Tutorials/Graphics:download_cert.png)]] |
34 | | i. Select the option about downloading as a pem file. |
35 | | i. Press '''`Ctrl-s`''' to save this page. Type `~/.ssl/geni_cert.pem`, if file already exists replace it. |
36 | | [[Image(Tutorials/Graphics:save_cert.png, 40%)]] |
37 | | i. In the terminal type: |
| 28 | |
| 29 | The output should look like: |
39 | | omni-configure.py |
40 | | }}} |
41 | | This should configure your Omni, with your downloaded certificate and create an ssh key pair for logging in to nodes. |
42 | | |
43 | | '''Tip:''' When prompted for a passphrase, type the passphrase in your slip. You might be asked for a passphrase multiple times. '''Note:''' If you have taken other tutorials, you might have configured omni with other accounts, select to overwrite existing setting if asked. |
44 | | |
45 | | The output should look like: |
46 | | {{{ |
47 | | geni@geni-vm:~$ omni-configure.py |
48 | | {'framework': 'pg', 'configfile': '~/.gcf/omni_config', 'plkey': '~/.ssh/geni_pl_key', 'cert': '~/.ssl/geni_cert', 'verbose': False} |
| 31 | geni@GEC16-Tutorials:~$ omni-configure.py -f portal |
| 32 | {'portal_bundle': '~/Downloads/omni-bundle.zip', 'verbose': False, 'cert': '~/.ssl/geni_cert', 'framework': 'portal', 'configfile': '~/.gcf/omni_config', 'plkey': '~/.ssh/geni_pl_key', 'prkey': '~/.ssh/geni_key', 'pick_project': False} |
55 | | Enter passphrase: |
56 | | INFO:omniconfig:Public key stored at: /home/geni/.ssh/geni_key.pub |
57 | | INFO:omniconfig:Added to /home/geni/.ssh/config this line: |
58 | | 'IdentityFile /home/geni/.ssh/geni_key |
59 | | ' |
| 36 | INFO:omniconfig:Wrote omni configuration file at: /home/geni/.gcf/omni_configgeni@GEC16-Tutorials:~$ omni-configure.py -f portal |
| 37 | {'portal_bundle': '~/Downloads/omni-bundle.zip', 'verbose': False, 'cert': '~/.ssl/geni_cert', 'framework': 'portal', 'configfile': '~/.gcf/omni_config', 'plkey': '~/.ssh/geni_pl_key', 'prkey': '~/.ssh/geni_key', 'pick_project': False} |
| 38 | INFO:omniconfig:Using configfile: /home/geni/.gcf/omni_config |
| 39 | INFO:omniconfig:Using portal bundle /home/geni/Downloads/omni-bundle.zip |
| 40 | INFO:omniconfig:Private key stored at: /home/geni/.ssh/geni_key |