Linux (Ubuntu) 开发环境

安装软件

创建用户

sudo sh -c "echo '$(whoami) ALL=(ALL:ALL) NOPASSWD: ALL' > /etc/sudoers.d/$(whoami)"
sudo -l
adduser chen
usermod -aG sudo chen
usermod -aG docker chen

配置 Git 用户

git config --global user.name "Your Name"
git config --global user.email "your.email@address"

生成密钥,上传 github

ssh-keygen

安装公钥