前言
仅用于自用 快速配置VPS
apt设置
换源
bash <(curl -sSL https://linuxmirrors.cn/main.sh)
更新源
sudo apt update && sudo apt upgrade -y
安装常用包
apt install vim wget curl unzip git htop tar lsof
清理缓存
sudo apt clean
配置时区
设置为东八时区
timedatectl set-timezone Asia/Shanghai
查看当前时间信息
timedatectl
安装Docker
bash <(curl -sSL https://linuxmirrors.cn/docker.sh)