30 | | }}} |
31 | | |
32 | | The first step is to load into Omni your account information. Omni uses a configuration file, and there is a script that will automatically generate the file with |
33 | | some default options and place it in the default place of `~/.gcf/`. Follow [http://trac.gpolab.bbn.com/gcf/wiki/OmniConfigure/Automatic these instructions] |
34 | | to configure |
35 | | |
36 | | |
37 | | Follow |
38 | | these steps: |
39 | | i. In the web browser login to `www.pgeni.gpolab.bbn.com` using the information |
40 | | in the paper slip |
41 | | i. On the menu on the left, press `Download your cert` |
42 | | [[Image(Tutorials/Graphics:download_cert.png)]] |
43 | | i. Select the option about downloading as a pem file. |
44 | | i. Press '''`Ctrl-s`''' to save this page. Type `~/.ssl/geni_cert.pem`, if file already exists replace it. |
45 | | [[Image(Tutorials/Graphics:save_cert.png, 40%)]] |
46 | | i. In the terminal type: |
47 | | {{{ |
48 | | omni-configure.py |
49 | | }}} |
50 | | This should configure your Omni, with your downloaded certificate and create an ssh key pair for logging in to nodes. |
51 | | |
52 | | '''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. |
53 | | |
54 | | The output should look like: |
55 | | {{{ |
56 | | geni@geni-vm:~$ omni-configure.py |
57 | | {'framework': 'pg', 'configfile': '~/.gcf/omni_config', 'plkey': '~/.ssh/geni_pl_key', 'cert': '~/.ssl/geni_cert', 'verbose': False} |
58 | | INFO:omniconfig:Using configfile: /home/geni/.gcf/omni_config |
59 | | INFO:omniconfig:Using certfile /home/geni/.ssl/geni_cert.pem |
60 | | INFO:omniconfig: |
61 | | |
62 | | CREATING SSH KEYPAIR |
63 | | INFO:omniconfig:Private key stored at: /home/geni/.ssh/geni_key |
64 | | Enter passphrase: |
65 | | INFO:omniconfig:Public key stored at: /home/geni/.ssh/geni_key.pub |
66 | | INFO:omniconfig:Added to /home/geni/.ssh/config this line: |
67 | | 'IdentityFile /home/geni/.ssh/geni_key |
68 | | ' |
69 | | INFO:omniconfig:Wrote omni configuration file at: /home/geni/.gcf/omni_config |