-
-
Save jay-johnson/038e68b2f456d4d0ef154516707d6fc8 to your computer and use it in GitHub Desktop.
Setting EC2 AMI local time to EST and EST5EDT
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| [root@ip-10-0-1-144 ~]# cp /usr/share/zoneinfo/EST /etc/localtime | |
| [root@ip-10-0-1-144 ~]# date | |
| Mon Aug 22 11:09:18 EST 2016 | |
| [root@ip-10-0-1-144 ~]# cp /usr/share/zoneinfo/EST5EDT /etc/localtime | |
| [root@ip-10-0-1-144 ~]# date | |
| Mon Aug 22 12:09:25 EDT 2016 | |
| [root@ip-10-0-1-144 ~]# service crond restart | |
| Stopping crond: [ OK ] | |
| Starting crond: [ OK ] | |
| [root@ip-10-0-1-144 ~]# service rsyslog restart | |
| Shutting down system logger: [ OK ] | |
| Starting system logger: [ OK ] | |
| [root@ip-10-0-1-144 ~]# |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment