Skip to main content

· One min read

ref: Install from a package

wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/containerd.io_1.6.9-1_amd64.deb && \
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce_24.0.2-1~ubuntu.18.04~bionic_amd64.deb && \
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-ce-cli_24.0.2-1~ubuntu.18.04~bionic_amd64.deb && \
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-buildx-plugin_0.10.5-1~ubuntu.18.04~bionic_amd64.deb && \
wget https://download.docker.com/linux/ubuntu/dists/bionic/pool/stable/amd64/docker-compose-plugin_2.18.1-1~ubuntu.18.04~bionic_amd64.deb && \
dpkg -i containerd.io_1.6.9-1_amd64.deb \
docker-ce_24.0.2-1~ubuntu.18.04~bionic_amd64.deb \
docker-ce-cli_24.0.2-1~ubuntu.18.04~bionic_amd64.deb \
docker-buildx-plugin_0.10.5-1~ubuntu.18.04~bionic_amd64.deb \
docker-compose-plugin_2.18.1-1~ubuntu.18.04~bionic_amd64.deb

如果安装失败, 执行 apt --fix-broken install

· 3 min read
Alan

一般个人项目和公司项目要用不用的 user.nameuser.email,一般情况下每次clone新项目,都要在项目根目录执行以下命令设置项目的邮箱账号信息:

git config --local user.name xxxx
git config --local user.email xxxx@yyy.com

· One min read

打开运行(Win + R) 输入 netplwiz 打开以下对话框, 取消勾选 要使用本计算机,用户必须输入用户名和密码 并点击 确定:

netplwiz

· One min read
@echo off
SET /A delay = 1
:start
.\frpc.exe --config config.ini
SET /A delay = %delay% + %delay%
timeout /t %delay%
goto start