【Linux学习】新建系统(Ubuntu)后的一些开局必要操作配置
- 修改镜像源
https://developer.aliyun.com/mirror/ubuntu
sudo cp /etc/apt/sources.list /etc/apt/sources.list.backsudo chmod 666 /etc/apt/sources.list
sudo vim /etc/apt/sources.list
# 然后在sources.list内修改镜像源
- 安装必要工具
sudo apt update# net-tools
sudo apt install net-tools # 为了ifconfig查看ip# open ssh
sudo apt install openssh-server # 为了mobaXterm远程连接
sudo systemctl status ssh # 查看状态
sudo systemctl enable ssh # 自启动# vim
sudo apt install vim
- 设置管理员密码
sudo passwd root
# 然后设置root密码
