Page tree

Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Note

Please be aware that special characters in the username or password like '!' can cause issues

To add the Kopano Core repository repositories for Redhat Enterprise Linux 6 with SCL rh-php56 installed 

Code Block
themeMidnight
title/etc/yum.repos.d/kopano.repo
[Kopano-Core]
name=Builds of final releases (RHEL_76)
type=rpm-md
baseurl=https://<username>:<password>@download.kopano.io/supported/core:/final/RHEL_6_PHP56PHP_56/
gpgcheck=0
gpgkey=
enabled=1
 
[Kopano-webapp]                                                                                                         
name=Builds of final releases (RHEL_6)                                                                                      
type=rpm-md                                                                                                             
baseurl=https://<username>:<password>@download.kopano.io/supported/webapp:/final/RHEL_6_PHP_56/
gpgcheck=0
gpgkey=
enabled=1

and for Redhat Enterprise Linux 7 with SCL rh-php56 installed 

Code Block
themeMidnight
title/etc/yum.repos.d/kopano.repo
[Kopano-Core]
name=Builds of final releases (RHEL_76)
type=rpm-md
baseurl=https://<username>:<password>@download.kopano.io/supported/core:/final/RHEL_7_PHP56PHP_56/
gpgcheck=0
gpgkey=
enabled=1
 
[Kopano-webapp]                                                                                                         
name=Builds of final releases (RHEL_7)                                                                                      
type=rpm-md                                                                                                             
baseurl=https://<username>:<password>@download.kopano.io/supported/webapp:/final/RHEL_7_PHP_56/
gpgcheck=0
gpgkey=
enabled=1

 

Installing the packages

You can install kopano*, manually pick the packages you want to install, or install the meta package 'kopano-server-packages'. The meta package will install:
 

  • kopano-backup
  • kopano-dagent
  • kopano-gateway
  • kopano-ical
  • kopano-monitor
  • kopano-presence
  • kopano-search
  • kopano-server
  • kopano-spooler
  • kopano-utils

 

Code Block
$ sudo yum install kopano-server-packages kopano-webapp	

 

Create Test user

Code Block
# kopano-admin -c jdoe -p jdoe -e john@doe.com -f "John Doe"
# kopano-admin -l
User list for Default(2):
	Username	Fullname	Homeserver	
	--------------------------------------------
	SYSTEM		SYSTEM		Zarafa	
	jdoe		John Doe

Start Apache 2.4

Code Block
# chkconfig httpd24-httpd on
# /etc/init.d/httpd24-httpd start

 

Copy zarafa-webapp config to apache 2.4

Code Block
# cp /etc/httpd/conf.d/zarafa-webapp.conf /opt/rh/httpd24/root/etc/httpd/conf.d/

Restart apache

Code Block
# /etc/init.d/httpd24-httpd restart

 

ergrehtrtyjmtym,

 

 

Fix the scripts (workaround!)

Code Block
# sed -i -s "s#/usr/bin/env php#/opt/rh/rh-php56/root/bin/php#" /usr/sbin/zarafa-mr-process 
# sed -i -s "s#/usr/bin/env php#/opt/rh/rh-php56/root/bin/php#" /usr/sbin/zarafa-mr-accept 

 

Scenario B

Force remove --nodops of php-mapi since webapp depends on it and we do not want to remove it as well

Code Block
# rpm -e php-mapi --nodeps

 

Make the rh-php the default on the command line

Code Block
# scl enable rh-php56 bash
Code Block
# /usr/bin/env php -v
PHP 5.6.5 (cli) (built: Oct  5 2015 21:26:13) 
Copyright (c) 1997-2014 The PHP Group
Zend Engine v2.6.0, Copyright (c) 1998-2014 Zend Technologies