Installation

This section describes how to install Crate Data on a single node. In order to get a Crate cluster up and running it is enough to repeat the process on another machine if the network supports multicast. The Nodes will discover and form a cluster automatically. Just like magic.

In case the network doesn’t support multicast, a unicast configuration is required. Please refer to our article on Multi Node Setup in order to learn how to setup the unicast configuration.

Install via tar.gz

After downloading the latest stable version of Crate Data from https://crate.io/download/ the package needs to be unpacked:

sh$ tar zxf crate-*.tar.gz
sh$ cd crate-*

Once unpacked Crate can be started in the foreground like this:

sh$ ./bin/crate

In order to start in the background add the -d option. If started in the foreground you can use Control-C to stop the process again.

The CrateShell (Crash) is shipped with the tarball distribution. You can start the shell using the crash command:

sh$ ./bin/crash

The Crate distribution also comes with a web based administration interface. It is served on port 4200 and you can access it with your browser once Crate is started:

http://host1.example.com:4200/admin/

Note

Crate Data needs a working Java 7 virtual machine. We recommend using Oracle’s Java on OSX and OpenJDK on Linux Systems.

Install using Docker

Docker is a lightweigt runtime to run distributed applications in a sandboxed container. We provide a Docker image for Crate for easy installation:

sh$ docker pull crate/crate
sh$ docker run -d -p 4200:4200 -p 4300:4300 crate/crate

The images are hosted on the Docker Hub Registry. There is additional information on how to run Crate in a Docker container on the docker-crate Github repository.

Install Crate Data for Production

We provide distributions for RHEL/YUM based systems, Ubuntu and Arch Linux.

You can find instruction how to install Crate Data for production on the Download page.

In case your distribution is missing feel free to contact us. We’re happy to create and maintain additional packages if we see enough interest.

See also

Configuring Crate Data

Hello Crate - To learn how to interact with Crate.

Multi Node Setup - To see how to install and run Crate in a Multi Node setup.

::...
免责声明:
当前网页内容, 由 大妈 ZoomQuiet 使用工具: ScrapBook :: Firefox Extension 人工从互联网中收集并分享;
内容版权归原作者所有;
本人对内容的有效性/合法性不承担任何强制性责任.
若有不妥, 欢迎评注提醒:

或是邮件反馈可也:
askdama[AT]googlegroups.com


订阅 substack 体验古早写作:


点击注册~> 获得 100$ 体验券: DigitalOcean Referral Badge

关注公众号, 持续获得相关各种嗯哼:
zoomquiet


自怼圈/年度番新

DU22.4
关于 ~ DebugUself with DAMA ;-)
粤ICP备18025058号-1
公安备案号: 44049002000656 ...::