docs: update activites/digital/roadmap

This commit is contained in:
Chris Mann 2022-07-10 08:45:31 +00:00 committed by Chris mann
parent abe296a065
commit 9a620bc7ea

View File

@ -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-10T06:24:04.345Z date: 2022-07-10T08:45:28.802Z
tags: tags:
editor: markdown editor: markdown
dateCreated: 2022-07-09T11:45:07.076Z dateCreated: 2022-07-09T11:45:07.076Z
@ -18,6 +18,92 @@ dateCreated: 2022-07-09T11:45:07.076Z
https://discuss.linuxcontainers.org/t/howto-use-lxd-p2c/3574 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://linuxcontainers.org/lxd/docs/latest/installing/
```bash
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
unzip master.zip
cd lxd-master/
apt install -y build-essential acl libacl1-dev libcap-dev liblxc1 liblxc-dev libsqlite3-dev libudev-dev libuv1-dev libdqlite-dev
apt install acl attr autoconf automake dnsmasq-base git golang libacl1-dev libcap-dev liblxc1 liblxc-dev libsqlite3-dev libtool libudev-dev liblz4-dev libuv1-dev make pkg-config rsync squashfs-tools tar tcl xz-utils ebtables
apt install go-dqlite golang-github-canonical-go-dqlite-dev
make deps
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 LD_LIBRARY_PATH="/root/go/deps/raft/.libs/:/root/go/deps/dqlite/.libs/"
export CGO_LDFLAGS_ALLOW="(-Wl,-wrap,pthread_create)|(-Wl,-z,now)"
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
source /root/.bashrc
```
```bash
wget https://github.com/lxc/lxd/archive/refs/heads/master.zip
unzip master.zip
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
make deps
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 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
wget https://go.dev/dl/go1.18.1.linux-amd64.tar.gz
tar -C /usr/local -xzf go1.18.1.linux-amd64.tar.gz
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
source /root/.bashrc
root@contabob:~/lxd-master# lxd-migrate
Please provide LXD server URL: https://ikoulaf.appgv.com:8443
Certificate fingerprint: 7843bcb8cb...
ok (y/n)? y
1) Use a certificate token
2) Use an existing TLS authentication certificate
3) Generate a temporary TLS authentication certificate
Please pick an authentication mechanism above: 3
Your temporary certificate is:
-----BEGIN CERTIFICATE-----
...
-----END CERTIFICATE-----
It is recommended to have this certificate be manually added to LXD through `lxc config trust add` on the target server.
Alternatively you could use a pre-defined trust password to add it remotely (use of a trust password can be a security issue).
Would you like to use a trust password? [default=no]:
Press ENTER after the certificate was added to the remote server:
Remote LXD server:
Hostname: ikoulaf
Version: 5.3
Would you like to create a container (1) or virtual-machine (2)?: 1
Name of the new instance: contabob
Please provide the path to a root filesystem: /
Do you want to add additional filesystem mounts? [default=no]:
Instance to be created:
Name: contabob
Project: default
Type: container
Source: /
Additional overrides can be applied at this stage:
1) Begin the migration with the above configuration
2) Override profile list
3) Set additional configuration options
4) Change instance storage pool or volume size
5) Change instance network
Please pick one of the options above [default=1]:
Transferring instance: contabob: 1.39GB (6.05MB/s)
```
### forge.appgv.com ### forge.appgv.com
### wiki.appgv.com ### wiki.appgv.com