diff --git a/README.md b/README.md index 5b94a49..deadbcb 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,7 @@ -------------------------------------- * [Overview](#overview) +* [Installation](#installation) * [API reference](#api-ref) * [zookeper.init()](#zk-init) * [zookeeper.zerror()](#zk-zerror) @@ -42,6 +43,28 @@ ZooKeeper is a distributed application for managing and coordinating a large num [Back to TOC](#toc) +## Installation + +Using a package manager (CentOS, Fedora, Debian, Ubuntu): + +* [Add][tarantool_repo] a tarantool repository. +* Install tarantool-zookeeper package. + +Using tarantoolctl rocks: + +* Install dependencies: + - CentOS / Fedora: tarantool-devel, zookeeper-native + ([full list][deps_centos]). + - Debian / Ubuntu: tarantool-dev, libzookeeper-st-dev, libzookeeper-st2 + ([full list][deps_debian]). +* tarantoolctl rocks install zookeeper + +[Back to TOC](#toc) + +[tarantool_repo]: https://tarantool.io/en/download/ +[deps_centos]: https://github.com/tarantool/zookeeper/blob/master/rpm/tarantool-zookeeper.spec#L9-L16 +[deps_debian]: https://github.com/tarantool/zookeeper/blob/master/debian/control#L5-L15 + ## API reference -------------------------------------- diff --git a/README_ru.md b/README_ru.md index 104c39a..31c8da0 100644 --- a/README_ru.md +++ b/README_ru.md @@ -5,6 +5,7 @@ ------------------------------- * [Что такое ZooKeeper](#overview) +* [Установка](#installation) * [Справочник по API](#api-ref) * [zookeeper.init()](#zk-init) * [zookeeper.zerror()](#zk-zerror) @@ -51,6 +52,28 @@ ZooKeeper - это распределенное приложение для уп [К содержанию](#toc) +## Установка + +С помощью пакетного менеджера (CentOS, Fedora, Debian, Ubuntu): + +* [Добавить][tarantool_repo] репозиторий tarantool. +* Установить пакет tarantool-zookeeper. + +С помощью tarantoolctl rocks: + +* Установить зависимости: + - CentOS / Fedora: tarantool-devel, zookeeper-native + ([полный список][deps_centos]). + - Debian / Ubuntu: tarantool-dev, libzookeeper-st-dev, libzookeeper-st2 + ([полный список][deps_debian]). +* tarantoolctl rocks install zookeeper + +[К содержанию](#toc) + +[tarantool_repo]: https://tarantool.io/ru/download/ +[deps_centos]: https://github.com/tarantool/zookeeper/blob/master/rpm/tarantool-zookeeper.spec#L9-L16 +[deps_debian]: https://github.com/tarantool/zookeeper/blob/master/debian/control#L5-L15 + ## Справочник по API ------------------------------------------