Kendis provides multiple different installation options. In this article, we will explain, how to install Kendis on native Linux 64 bits.

  1. Download Kendis Linux compatible binaries from this link
  2. Extract kendis-server-linux-x86_64.tar file to any of your folder with tar -xvf kendis-server-linux-x86_64.tar
  3. Now change to bin directory kendis-server-linux-x86_64/bin and run "sudo sh startup.sh"
  4. Once server startup get finished you will see following logs

    +==============================+
    | Server Running on port :8282 |
    +==============================+
    +====================================================================+
    | Kendis App server is now running.                                     |
    | You can access using host port you have given while setting up Docker |
    | e.g http://127.0.0.1:8282/                                            |
    | or http://<host-ip>:8282/                                             |
    +====================================================================+
    Server will run on default port 8282 if you wants to change its port, you can change port by editing /bin/kendis/app.config

5. Done

Backups

There are no daily auto backups (In Docker installation, there are nightly backups). For this setup, you need to run the following command to take the backup and perhaps can write your own script to perform frequent backups

> sudo sh bin/backup.sh

Instructions to Configure External Database

Kendis enterprise self-hosted version comes with an internal MongoDB database. However, in case you need to use an External Database then follow these steps

Database Version

Kendis only supports MongoDB v 3.6. You need to make sure you are running this particular version of MongoDB.

Configuration Steps

Go to the kendis-config mapped folder and find the file "app.config". This file is available at /kendis-server/bin/kendis/app.config

  1. Edit app.config and edit hosted DB properties.
    db.host=<IP or DNS address where Mongo DB is accessible >
    db.port=27017 (change if it's different)
    db.name=<your db name>
    db.user=<database user name>
    db.password=<database user password>
  2. Save the file and close it
  3. Now stop the Kendis server and restart again

Important:

After installation is successful, please remember to change the default password for the /system URL.

Did this answer your question?