Change Timezone IST and Update NTP Time
on a CentOS 6 and 7
Step: 1
First login CentOS Linux putty session.
Step: 2
Run NTP update command using NTP Server or Google Server.
[root@eznag objects]# ntpdate 192.168.100.11
22 May 11:06:26 ntpdate[7057]: the NTP socket is in use, exiting
Step: 3
You willl see NTP Socket is in use Error. Run below commands.
[root@eznag objects]# service ntpd stop
Shutting down ntpd: [ OK ]
Step: 4
NTP Command. Time updated successfully.
[root@eznag objects]# ntpdate 192.168.100.11
22 May 11:07:34 ntpdate[7096]: step time server 192.168.100.11 offset 51.408174 sec
Step:5
If you want change IST time/date format,Try below commands.
[root@eznag objects]# ln -sf /usr/share/zoneinfo/Asia/Calcutta /etc/localtime
[root@eznag objects]# date
Sun May 22 20:40:29 IST 2016
This site is so helpful to find out which appliances cause the higher bill.Its such a useful site,I strongly recommend it to others.
ReplyDelete