|Table of Contents|
This document is intended as a base to quickly install Kopano Server and WebApp. You will need a server with a supported distribution, i.e. Debian 7 and 8, Ubuntu 14.04 and 16.04, RHEL 6 and 7, CentOS 6 and 7 and SLES 12, and install Kopano Server packages, Kopano WebApp, Apache webserver and MySQL server.
To install Kopano on Univention, installation can be done via the marketplace.
Create a file called kopano.list in /etc/apt/sources.list.d/ and add the following.
Take note that the following is an example for Debian 8. Adjust them according to your specific distribution if needed, such as Ubuntu_16.04
Our packages are signed so we need to add the key as well.
Create a file called kopano.repo in /etc/yum.repos.d/kopano.repo and add the following.
Take note that the following is an example for RHEL 7 and CentOS 7. Adjust them according to your specific distribution if needed.
Create a file called kopano.repo in /etc/zypp/repos.d/kopano.repo and add the following.
Take note that the following is an example for SLE 12. Adjust them according to your specific distribution if needed.
Install Kopano Server packages and MySQL
We will now install kopano-server-packages and the MySQL server.
kopano-server-packages is a meta package that has a dependency to the basic kopano-core packages
The following is installed with kopano-server-packages
- (and their dependencies)
Install Kopano and MySQL/MariaDB
First install apt-transport-https
Update the apt database so the Kopano repositories are added
Now create a user in the MySQL server
$ sudo mysql -u root -p mysql> CREATE USER 'kopano'@'localhost' IDENTIFIED BY '<KOPANO-MYSQL-PASSWORD>'; mysql> GRANT ALL PRIVILEGES ON kopano.* TO 'kopano'@'localhost';
Change the MySQL password in the /etc/kopano/server.cfg
# The user under which we connect with MySQL mysql_user = kopano # The password for the user (leave empty for no password) mysql_password = <KOPANO-MYSQL-PASSWORD>
Now start the kopano-server
$ sudo systemctl start kopano-server
Create a user
There are several user plugins in Kopano, in this example we will use the database plugin so we can create users directly in the Kopano database;
$ sudo kopano-admin -c user1 -f "John Doe" -e firstname.lastname@example.org -p "PASSWORD"
To see if the kopano-server is started and contains users, use kopano-admin -l
User list for Default(2): Username Fullname Homeserver ------------------------------------------ SYSTEM SYSTEM Kopano user1 John Doe
Install WebApp and Apache webserver
We will now install the main client of Kopano; WebApp
We already added the repository before so we only need to install it.
We will use Apache as webserver and only install kopano-webapp.
To see all available plugins use the command 'apt-cache search kopano-webapp'
For PHP 5
For PHP 7
For PHP 5
For PHP 7
You can now login in WebApp
Install and configure MTA
The next step would be to configure a MTA such as Postfix. Please click here for the Postfix configuration