转自hostloc备用 #!/bin/bash echo root:password123789 |sudo chpasswd root sudo sed -i 's/^#\?PermitRootLogin.*/PermitRootLogin yes/g' /etc/ssh/sshd_config; sudo sed -i 's/^#\?Passw…
检查当前时区 timedatectl 如下面的输出所示,当前系统的时区为:"Asia/Shanghai“ root@debian:~# timedatectl Local time: Tue 2021-08-03 22:25:01 CST Universal time: Tue 2021-08-03 14:25:01 UTC RTC time: T…