cat > /etc/apt/sources.list << EOF
deb https://mirrors.ustc.edu.cn/ubuntu/ jammy main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ jammy-security main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ jammy-updates main restricted universe multiverse
deb https://mirrors.ustc.edu.cn/ubuntu/ jammy-backports main restricted universe multiverse
EOF
curl https://sh.rustup.rs -sSf | sh -s – -y –default-toolchain 1.75
wget https://storage.googleapis.com/flutter_infra_release/releases/stable/linux/flutter_linux_3.24.5-stable.tar.xz

tar xf flutter_linux_3.24.5-stable.tar.xz

git clone –recurse-submodules http://192.168.0.22/mygroup/rustdesk.git

git remote set-url origin git@192.168.0.22:mygroup/rustdesk.git

git config –global –add safe.directory rustdesk
git config –global –add safe.directory /root/flutter
git gc –prune=now

  • ~/.cargo/bin/flutter_rust_bridge_codegen

Enabled: yes
Types: deb
URIs: http://mirrors.ustc.edu.cn/ubuntu/
Suites: noble noble-updates noble-security
Components: main restricted universe multiverse
Signed-By: /usr/share/keyrings/ubuntu-archive-keyring.gpg

curl -fsSL https://download.docker.com/linux/ubuntu/gpg | sudo gpg –dearmor -o /usr/share/keyrings/docker-archive-keyring.gpg

sudo apt-get update
sudo apt-get install docker-ce docker-ce-cli containerd.io docker-buildx-plugin docker-compose-plugin
sudo systemctl start docker
sudo systemctl enable docker
docker –version
docker run hello-world
sudo systemctl daemon-reload
sudo systemctl restart docker