Created
August 22, 2012 14:48
-
-
Save github101/3426337 to your computer and use it in GitHub Desktop.
AWS EC2 时区设置
This file contains 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
设置时区 | |
ec2实例和国外vps默认的时区都是当地的,不适合国内使用,通过手动修改自己的时区 | |
ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime | |
date一下看看已经更改过来了 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment