ubuntu16.04基本设置
1. ubuntu16.04开启ssh
https://jingyan.baidu.com/article/f54ae2fc6f9eef1e93b8497a.html
2. windows 远程桌面连接Ubuntu 16.04图像界面
https://blog.csdn.net/lengconglin/article/details/77894636
安装xrdp报错解决:
https://blog.csdn.net/qq_35428201/article/details/81227372
3. ubuntu16.04中开启和关闭防火墙
开启防火墙:ufw enable
关闭防火墙:ufw disable
4. ubuntu16.04更换阿里云软件源
如果在安装Ubuntu时,选择的地区为美国,建议更新为阿里云或国内 软件源 sudo sed -i s/archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.listsudo
sudo apt-get update
如果在安装Ubuntu时,选择的地区为中国,可以直接使用或更新为阿里云软件源
sudo sed -i s/cn.archive.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list sudo sed -i s/security.ubuntu.com/mirrors.aliyun.com/g /etc/apt/sources.list sudo apt-get update 阿里云镜像地址:https://opsx.alibaba.com/mirror