====== Configurando o horário do servidor CentOS 7 ====== ===== Configurando o Chronyd ===== Instalar o chrony: # yum install -y chrony Editar o arquivo ''/etc/chrony.conf'' e colocar as seguintes linhas no início do arquivo: server ntp.ufrj.br iburst server ntp2.ufrj.br iburst Inicie o serviço: # systemctl start chronyd.service # systemctl enable chronyd.service Verifique a configuração no timedatectl: # timedatectl É preciso que a saída do comando ''timedatectl'' contenha as linhas: NTP enabled: yes NTP synchronized: yes Caso precise configurar o NTP, rode: # timedatectl set-ntp true Para configurar o NTP timedatectl set-timezone America/Sao_Paulo