OCI-c: Corente Setup on iaas compute

Quick snippet for corente setup, the Corente gateway server is supposed to be running, and both files oc_config_corente-tunnel and corente-tunnel-args, properly configured, are supposed to have been staged on the VMs, under the OPC account:

sudo cp oc-config-corente-tunnel /usr/bin
sudo chmod 550 /usr/bin/oc-config-corente-tunnel 
sudo yum install bind-utils
sudo mkdir /var/log/opc-compute
sudo chmod +x /etc/rc.d/rc.local
sudo vi /etc/rc.d/rc.local

add the following line to the rc.local file

bash /usr/bin/oc-config-corente-tunnel

Implement corente by restarting the cloud service, rebooting the VM, or by running

sudo bash /usr/bin/oc-config-corente-tunnel