CentOS 7
Sponsored Link

Zarafa : Install
2015/07/15
 
Install Zarafa which is an open-source groupware application.
[1]
[2]
[3]
[4]
[5] Create user and database for Zarafa on MariaDB.
[[email protected] ~]#
mysql -u root -p

Enter password:
Welcome to the MariaDB monitor.  Commands end with ; or \g.
Your MariaDB connection id is 10
Server version: 5.5.41-MariaDB MariaDB Server

Copyright (c) 2000, 2014, Oracle, MariaDB Corporation Ab and others.

Type 'help;' or '\h' for help. Type '\c' to clear the current input statement.

MariaDB [(none)]>
create database zarafa;

Query OK, 1 row affected (0.00 sec)
MariaDB [(none)]>
grant all privileges on zarafa.* to [email protected]'localhost' identified by 'password';

Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>
flush privileges;

Query OK, 0 rows affected (0.00 sec)
MariaDB [(none)]>
exit

Bye
[6] Install Zarafa.
# install from EPEL

[[email protected] ~]#
yum --enablerepo=epel -y install zarafa zarafa-webaccess
[[email protected] ~]#
vi /etc/zarafa/server.cfg
# line 118: change user for MariaDB

mysql_user =
zarafa
# line 121: user password above for MariaDB

mysql_password =
password
[[email protected] ~]#
vi /etc/postfix/main.cf
# line 449: add

mailbox_command = /usr/bin/zarafa-dagent "$USER"
[[email protected] ~]#
systemctl restart postfix

[[email protected] ~]#
for service in server dagent gateway ical monitor spooler
do
    systemctl start zarafa-$service
    chkconfig zarafa-$service on
done
[7] Add users to use Zarafa.
# for example, add "redhat" user

[[email protected] ~]#
useradd redhat

[[email protected] ~]#
zarafa-admin -c redhat -p password -e [email protected] -f "redhat"

User created.
# update user info for "redhat" (the example is to update user's fulname)

[[email protected] ~]#
zarafa-admin -u redhat -f "RedHat Linux"

User information updated.
# delete "redhat" user

[[email protected] ~]#
zarafa-admin -d redhat

User deleted.
# for other options, refer to Help
# zarafa-admin --help