CentOS 7
Sponsored Link

Zarafa : Install2015/07/15

 
Install Zarafa which is an open-source groupware application.
[1]
[2]
[3]
[4]
[5] Create user and database for Zarafa on MariaDB.
[root@dlp ~]#
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 zarafa@'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

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

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

mysql_password =
password
[root@dlp ~]#
vi /etc/postfix/main.cf
# line 449: add

mailbox_command = /usr/bin/zarafa-dagent "$USER"
[root@dlp ~]#
systemctl restart postfix

[root@dlp ~]#
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

[root@dlp ~]#
useradd redhat

[root@dlp ~]#
zarafa-admin -c redhat -p password -e redhat@dlp.srv.world -f "redhat"

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

[root@dlp ~]#
zarafa-admin -u redhat -f "RedHat Linux"

User information updated.
# delete "redhat" user

[root@dlp ~]#
zarafa-admin -d redhat

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