lunedì 29 ottobre 2012

SET UP PROXY - SHELL

SET UP PROXY - SHELL


to set up the proxy from the shell you have to exectue

$export http_proxy="<proxyadress>"

example:
 $export http_proxy="http:192.168.122.4:3128"

Rember that this variable is temporary and it is bound only to the user who executed the line. If you want to use as sudo user you have to execute the same command as sudoer (sudo export...).

Ubuntu 12.04 and contextualization over OpenNebula

Ubuntu 12.04 and contextualization over OpenNebula

There are two possibilities:


  1. download the Deb package from: here. Then just execute: 
    $sudo dpkg -i one-context_1.0.1_all.deb



  2. copy the vmcontext.sh script inside the image and set up the init. If you decide to use this approach, pay attention to the Ubuntu init process. It doesn't use the normal init that is composed by sequential steps, but it uses upstart that lunches parallel init threads