Configurar NTP no Red Hat Enterprise Linux 6 e derivados

A configuração do NTP para que o servidor possa manter seu relógio sempre atualizado é muito simples no Red Hat Enterprise Linux 6 e seus derivados (como o Oracle Linux 6 ou o CentOS 6).

Basta editar o arquivo /etc/ntp.conf e comentar os servidores NTP da Red Hat, incluindo os servidores NTP desejados:

#server 0.rhel.pool.ntp.org iburst
#server 1.rhel.pool.ntp.org iburst
#server 2.rhel.pool.ntp.org iburst
#server 3.rhel.pool.ntp.org iburst
server 189.50.12.221 iburst
server 189.50.12.220 iburst

O exemplo acima utiliza os dois servidores NTP do SM Saúde. Se você não tem nenhum servidor próprio para utilizar, use dos servidores NTP oficiais do Brasil (veja ntp.br para maiores informações):

  • a.st1.ntp.br
  • b.st1.ntp.br
  • c.st1.ntp.br
  • d.st1.ntp.br
  • a.ntp.br
  • b.ntp.br
  • c.ntp.br
  • gps.ntp.br

Depois de ajustar o arquivo /etc/ntp.conf, ajuste a inicialização automática do NTP com o comando (como usuário root):

# chkconfig /et/init.d/ntpd on

Agora precisamos criar o arquivo drift, utilizado pelo NTP, e iniciar o serviço:

# touch /var/lib/ntp/drift
# service ntpd start
Starting ntpd:                                                [ OK ]

Verifique se o NTP está funcionando e sincronizado com os servidores:

# ntpq -p
remote           refid        st t when poll reach delay offset jitter
======================================================================
+web01.smsaude.c 200.186.125.195 2 u  6 64   17     0.426 -0.038 0.041
*web02.smsaude.c 200.186.125.195 2 u  5 64   17     0.497 -1.522 0.014

# ntpstat 
synchronised to NTP server (189.50.12.220) at stratum 3 
 time correct to within 83 ms
 polling server every 64 s

Agora seu servidor já está com a data/hora sincronizada com um servidor NTP.

