Amazon EC2 の timezone 変更
EC2に立てたサーバだけど、timezoneがUTCってのがデフォルトなのよね。
これちょっと不便。
で、変更しました。
$ sudo cp /usr/share/zoneinfo/Japan /etc/localtime
そしてらこうなった。
bitnami@ip-xx-xxx-xx-xx:/etc$ date
Thu Aug 23 10:17:58 UTC 2012
bitnami@ip-xx-xxx-xx-xx:/etc$
bitnami@ip-xx-xxx-xx-xx:/etc$ sudo cp /usr/share/zoneinfo/Japan /etc/localtime
bitnami@ip-xx-xxx-xx-xx:/etc$
bitnami@ip-xx-xxx-xx-xx:/etc$ date
Thu Aug 23 19:18:29 JST 2012
あれ、でもbitnamiのCloud Hosting側で見たら変わってないや。ま、いっか。
以上、おしまい。
Fatal error: Uncaught Error: Call to undefined function related_posts() in /home/insidepapaya/insideofpapaya.com/public_html/wordpress/wp-content/themes/hueman-child/single.php:71 Stack trace: #0 /home/insidepapaya/insideofpapaya.com/public_html/wordpress/wp-includes/template-loader.php(106): include() #1 /home/insidepapaya/insideofpapaya.com/public_html/wordpress/wp-blog-header.php(19): require_once('/home/insidepap...') #2 /home/insidepapaya/insideofpapaya.com/public_html/index.php(17): require('/home/insidepap...') #3 {main} thrown in /home/insidepapaya/insideofpapaya.com/public_html/wordpress/wp-content/themes/hueman-child/single.php on line 71