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 4 Next »

Introduction

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.

(warning) To install Kopano on Univention, installation can be done via the marketplace.

Installation

Add repositories

Our repositories are available at https://download.kopano.io/supported/ 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

Core

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



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

/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 user1@kopano.demo -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

WebApp

 

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

Install WebApp

We will only install kopano-webapp, to see all available plugins use the command 'apt-cache search kopano-webapp' 

$ sudo apt install apache  kopano-webapp



  • No labels