fabaccess-docs/source/installation/server_build.md
2022-04-23 21:57:56 +00:00

1.4 KiB

Build Server from Source

Install Dependencies

Ubuntu / Debian

  1. sudo apt update && sudo apt upgrade
  2. sudo apt install curl && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  3. sudo apt install libgsasl7-dev libssl-dev build-essential
  4. sudo apt install git cmake clang capnproto

Arch Linux

  1. sudo pacman -Syu
  2. sudo pacman -S make cmake clang gsasl
  3. sudo pacman -S git rust capnproto

CentOS

  1. sudo yum update
  2. sudo yum install curl && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
  3. sudo yum install epel-release && sudo yum install capnproto
  4. sudo yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm && sudo yum install git
  5. sudo yum install centos-release-scl && yum install llvm-toolset-7 && scl enable llvm-toolset-7 bash (Change bash to youre shell)
  6. sudo yum install gcc-c++ libgsasl-devel openssl-devel cmake

FreeBSD

TODO

Build BFFH

Start new terminal - Rustup will not update path while install

  1. git clone https://gitlab.com/fabinfra/fabaccess/bffh.git --recursive
  2. cd bffh
  3. (Optional) git checkout development && git submodule update --remote (Change development to wanted branch)
  4. cargo build --release