Devilzc0de Forum Follow @devilzc0de
  • Home
  • Hacking
  • Networking
  • Programming
  • O.S
  • Server
  • Tweets
  • Search
  • Member List
  • Calendar
Current time: 05-25-2013, 04:46 AM Hello There, Guest! (Login — Register)
Devilzc0de Forum › Information Technology › Operating system › Linux v
« Previous 1 ... 17 18 19 20 21 ... 45 Next »

NTP synchronization in Debian

Home General Computer Multimedia Business Lounge

Post Reply 
Tweet
Threaded Mode | Linear Mode
NTP synchronization in Debian
12-01-2011, 10:49 AM
Post: #1
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,956
Joined: Jan 2010
Reputation: 237
NTP synchronization in Debian
Install tzdata in order to set the proper timezone. (Check here for your correct time zone). Install ntp-date which acts as a client to the NTP server.

Code:
# apt-get install ntpdate tzdata
Set your system to the correct timezone and follow the screen to select

Code:
# dpkg-reconfigure tzdata
Current default timezone: ‘Etc/GMT-4′
Local time is now: Tue Mar 30 17:15:10 GMT-4 2010.
Universal Time is now: Tue Mar 30 13:15:10 UTC 2010.
Edit configuration file for ntpdate

Code:
# vi /etc/default/ntpdate
Use these minimal settings for the ntpdate configuration file

Quote:NTPDATE_USE_NTP_CONF=no
NTPSERVERS="IP Address or Hostname of the NTP server”
NTPOPTIONS=”"
Check the current time for reference

Code:
# date
Tue Mar 30 17:16:50 GMT-4 2010
Run ntpdate-debian to update the time with the NTP Server and check the time again to check if indeed the time is set.

Code:
# ntpdate-debian
30 Mar 15:08:45 ntpdate[16335]: step time server 192.168.1.10 offset -7698.937783 sec
Code:
# date
Tue Mar 30 15:08:47 GMT-4 2010
Include ntpdate in the cron jobs in order to have the client synchronize with NTP server every week.

Code:
#vi /etc/cron.weekly/ntpdate
Edit the file with these content:

Quote:#!/bin/bash
set -e
[ -x /usr/sbin/ntpdate-debian ] || exit 0
/usr/sbin/ntpdate-debian
Apply the correct file permission

Code:
# chmod 755 /etc/cron.weekly/ntpdate
It is important to understand that without proper time synchronization in the IT infrastructure, tracking security breaches, network utilization, or problems affecting a large number of devices can be nearly impossible if timestamps in logs are incorrect. Time is often the critical component that allows an event on one node on the network to be linked to a corresponding event on another.

kalo blom mudeng,tanya yak piss
ini buat synchronize waktu di debian,ini ane terapin d proxy server ane,pake squeeze piss
kemaren kan chaer udah buat untuk mikrotiknya ketawa
Visit this user's website Find all posts by this user
Quote this message in a reply
 Reputed by :  ketek(+1)
12-01-2011, 11:54 AM
Post: #2
Motaro Irhaby Offline
Administrator
*******
Administrators
Posts: 393
Joined: Sep 2011
Reputation: 94
RE: NTP synchronization in Debian
ijin belajar kakak ketawa belajar
Find all posts by this user
Quote this message in a reply
12-01-2011, 12:12 PM
Post: #3
74jTeZ Offline
./Junk3r 1st C4d3t
Posts: 285
Joined: Nov 2011
Reputation: 5
RE: NTP synchronization in Debian
pengen coba, tpi lgi pake si matre.. pasrah
ane izin bookmark dulu dah.. wawa
Find all posts by this user
Quote this message in a reply
12-01-2011, 02:52 PM
Post: #4
Super Moderator Offline
Wahyu Adi Prasetyo
****
Global Moderators
Posts: 6,956
Joined: Jan 2010
Reputation: 237
RE: NTP synchronization in Debian
(12-01-2011 12:12 PM)74jTeZ Wrote:  pengen coba, tpi lgi pake si matre.. pasrah
ane izin bookmark dulu dah.. wawa

si matre apaan cambuk
Visit this user's website Find all posts by this user
Quote this message in a reply
12-02-2011, 10:37 AM
Post: #5
Lintang27™ Offline
Pemulung Sampah
**
Moderators
Posts: 2,159
Joined: Mar 2010
Reputation: 135
RE: NTP synchronization in Debian
(12-01-2011 02:52 PM)linuxer46 Wrote:  
(12-01-2011 12:12 PM)74jTeZ Wrote:  pengen coba, tpi lgi pake si matre.. pasrah
ane izin bookmark dulu dah.. wawa

si matre apaan cambuk

Windus..... hmm
Visit this user's website Find all posts by this user
Quote this message in a reply
12-26-2011, 10:29 PM
Post: #6
h1dr0-X Offline
./Devilz 1st Cadet
Posts: 44
Joined: Dec 2010
Reputation: 6
RE: NTP synchronization in Debian
kalo aku sih biasanya pake ini:

apt-get install ntp ntpdate

terus edit tuh file konfignya di:
/etc/ntp.conf

lebih simpel itu deh kayaknya CMIIW
Visit this user's website Find all posts by this user
Quote this message in a reply
« Next Oldest | Next Newest »
Post Reply 


Topic Tools
Topic Link :
BBCode :
HTML Code :
View a Printable Version Send Thread to a Friend Subscribe to this thread
Submit Google Submit Face book Submit to Digg Submit to Reddit Submit to Furl Submit to Del.icio.us Submit to Jeqq

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Kanotix debian varian Lintang27™ 5 100 05-15-2013 09:03 PM
Last Post: Super Moderator
  [Tutor] Cara mengatur atau mengedit category dan menu di linux berbasis debian ghosthands 3 95 04-21-2013 09:29 PM
Last Post: ghosthands
Wink [Tutor] Tuttorial Debian 6 tresna 4 178 02-17-2013 12:11 AM
Last Post: azaxzai
  [Ask] Route Di Debian 6 Squeeze p0t4t0 10 204 02-13-2013 07:22 PM
Last Post: bebel
Thumbs Up [Solved] Konfigurasi Debian 6 server p0t4t0 15 1,604 11-04-2012 05:27 PM
Last Post: nisan
  [Solved] Debian Utilities sandimulyadi 9 295 10-16-2012 05:48 AM
Last Post: sandimulyadi
  [Tutor] Cara install driver Canon Pixma MP250/258 di Debian Varian Lintang27™ 2 331 08-27-2012 03:03 PM
Last Post: Lintang27™
  [Tutor] Cara Hapus Semua Kernel Lama di Debian dan Varianya arietux 14 777 07-08-2012 05:07 PM
Last Post: Pahlawan Bertopeng
  [Tutor] 8 Aplikasi desktop recording di debian varian.... Lintang27™ 3 337 06-30-2012 03:02 PM
Last Post: Lintang27™
Star [Tutor] Ebook Debian JedaG_JeduG 6 643 03-04-2012 09:57 PM
Last Post: alpha.aiko

Users Browsing
1 Guest(s)

  • Contact Us
  • devilzc0de
  • Return to Top
  • Mobile Version
  • RSS Syndication
  • Help
Current time: 05-25-2013, 04:46 AM Powered By MyBB, © 2002-2013 MyBB Group. Theme created by Justin S. | Mixed By Chaer.Newbie | Fixed By Aditya

USING THIS SITE INDICATES THAT YOU HAVE READ AND ACCEPT OUR TERMS. IF YOU DO NOT ACCEPT THESE TERMS, YOU ARE NOT AUTHORIZED TO USE THIS SITE