启动后默认进入字符界面
sudo systemctl set-default multi-user.target
启动后默认进入图形界面
sudo systemctl set-default graphical.target
查看ip
sudo apt install net-tools
ifconfig
ssh免密登录配置
ssh-keygen -t rsa
ssh-copy-id -i ~/.ssh/id_rsa.pub [email protected]
vim ~/.ssh/config # 在Mac中可以进一步修改配置config文件