Skip to content

Instantly share code, notes, and snippets.

@github101
Created August 22, 2012 14:48
Show Gist options
  • Select an option

  • Save github101/3426337 to your computer and use it in GitHub Desktop.

Select an option

Save github101/3426337 to your computer and use it in GitHub Desktop.

Revisions

  1. github101 created this gist Aug 22, 2012.
    6 changes: 6 additions & 0 deletions gistfile1.txt
    Original file line number Diff line number Diff line change
    @@ -0,0 +1,6 @@
    设置时区
    ec2实例和国外vps默认的时区都是当地的,不适合国内使用,通过手动修改自己的时区

    ln -sf /usr/share/zoneinfo/Asia/Shanghai /etc/localtime

    date一下看看已经更改过来了