GithubHelp home page GithubHelp logo

0-wiz-0 / galera Goto Github PK

View Code? Open in Web Editor NEW

This project forked from codership/galera

0.0 1.0 0.0 19.02 MB

Synchronous multi-master replication library

License: GNU General Public License v2.0

Shell 6.00% C++ 86.86% Python 0.91% Perl 0.06% C 5.40% Assembly 0.02% Makefile 0.03% CMake 0.68% M4 0.05%

galera's Introduction

Codership Oy
http://www.codership.com
<[email protected]>

This is Galera replication - Codership's implementation of the write set
replication (wsrep) interface (https://github.com/codership/wsrep-API).
The software and other files in this directory unless otherwise noted
are distributed under GPLv2, see COPYING for details.


BUILDING - General

Build Requirements:
* CMake build system https://cmake.org/
* Check unit test library http://check.sourceforge.net/
* Boost devel package http://www.boost.org/
* OpenSSL devel package

Optional:
* Asio C++ library devel package (http://think-async.com/)

To build with CMake, do:
 $ cmake .
 $ make
Run unit tests with CMake:
 $ make test

Note that Scons has been obsoleted since Galera 3.32, but it is still possible
to compile by running:
 $ scons
(default optimized build)
or
 $ ./scripts/build.sh --scons
(see ./scripts/build.sh --help for information on options)


To build MySQL/Galera demo distribution, clone
https://github.com/codership/mysql-wsrep into some directory (hereafter
<MYSQL_DIR>) and run build script from this directory (hereafter <GALERA_DIR>):

 $ cd <MYSQL_DIR>
 $ git clone --single-branch --branch 5.6 \
       https://github.com/codership/mysql-wsrep.git
 $ cd <GALERA_DIR>
 $ MYSQL_SRC=<MYSQL_DIR>/mysql-wsrep ./scripts/mysql/build.sh -b -s -o -t

After successful build, demo package can be found under scripts/mysql.

BUILDING - on Ubuntu 16.04 or later

 1) apt-get install check cmake libasio-dev libboost-dev \
         libboost-program-options-dev libssl-dev

Then proceed as described above.

BUILDING - on CentOS/RHEL 6 or later

 1) yum install gcc gcc-c++ cmake boost-devel check-devel

Then proceed as described above.

For more information, see:
* Codership mailing list: http://groups.google.com/group/codership-team
* http://galeracluster.com/
* Codership home page: http://www.codership.com

galera's People

Contributors

abychko avatar aglarendil avatar andreasverhoeven avatar ayurchen avatar bryanpkc avatar denis-protivensky avatar dirtysalt avatar eworm-de avatar fromdualjb avatar gjedeer avatar grooverdan avatar javacruft avatar kennethpjdyer avatar mend-bolt-for-github[bot] avatar mkaruza avatar ottok avatar philip-galera avatar philip-stoev avatar sciascid avatar shinguz avatar sjaakola avatar stefan-langenmaier avatar sthibaul avatar temeo avatar vasild avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.