Page tree
Skip to end of metadata
Go to start of metadata

You are viewing an old version of this page. View the current version.

Compare with Current View Page History

« Previous Version 17 Next »

Add repositories

Our repositories are available at for customers and partners with a valid subscription. 
The serial is needed to access these repositories.

Debian and Ubuntu RHEL and CentOS SUSE

Install Kopano packages 

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

  • kopano-backup
  • kopano-dagent
  • kopano-gateway
  • kopano-ical
  • kopano-monitor
  • kopano-presence
  • kopano-search
  • kopano-server
  • kopano-spooler
  • kopano-utils
  • (and their dependencies)

Install Kopano and MySQL/MariaDB

Debian and Ubuntu RHEL and CentOS SUSE

Configure SQL database

Now create a Kopano user in the MySQL server.

$ sudo mysql -u root -p   
mysql> CREATE USER 'kopano'@'localhost' IDENTIFIED BY '<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-user-password>

User backend

The preferred way to manage users in a professional environment is OpenLDAP, but Kopano supports several other user backends as well;

OpenLDAP Active Directory Samba 4 Database

Now start  the kopano-server

$ sudo systemctl start kopano-server

 You can now create a user

$ sudo kopano-cli --create -u john --fullname "john doe" --password john --email

To see if the kopano-server is started and contains users, use kopano-cli --list-users

$ sudo kopano-cli --list-users
User list for Default (2):
            User           Full Name          Homeserver                                   Store
          SYSTEM              SYSTEM              Kopano        8962FFEFFB7B4D639BC5967C4BB58234
            john            john doe              Kopano        8ECC5FB292CB42C1A5DE59C369ECBFF7

Please check server.log in /var/log/kopano if you get the following error.

$ sudo kopano-cli --list-users
Unable to open Admin session: network error (0x80040115)
The server is not running, or not accessible through "default:".
Using the -v option (possibly multiple times) may give more hints.
  • No labels