永久设置hostnmae,重启也不失效 hostnamectl --static set-hostname a.centos7.com 列出时区 timedatectl list-timezones 修改时区 timedatectl set-timezone Asia/Shanghai 文章导航 Linux( CentOs7 )下安装MySQL腾讯云centos mysql8.0+node部署踩坑