docs: update activites/digital/roadmap
This commit is contained in:
parent
ce3e42a72e
commit
cddf295cb2
@ -2,7 +2,7 @@
|
|||||||
title: Feuille de route pour le digital des Grands Voisins
|
title: Feuille de route pour le digital des Grands Voisins
|
||||||
description: Ceci est une feuille de route pour le digital des Grands Voisins
|
description: Ceci est une feuille de route pour le digital des Grands Voisins
|
||||||
published: true
|
published: true
|
||||||
date: 2022-07-10T09:49:09.740Z
|
date: 2022-07-10T10:15:37.091Z
|
||||||
tags:
|
tags:
|
||||||
editor: markdown
|
editor: markdown
|
||||||
dateCreated: 2022-07-09T11:45:07.076Z
|
dateCreated: 2022-07-09T11:45:07.076Z
|
||||||
@ -21,6 +21,23 @@ https://discuss.linuxcontainers.org/t/howto-use-lxd-p2c/3574
|
|||||||
https://blog.simos.info/how-to-compile-lxd-p2c-to-migrate-physical-servers-to-lxd-containers/
|
https://blog.simos.info/how-to-compile-lxd-p2c-to-migrate-physical-servers-to-lxd-containers/
|
||||||
|
|
||||||
https://linuxcontainers.org/lxd/docs/latest/installing/
|
https://linuxcontainers.org/lxd/docs/latest/installing/
|
||||||
|
```
|
||||||
|
apt install sqlite3
|
||||||
|
aptitude install -y build-essential acl libacl1-dev libcap-dev liblxc1 \
|
||||||
|
libsqlite3-dev libudev-dev libuv1-dev attr autoconf automake \
|
||||||
|
dnsmasq-base git golang libacl1-dev libcap-dev libtool libudev-dev liblz4-dev \
|
||||||
|
libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables \
|
||||||
|
lxc-dev
|
||||||
|
cd /root
|
||||||
|
git clone https://github.com/canonical/raft.git
|
||||||
|
cd raft
|
||||||
|
autoreconf -i
|
||||||
|
./configure
|
||||||
|
make
|
||||||
|
sudo make install
|
||||||
|
cd ..
|
||||||
|
|
||||||
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
||||||
@ -28,7 +45,20 @@ unzip master.zip
|
|||||||
cd lxd-master/
|
cd lxd-master/
|
||||||
aptitude update
|
aptitude update
|
||||||
aptitude -y upgrade
|
aptitude -y upgrade
|
||||||
apt install -y build-essential acl libacl1-dev libcap-dev liblxc1 liblxc-dev libsqlite3-dev libudev-dev libuv1-dev libdqlite-dev attr autoconf automake dnsmasq-base git golang libacl1-dev libcap-dev libtool libudev-dev liblz4-dev libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables go-dqlite golang-github-canonical-go-dqlite-dev
|
apt install -y build-essential acl libacl1-dev libcap-dev liblxc1 liblxc-dev \
|
||||||
|
libsqlite3-dev libudev-dev libuv1-dev libdqlite-dev attr autoconf automake \
|
||||||
|
dnsmasq-base git golang libacl1-dev libcap-dev libtool libudev-dev liblz4-dev \
|
||||||
|
libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables \
|
||||||
|
go-dqlite golang-github-canonical-go-dqlite-dev
|
||||||
|
|
||||||
|
aptitude install -y build-essential acl libacl1-dev libcap-dev liblxc1 \
|
||||||
|
libsqlite3-dev libudev-dev libuv1-dev attr autoconf automake \
|
||||||
|
dnsmasq-base git golang libacl1-dev libcap-dev libtool libudev-dev liblz4-dev \
|
||||||
|
libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables \
|
||||||
|
aptitude install -y lxc-dev libdqlite-dev go-dqlite golang-github-canonical-go-dqlite-dev
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
make deps
|
make deps
|
||||||
echo 'export CGO_CFLAGS="-I/root/go/deps/raft/include/ -I/root/go/deps/dqlite/include/"' >> /root/.bashrc
|
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
|
echo 'export CGO_LDFLAGS="-L/root/go/deps/raft/.libs -L/root/go/deps/dqlite/.libs/"' >> /root/.bashrc
|
||||||
@ -87,10 +117,11 @@ Transferring instance: contabob: 1.39GB (6.05MB/s)
|
|||||||
```
|
```
|
||||||
|
|
||||||
```bash
|
```bash
|
||||||
|
dnf update
|
||||||
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
|
||||||
unzip master.zip
|
unzip master.zip
|
||||||
cd lxd-master/
|
cd lxd-master/
|
||||||
dnf install acl attr autoconf automake dnsmasq git golang libacl-devel libcap-devel lxc-libs lxc-devel sqlite-devel libtool libudev-devel lz4-devel libuv-devel make pkg-config rsync squashfs-tools tar tcl xz ebtables
|
dnf install acl attr autoconf automake dnsmasq git golang libacl-devel libcap-devel lxc-libs lxc-devel sqlite-devel libtool libudev-devel lz4-devel libuv make pkg-config rsync squashfs-tools tar tcl xz ebtables
|
||||||
make deps
|
make deps
|
||||||
export CGO_CFLAGS="-I/root/go/deps/raft/include/ -I/root/go/deps/dqlite/include/"
|
export CGO_CFLAGS="-I/root/go/deps/raft/include/ -I/root/go/deps/dqlite/include/"
|
||||||
export CGO_LDFLAGS="-L/root/go/deps/raft/.libs -L/root/go/deps/dqlite/.libs/"
|
export CGO_LDFLAGS="-L/root/go/deps/raft/.libs -L/root/go/deps/dqlite/.libs/"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user