1,安装sshd
apt-get install openssh-client openssh-server
systemctl enable ssh.service
systemctl restart sshd
2,安装必要的软件
# 基础软件
sudo apt install net-tools procps rsync wget w3m vim build-essential gcc dnsutils tmux curl sudo lsb-release iotop software-properties-common lrzsz -y
# 开发工具
sudo apt install git golang build-essential gcc g++ gdb libboost-dev make automake autogen autoconf cscope global cmake cmake-gui astyle clang-format clang llvm lldb libsqlite3-dev sqlite3 bison flex ruby-dev linux-headers-`uname -r`
3,时区配置和时间同步
timedatectl set-timezone Asia/Shanghai
timedatectl set-ntp yes