| 81 | Installed the foam package and initialize the FOAM database: |
| 82 | {{{ |
| 83 | $ sudo apt-get update |
| 84 | $ sudo apt-get install foam |
| 85 | $ sudo -u www-data foamctl init-db |
| 86 | Certificates Directory [/opt/foam/etc/gcf-ca-certs]: |
| 87 | Site Tag (e.g. Stanford, BBN, etc.): BBN |
| 88 | FlowVisor Hostname: mallorea.gpolab.bbn.com |
| 89 | FlowVisor XMLRPC Port [8080]: |
| 90 | FlowVisor JSON RPC Port [8081]: |
| 91 | fvadmin user password: |
| 92 | }}} |
| 93 | Set up the FOAM administrative account password: |
| 94 | {{{ |
| 95 | sudo foamctl set-password |
| 96 | }}} |
| 97 | Removed the default nginx site: |
| 98 | {{{ |
| 99 | sudo rm /etc/nginx/sites-enabled/default |
| 100 | }}} |
| 101 | Installed a trusted root certificate from pgeni.gpolab.bbn.com, bundled the certificate and started the FOAM services: |
| 102 | {{{ |
| 103 | $ sudo wget http://www.pgeni.gpolab.bbn.com/ca-cert/pgeni.gpolab.bbn.com.pem -O /opt/foam/etc/gcf-ca-certs/pgeni.gpolab.bbn.com.pem |
| 104 | $ sudo foamctl bundle-certs |
| 105 | $ sudo service nginx start |
| 106 | $ sudo service foam start |
| 107 | }}} |
| 108 | |
| 109 | }}} |