设置时区为上海

timedatectl set-timezone "Asia/Shanghai"
sudo apt install systemd-timesyncd

sudo nano  /etc/systemd/timesyncd.conf

NTP=pool.ntp.org 0.asia.pool.ntp.org 1.asia.pool.ntp.org 2.asia.pool.ntp.org
systemctl restart systemd-timesyncd
timedatectl set-ntp true
timedatectl

apt install sudo -y
apt install ufw -y
apt install wget -y

最后修改:2023 年 07 月 09 日
如果觉得我的文章对你有用,请随意赞赏