Archive for the ‘Open Source’ Category

How to Configure Mac OS X to access your NTP Server

December 16th, 2009 by @HKw@! | No Comments | Filed in centos, Fedora, Open Source

Once you finished setup your NTP server, you need to allow your NTP client to access the NTP Server. Here i going to show your how to configure your NTP Client (Mac OS X) to sync the time from your NTP Server. Below are the steps:

1st – Launch your terminal

2nd – From the terminal, type the following command

techkaki-MacBook:~ techkaki $ sudo vi /etc/ntp.conf

3rd – change the default timezone address to your server domain name or ip address

By default, it will point to apple timezone. Eg: server time.asia.apple.com

To change it, just change the URL to your server ip or server domain name

eg: server 192.168.1.2 or server ntp.techkaki.com

4th – Save the ntp.conf

Now you will realize that your Mac timezone already point to your ntp server.

Share

Tags: ,

How to change ntp timezones on NTP Server (centos/fedora/RedHat)

December 16th, 2009 by @HKw@! | No Comments | Filed in centos, Fedora, Open Source

After you setup the NTP server. You will realize that the timezone was changed. The time zone might not same as your country timezone. It is because  pool.ntp.org will assign the timeservers from all over the world, time quality will not be ideal.

You will get better result if you use the continental zones. Just click Here to view the available zone in All Pool serves.

Here i will going to show how to change the timezone on your NTP Server.

1st – Login as the root user

2nd – Now open and edit /etc/ntp.conf

# vi /etc/ntp.conf

3nd – Now i want to add Malaysia timezone to NTP server. Just add the following to your ntp.conf file:

	   server 0.my.pool.ntp.org
	   server 1.asia.pool.ntp.org
	   server 2.asia.pool.ntp.org

4th – Save the ntp.conf file and restart the ntpd service

# service ntpd start

Now you will realize that your timezone was change :-)

Share

How to Synchronize system Clock?

December 16th, 2009 by @HKw@! | No Comments | Filed in centos, Open Source

My company going to implement ISO. 1 of the requirement of ISO is to synchronize system clock for all the server and desktop.

To synchronize server and desktop internal clock, we need to use the NTP (Network Time Protocol). NTP is a network protocol used to synchronize the clocks of computers to some time reference.

In order to synchronize the system time, i need to setup NTP server to synchronize server’s internal clock and use the NTP client to connect to a NTP server.

We can easily setup NTP server using yum command. Below are the steps:

1st – Login as the root user

2nd – Enter the following command to install NTP package

# yum install ntp

3rd – Turn on ntp service

# chkconfig ntpd on

4th – Synchronize the system clock with pool.ntp.org server:

# ntpdate pool.ntp.org

5th – Start the NTP

# /etc/init.d/ntpd start

Now you can synchronize local machines & network devices with NTP Server.

Share
BlogCatalog