Install standalone MatrixOne

MatrixOne supports Linux and MacOS. You can install a standalone MatrixOne version either by building from source or using docker.

Recommended hardware specification: x86 CPU with 4 cores and 32GB memory, with CentOS 7+ OS.

Building from source

1. Install Go as necessary

Go version 1.17+ is required.

2. Get the MatrixOne code

  1. $ git clone https://github.com/matrixorigin/matrixone.git
  2. $ cd matrixone

3. Run make

You can run make debug, make clean, or anything else our Makefile offers.

  1. $ make config
  2. $ make build

4. Boot MatrixOne server

  1. $ ./mo-server system_vars_config.toml

Downloading binary packages

Starting with 0.3.0, you can download binary packages directly to run MatrixOne in the X86_64 Linux environment.

1. Download binary packages and decompress

  1. $ wget https://github.com/matrixorigin/matrixone/releases/download/v0.3.0/mo-server-v0.3.0-linux-amd64.zip
  2. $ unzip mo-server-v0.3.0-linux-amd64.zip

2.Launch MatrixOne server

  1. $./mo-server system_vars_config.toml

Using docker

1. Install Docker

Please verify that Docker daemon is running in the background:

  1. $ docker --version

2. Create and run the container for the latest release of MatrixOne

It will pull the image from Docker Hub if not exists.

  1. $ docker run -d -p 6001:6001 --name matrixone matrixorigin/matrixone:latest