Tags:
create new tag
,
view all tags
---+ Acertar o horário de verão nos servidores ---++Description O NTP não ajuda no horário de verão pois ele não muda a hora, muda o fuso horário. Faremos o seguinte: * Criamos o arquivo <pre> [root@spgrid root]# vim /usr/share/zoneinfo/Brazil/verao2006.zic </pre> * Neste arquivo teremos <pre> Rule Brazil 2005 only - Oct 16 00:00 1 S Rule Brazil 2006 only - Feb 19 00:00 0 - Zone Brazil/East -3:00 Brazil BR%sT </pre> *OBS* Nos próximos anos é só ir adicionando linhas deste tipo. No caso o horário de verão começa dia 16 de Outubro e termina dia 19 de Fevereiro. Nosso timezone é East. * rodamos o zic <pre> [root@spgrid root]# zic /usr/share/zoneinfo/Brazil/verao2006.zic [root@spgrid root]# cp /usr/share/zoneinfo/Brazil/East /etc/localtime </pre> E o horário fica correto novamente.
E
dit
|
A
ttach
|
P
rint version
|
H
istory
: r1
|
B
acklinks
|
V
iew topic
|
Ra
w
edit
|
M
ore topic actions
Topic revision: r1 - 2006-10-24
-
MarcoAndreFerreiraDias
Home
Site map
Main web
Sandbox web
TWiki web
Main Web
Users
Groups
Index
Search
Changes
Notifications
RSS Feed
Statistics
Preferences
P
View
Raw View
Print version
Find backlinks
History
More topic actions
Edit
Raw edit
Attach file or image
Edit topic preference settings
Set new parent
More topic actions
Account
Log In
Copyright © 2008-2025 by the contributing authors. All material on this collaboration platform is the property of the contributing authors.
Ideas, requests, problems regarding TWiki?
Send feedback