docs: update activites/digital/roadmap
This commit is contained in:
parent
cddf295cb2
commit
a5c173cf47
@ -2,7 +2,7 @@
|
||||
title: Feuille de route pour le digital des Grands Voisins
|
||||
description: Ceci est une feuille de route pour le digital des Grands Voisins
|
||||
published: true
|
||||
date: 2022-07-10T10:15:37.091Z
|
||||
date: 2022-07-10T10:39:15.387Z
|
||||
tags:
|
||||
editor: markdown
|
||||
dateCreated: 2022-07-09T11:45:07.076Z
|
||||
@ -37,6 +37,13 @@ make
|
||||
sudo make install
|
||||
cd ..
|
||||
|
||||
|
||||
|
||||
export CGO_CFLAGS="-I/deps/raft/include/ -I/deps/dqlite/include/"
|
||||
export CGO_LDFLAGS="-L/deps/raft/.libs -L/deps/dqlite/.libs/"
|
||||
export LD_LIBRARY_PATH="/deps/raft/.libs/:/deps/dqlite/.libs/"
|
||||
export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)"
|
||||
|
||||
```
|
||||
|
||||
```bash
|
||||
@ -58,7 +65,9 @@ aptitude install -y build-essential acl libacl1-dev libcap-dev liblxc1 \
|
||||
aptitude install -y lxc-dev libdqlite-dev go-dqlite golang-github-canonical-go-dqlite-dev
|
||||
|
||||
|
||||
|
||||
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
||||
unzip master.zip
|
||||
cd lxd-master/
|
||||
make deps
|
||||
echo 'export CGO_CFLAGS="-I/root/go/deps/raft/include/ -I/root/go/deps/dqlite/include/"' >> /root/.bashrc
|
||||
echo 'export CGO_LDFLAGS="-L/root/go/deps/raft/.libs -L/root/go/deps/dqlite/.libs/"' >> /root/.bashrc
|
||||
@ -117,6 +126,9 @@ Transferring instance: contabob: 1.39GB (6.05MB/s)
|
||||
```
|
||||
|
||||
```bash
|
||||
dnf makecache --refresh
|
||||
dnf config-manager --set-enabled powertools
|
||||
dnf install epel-release epel-next-release
|
||||
dnf update
|
||||
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
||||
unzip master.zip
|
||||
@ -128,8 +140,12 @@ export CGO_LDFLAGS="-L/root/go/deps/raft/.libs -L/root/go/deps/dqlite/.libs/"
|
||||
export LD_LIBRARY_PATH="/root/go/deps/raft/.libs/:/root/go/deps/dqlite/.libs/"
|
||||
export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)"
|
||||
source /root/.bashrc
|
||||
cd /root
|
||||
wget https://go.dev/dl/go1.18.1.linux-amd64.tar.gz
|
||||
tar -C /usr/local -xzf go1.18.1.linux-amd64.tar.gz
|
||||
echo 'export PATH=$PATH:/usr/local/go/bin' >> /etc/profile
|
||||
source /root/.bashrc
|
||||
cd /root/lxd-master
|
||||
make
|
||||
echo 'export PATH="${PATH}:$(go env GOPATH)/bin"' >> /root/.bashrc
|
||||
echo 'export LD_LIBRARY_PATH="$(go env GOPATH)/deps/dqlite/.libs/:$(go env GOPATH)/deps/raft/.libs/:${LD_LIBRARY_PATH}"' >> /root/.bashrc
|
||||
|
Loading…
x
Reference in New Issue
Block a user