sudo cb-psc-install/install.sh [-p 'proxyhost:proxyport'] '<COMPANY_CODE>'
Example install command:
sudo cb-psc-install/install.sh -p 'MyProxyHostName:8080' 'AB123456789CD'Note:
For sensors versions prior to 2.11.1, follow the steps below:
sudo ./install.sh
echo 'BackendServer=https://dev-prod0x.conferdeploy.net' | sudo tee -a /var/opt/carbonblack/psc/cfg.ini echo 'ProxyServer=IP_Address:Port' | sudo tee -a /var/opt/carbonblack/psc/cfg.ini
sudo /opt/carbonblack/psc/bin/cbagentd -d 'company_registration_code'
cat /var/opt/carbonblack/psc/cfg.iniThe cfg.ini file should look something similar to:
[customer] PemFile=/var/opt/carbonblack/psc/cloud.pem InstallPackageType=xxx BackendServer=https://dev-prod0x.conferdeploy.net ProxyServer=xxx.xxx.xxx.xxx:3128 CompanyCode=xxxxxxx
service cbagentd startOR for All distros except CentOS 6
systemctl start cbagentdUpon registration the DeviceId value in cfg.ini should be populated