{"image_url":null,"title":"Amazon Linux AMI\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b","blog_title":"Dazing days","height":"190","version":"1.0","categories":["\u30b5\u30fc\u30d0\u7ba1\u7406","AWS","postgres"],"author_url":"https://blog.hatena.ne.jp/ts_asano/","html":"<iframe src=\"https://hatenablog-parts.com/embed?url=https%3A%2F%2Fts-asano.hatenadiary.org%2Fentry%2F20120910%2F1347251887\" title=\"Amazon Linux AMI\u306bpostgresql\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u3059\u308b - Dazing days\" class=\"embed-card embed-blogcard\" scrolling=\"no\" frameborder=\"0\" style=\"display: block; width: 100%; height: 190px; max-width: 500px; margin: 10px 0px;\"></iframe>","width":"100%","description":"\u203b\u65e2\u306bApache\u3084PHP\u304c\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\u6e08\u307f\u3067\u3042\u308b\u3053\u3068\u524d\u63d0\u3067\u3059\u3002yum\u3067\u30d1\u30c3\u30b1\u30fc\u30b8\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb # yum install -y postgresql postgresql-server postgresql-libs php-pgsql postgres\u30e6\u30fc\u30b6\u306b\u30d1\u30b9\u30ef\u30fc\u30c9\u8a2d\u5b9a # passwd postgres postgres\u30e6\u30fc\u30b6\u306ebash\u74b0\u5883\u5909\u6570\u306b\u5b58\u5728\u3057\u306a\u3044\u30d1\u30b9\u304c\u6307\u5b9a\u3055\u308c\u3066\u3044\u308b\u306e\u3067\u4fee\u6b63 # vim /var/lib/pgsql9/.bash_profile PGDATA=/var/lib/pgsql/data \u2193 PGDATA=/var/lib/pgsql9/datapostgres\u2026","blog_url":"https://ts-asano.hatenadiary.org/","provider_url":"https://hatena.blog","provider_name":"Hatena Blog","published":"2012-09-10 13:38:07","author_name":"ts_asano","url":"https://ts-asano.hatenadiary.org/entry/20120910/1347251887","type":"rich"}