416 thoughts on “Configurar NTP no Red Hat Enterprise Linux 6 e derivados”

  1. Pingback: adam eve deal
  2. Pingback: ahisd hac
  3. Pingback: Brazilian Hair
  4. Pingback: porn movie
  5. Pingback: porn movie
  6. Pingback: yosoyganadora
  7. Pingback: هایک ویژن
  8. Pingback: suterh
  9. Pingback: kona coffee
  10. Pingback: dome tent
  11. Pingback: Email Archiving
  12. Pingback: software reviews
  13. Pingback: kona coffee
  14. Pingback: lion coffee
  15. Pingback: sex toys
  16. Pingback: kegel kit
  17. Pingback: Adamandeve.com
  18. Pingback: Bullet vibrator
  19. Pingback: adidas官方網
  20. Pingback: finger vibe
  21. Pingback: penis vacuum pump
  22. Pingback: کفسابی
  23. Pingback: Buy Vigra
  24. Pingback: Anal
  25. Pingback: acessorios de bebe
  26. Pingback: best web hosting
  27. Pingback: bodystocking
  28. Pingback: ساب زنی
  29. Pingback: dildo strapon
  30. Pingback: suction base dildo
  31. Pingback: vibrator realistic
  32. Pingback: kona coffee
  33. Pingback: MSP Transportation
  34. Pingback: classic sex toy
  35. Pingback: mag paper
  36. Pingback: palm beach resort
  37. Pingback: buy adult toys
  38. Pingback: adam n eve online
  39. Pingback: Sripatum
  40. Pingback: sex lube for women
  41. Pingback: ترمیم مو
  42. Pingback: هایک ویژن
  43. Pingback: bdsm paddles
  44. Pingback: work at home 2019
  45. Pingback: SEO 2018
  46. Pingback: bead vibrator
  47. Pingback: accident lawyer
  48. Pingback: Cal Exotics dildo
  49. Pingback: huge dildos
  50. Pingback: Pinganillo
  51. Pingback: smart gadgets
  52. Pingback: sex movie
  53. Pingback: anal sex toy
  54. Pingback: strap on
  55. Pingback: exam in delhi
  56. Pingback: butt plug
  57. Pingback: best kona coffee
  58. Pingback: vibrating massager
  59. Pingback: Orlando SEO agency
  60. Pingback: Iphone glass
  61. Pingback: Womanizer
  62. Pingback: butt plug
  63. Pingback: اپل ایدی
  64. Pingback: خرید apple id
  65. Pingback: giant dildo
  66. Pingback: خرید vpn
  67. Pingback: خرید کریو
  68. Pingback: blow up doll
  69. Pingback: خرید vpn
  70. Pingback: خرید کریو
  71. Pingback: fingo nubby
  72. Pingback: social Media
  73. Pingback: harmonica app
  74. Pingback: rhalyns
  75. Pingback: penis pump price
  76. Pingback: sex Maza
  77. Pingback: pink vibrator
  78. Pingback: خرید هاست
  79. Pingback: 卡巴熊
  80. Pingback: how to make money
  81. Pingback: نماشویی
  82. Pingback: online shopping
  83. Pingback: anchor
  84. Pingback: you can try here
  85. Pingback: alexis texas
  86. Pingback: nashville hotels
  87. Pingback: Fotógrafo
  88. Pingback: Old school music
  89. Pingback: xnxx.com
  90. Pingback: وکیل
  91. Pingback: Women Boutique
  92. Pingback: earrings casual
  93. Pingback: اپل ایدی
  94. Pingback: خرید vpn
  95. Pingback: kona coffee beans
  96. Pingback: Kona Co
  97. Pingback: خرید vpn
  98. Pingback: خرید vpn
  99. Pingback: Kona C 100%
  100. Pingback: best 100%
  101. Pingback: las vegas
  102. Pingback: persian setar
  103. Pingback: خرید vpn
  104. Pingback: find this
  105. Pingback: kona coffee
  106. Pingback: kona coffee bean
  107. Pingback: خرید vpn
  108. Pingback: how to make coffee
  109. Pingback: خرید vpn
  110. Pingback: خرید vpn
  111. Pingback: browse around here
  112. Pingback: خرید vpn
  113. Pingback: خرید vpn
  114. Pingback: tam
  115. Pingback: خريد كريو
  116. Pingback: rbx rocks
  117. Pingback: Visitkort
  118. Pingback: termeh
  119. Pingback: domain hosting
  120. Pingback: خرید vpn
  121. Pingback: گوگل adwords
  122. Pingback: خرید vpn
  123. Pingback: خرید vpn
  124. Pingback: Belize city inn
  125. Pingback: گوگل adwords
  126. Pingback: گوگل adwords
  127. Pingback: 脱毛
  128. Pingback: freddy
  129. Pingback: vpn
  130. Pingback: گوگل adwords
  131. Pingback: Create Mauritius
  132. Pingback: persian tar
  133. Pingback: داهوا
  134. Pingback: گوگل adwords
  135. Pingback: سیستم cctv
  136. Pingback: خرید vpn
  137. Pingback: خرید vpn
  138. Pingback: خرید vpn
  139. Pingback: سیستم cctv
  140. Pingback: سیستم cctv
  141. Pingback: خرید vpn
  142. Pingback: خرید vpn
  143. Pingback: سیستم cctv
  144. Pingback: خرید طلا
  145. Pingback: love tips
  146. Pingback: butterfly vibrator
  147. Pingback: سیستم cctv
  148. Pingback: remote jobs
  149. Pingback: خرید vpn
  150. Pingback: gratis inserate
  151. Pingback: خرید vpn
  152. Pingback: prostate kit
  153. Pingback: سیستم cctv
  154. Pingback: خرید vpn
  155. Pingback: drivers hp
  156. Pingback: best vibrator
  157. Pingback: sex bondage kit
  158. Pingback: vibrator sex

Leave a Reply