Ceci est une ancienne révision du document !
apt install net-tools bash-completion software-properties-common dpkg-reconfigure locales cat <<EOF | tee -a /etc/bash.bashrc if [ -f /etc/bash_completion ]; then . /etc/bash_completion fi EOF
cat <<EOF | tee /etc/netplan/10-lxc.yaml network: version: 2 ethernets: eth0: dhcp4: no dhcp6: no addresses: - 10.0.3.133/24 gateway4: 10.0.3.1 nameservers: addresses: - 213.186.33.99 - 8.8.8.8 EOF
<code bash> apt install -y nodejs npm node -v npm -v apt install mongodb -y systemctl start mongodb systemctl enable mongodb setcap cap_net_bind_service=+ep /usr/bin/node echo “@reboot setcap cap_net_bind_service=+ep /usr/bin/node” | crontab -