[Tutorial]Begining ...
 
Notifications
Clear all

[Tutorial]Begining and setup cbpolicyd carbonio

1 Posts
1 Users
0 Reactions
196 Views
(@raystinger)
Joined: 8 months ago
Posts: 37
Topic starter  

configure carbonio cbpolicyd

 

1. enable carbonio policyd service as zextras

 

zmprov ms $(zmhostname) +zimbraServiceInstalled cbpolicyd +zimbraServiceEnabled cbpolicyd

2. enable access control for link to policyd

 

carbonio prov ms `zmhostname` zimbraCBPolicydAccessControlEnabled TRUE

 

3. edit database configuration as root 

 

nano  /opt/zextras/common/share/webui/includes/config.php

 

then make sure your config similiar like this

 

#$DB_DSN="mysql:host=localhost;dbname=cluebringer";
$DB_DSN="sqlite:/opt/zextras/data/cbpolicyd/db/cbpolicyd.sqlitedb";
$DB_USER="root";

 

4. install required apps

 

apt install apache2 libapache2-mod-php php-sqlite3

 

5. as root do

 

sed -i 's/Listen 80/Listen 7780/g' /etc/apache2/ports.conf

 

ln -s /opt/zextras/common/share/webui /var/www/html/

cd /opt/zextras/data/cbpolicyd
chmod -R 777 db/

 

6. finaly open your policyd  

 

http://your IP:7780/webui/

 


   
Quote