mirror of
https://gitlab.com/fabinfra/fabaccess/docs.git
synced 2024-11-05 15:23:23 +01:00
1.4 KiB
1.4 KiB
Build Server from Source
E.g. in a proxmox- or lxc-container.
Install Dependencies
Ubuntu / Debian
sudo apt update && sudo apt upgrade
sudo apt install curl && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo apt install libgsasl7-dev libssl-dev build-essential
sudo apt install git cmake clang capnproto
Arch Linux
sudo pacman -Syu
sudo pacman -S make cmake clang gsasl
sudo pacman -S git rust capnproto
CentOS
sudo yum update
sudo yum install curl && curl --proto '=https' --tlsv1.2 -sSf https://sh.rustup.rs | sh
sudo yum install epel-release && sudo yum install capnproto
sudo yum install https://packages.endpointdev.com/rhel/7/os/x86_64/endpoint-repo.x86_64.rpm && sudo yum install git
sudo yum install centos-release-scl && yum install llvm-toolset-7 && scl enable llvm-toolset-7 bash
(Change bash to youre shell)sudo yum install gcc-c++ libgsasl-devel openssl-devel cmake
FreeBSD
TODO
Build BFFH
Start new terminal - Rustup will not update path while install
git clone https://gitlab.com/fabinfra/fabaccess/bffh.git --recursive
cd bffh
- (Optional)
git checkout development && git submodule update --remote
(Changedevelopment
to wanted branch) cargo build --release