How To install onlyoffice on ZCS 10.0.x
Follow the below steps to install onlyoffice module on zimbra server.
Step 1 : Run the below command as root to enable onlyoffice repo
# cat > /etc/yum.repos.d/zimbra-onlyoffice.repo <<EOF
[zimbra-onlyoffice]
name=Zimbra Onlyoffice RPM Repository
baseurl=https://repo.zimbra.com/rpm/onlyoffice/rhel7
gpgcheck=1
enabled=1
EOF
Step 2 : Install the only office packages
#yum check-update
#yum install zimbra-onlyoffice
#yum install zimbra-rabbitmq-server
#yum install zimbra-onlyoffice-patch
#/opt/zimbra/onlyoffice/bin/zmonlyofficeconfig new
Step 3 : Run the below command as zimbra user to enable onlyoffice service
$su - zimbra
$zmprov ms `zmhostname` +zimbraServiceInstalled onlyoffice +zimbraServiceEnabled onlyoffice
$zmprov fc -a all
$zmcontrol restart
Step 4 : Configure zimbraDocumentServerHost by running below command
$zmprov mcf zimbraDocumentServerHost zmmbox02.diademtech.in
Step 5 : Check the document server is configured or not
$zmprov -l gacf zimbraDocumentServerHost
.png)
Step 6 : Additionally zimbraFeatureViewInHtmlEnabled and zimbraFeatureBriefcasesEnabled attributes are enabled for the user.
$zmprov -l ga [email protected] zimbraFeatureViewInHtmlEnabled zimbraFeatureBriefcasesEnabled
Step 7 : Check onlyoffice db is created after installing onlyoffice
$mysql -e "show databases" | grep -i onlyoffice;
If not showing onlyoffice database follow the belwo steps to create onlyoffice database manually
Step 1 :
$source ~/bin/zmshutil; zmsetvars
$/opt/zimbra/common/bin/mysql -S /opt/zimbra/data/tmp/mysql/mysql.sock -u root --password=$mysql_root_password < /opt/zimbra/onlyoffice/bin/createdb.sql
$mysql -e "show databases" | grep -i onlyoffice;
.png)
$zmcontrol restart