Corente Setup on Paas OCI instances

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

 

 

Advertisements

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out /  Change )

Google photo

You are commenting using your Google account. Log Out /  Change )

Twitter picture

You are commenting using your Twitter account. Log Out /  Change )

Facebook photo

You are commenting using your Facebook account. Log Out /  Change )

Connecting to %s