Set Time Zone on CentOS 7 Rumi, January 14, 2020 Checking the Current Timezone In CentOS and other modern Linux distros, you can use the timedatectl command to display and set the current system’s time and timezone. timedatectl The output below shows that the system’s timezone is set to UTC: Local time: Wed 2019-02-06 22:43:42 UTC Universal time: Wed 2019-02-06… Continue Reading
Installing NTP Service and change timezone in CentOS 6 / CentOS 7 Rumi, August 30, 2019 Let’s install NTP service first: yum install ntp Configure NTP services by updating the following section (only if appropriate): nano /etc/ntp.conf And by commenting on the sections: # Use public servers from the pool.ntp.org project. # Please consider joining the pool (http://www.pool.ntp.org/join.html). #server 0.centos.pool.ntp.org iburst #server 1.centos.pool.ntp.org iburst #server 2.centos.pool.ntp.org… Continue Reading
TimeZone adjust in Linux Rumi, June 6, 2014 For Redhat/CentOS/Fedora/SL distribution Type the redhat-config-date command at the command line to start the time and date properties tool, run: # redhat-config-date OR type setup and select time zone configuration. This tool is recommended for remote ssh text based sessions. # setup Select timezone configuration. Just follow on screen… Continue Reading
Set date/time permanently on Virtualbox Guest Rumi, June 6, 2014October 5, 2019 First you need to ssh to the server and be root and then do these step by step: 1. Set the date/time as following format date -s “2 OCT 2013 18:00:00″ 2. Set the proper Timezone for your area- # cd /etc # ln -sf /usr/share/zoneinfo/EST localtime 3. Set it… Continue Reading