{"id":486,"date":"2008-09-05T02:07:00","date_gmt":"2008-09-04T17:07:00","guid":{"rendered":"https:\/\/wp-78qb7hnp.pistolfly.jp\/weblog\/2008\/09\/leopardmacportspostgresql.html"},"modified":"2008-09-05T02:07:00","modified_gmt":"2008-09-04T17:07:00","slug":"leopardmacportspostgresql","status":"publish","type":"post","link":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html","title":{"rendered":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"},"content":{"rendered":"<pre class=\"command-line\">$ sudo port install postgresql82\n--->  Fetching postgresql82\n--->  Attempting to fetch postgresql-8.2.9.tar.bz2 from http:\/\/ftp8.us.postgresql.org\/postgresql\/source\/v8.2.9\n--->  Attempting to fetch postgresql-8.2.9.tar.bz2 from http:\/\/ftp9.us.postgresql.org\/pub\/mirrors\/postgresql\/source\/v8.2.9\n--->  Verifying checksum(s) for postgresql82\n--->  Extracting postgresql82\n--->  Configuring postgresql82\n--->  Building postgresql82\n--->  Staging postgresql82 into destroot\n--->  Installing postgresql82 8.2.9_0\nTo use the postgresql server, install the postgresql82-server port\n--->  Activating postgresql82 8.2.9_0\n--->  Cleaning postgresql82\n$ sudo port install postgresql82-server\nPassword:\n--->  Fetching postgresql82-server\n--->  Verifying checksum(s) for postgresql82-server\n--->  Extracting postgresql82-server\n--->  Configuring postgresql82-server\n--->  Building postgresql82-server with target all\n--->  Staging postgresql82-server into destroot\n--->  Creating launchd control script\n###########################################################\n# A startup item has been generated that will aid in\n# starting postgresql82-server with launchd. It is disabled\n# by default. Execute the following command to start it,\n# and to cause it to launch at startup:\n#\n# sudo launchctl load -w \/Library\/LaunchDaemons\/org.macports.postgresql82-server.plist\n###########################################################\n--->  Installing postgresql82-server 8.2.9_0\nTo create a database instance, after install do\n sudo mkdir -p \/opt\/local\/var\/db\/postgresql82\/defaultdb\n sudo chown postgres:postgres \/opt\/local\/var\/db\/postgresql82\/defaultdb\n sudo su postgres -c '\/opt\/local\/lib\/postgresql82\/bin\/initdb -D \/opt\/local\/var\/db\/postgresql82\/defaultdb'\nTo tweak your DBMS, consider increasing kern.sysv.shmmax by adding an increased kern.sysv.shmmax .. to \/etc\/sysctl.conf\n--->  Activating postgresql82-server 8.2.9_0\n--->  Cleaning postgresql82-server\n<\/pre>\n<pre class=\"command-line\">$ sudo mkdir -p \/opt\/local\/var\/db\/postgresql82\/defaultdb\n$ sudo chown postgres:postgres \/opt\/local\/var\/db\/postgresql82\/defaultdb\n$ sudo su postgres -c '\/opt\/local\/lib\/postgresql82\/bin\/initdb -D \/opt\/local\/var\/db\/postgresql82\/defaultdb'\nPassword:\nThe files belonging to this database system will be owned by user \"postgres\".\nThis user must also own the server process.\nThe database cluster will be initialized with locale ja_JP.UTF-8.\nThe default database encoding has accordingly been set to UTF8.\nfixing permissions on existing directory \/opt\/local\/var\/db\/postgresql82\/defaultdb ... ok\ncreating subdirectories ... ok\nselecting default max_connections ... 30\nselecting default shared_buffers\/max_fsm_pages ... 2400kB\/20000\ncreating configuration files ... ok\ncreating template1 database in \/opt\/local\/var\/db\/postgresql82\/defaultdb\/base\/1 ... ok\ninitializing pg_authid ... ok\ninitializing dependencies ... ok\ncreating system views ... ok\nloading system objects' descriptions ... ok\ncreating conversions ... ok\nsetting privileges on built-in objects ... ok\ncreating information schema ... ok\nvacuuming database template1 ... ok\ncopying template1 to template0 ... ok\ncopying template1 to postgres ... ok\nWARNING: enabling \"trust\" authentication for local connections\nYou can change this by editing pg_hba.conf or using the -A option the\nnext time you run initdb.\nSuccess. You can now start the database server using:\n    \/opt\/local\/lib\/postgresql82\/bin\/postgres -D \/opt\/local\/var\/db\/postgresql82\/defaultdb\nor\n    \/opt\/local\/lib\/postgresql82\/bin\/pg_ctl -D \/opt\/local\/var\/db\/postgresql82\/defaultdb -l logfile start\n<\/pre>\n","protected":false},"excerpt":{"rendered":"<p>$ sudo port install postgresql82 ---> Fetching postgresql82 ---> Attempting to fetch postgresql-8.2.9.tar.bz2  &hellip; <a href=\"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html\" class=\"more-link\">\u7d9a\u304d\u3092\u8aad\u3080 <span class=\"screen-reader-text\">Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb<\/span> <span class=\"meta-nav\">&rarr;<\/span><\/a><\/p>\n","protected":false},"author":2,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_jetpack_newsletter_access":"","_jetpack_dont_email_post_to_subs":false,"_jetpack_newsletter_tier_id":0,"_jetpack_memberships_contains_paywalled_content":false,"_locale":"","_original_post":"","_jetpack_feature_clip_id":0,"_jetpack_memberships_contains_paid_content":false,"footnotes":"","jetpack_post_was_ever_published":false},"categories":[34,37],"tags":[],"class_list":["post-486","post","type-post","status-publish","format-standard","hentry","category-mac","category-postgresql","ja"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v27.7 - https:\/\/yoast.com\/product\/yoast-seo-wordpress\/ -->\n<title>Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly<\/title>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html\" \/>\n<meta property=\"og:locale\" content=\"ja_JP\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly\" \/>\n<meta property=\"og:description\" content=\"$ sudo port install postgresql82 ---&gt; Fetching postgresql82 ---&gt; Attempting to fetch postgresql-8.2.9.tar.bz2 &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &rarr;\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html\" \/>\n<meta property=\"og:site_name\" content=\"Pistolfly\" \/>\n<meta property=\"article:published_time\" content=\"2008-09-04T17:07:00+00:00\" \/>\n<meta name=\"author\" content=\"Pistolfly\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"\u57f7\u7b46\u8005\" \/>\n\t<meta name=\"twitter:data1\" content=\"Pistolfly\" \/>\n\t<meta name=\"twitter:label2\" content=\"\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593\" \/>\n\t<meta name=\"twitter:data2\" content=\"2\u5206\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\\\/\\\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html#article\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html\"},\"author\":{\"name\":\"Pistolfly\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"headline\":\"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\",\"datePublished\":\"2008-09-04T17:07:00+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html\"},\"wordCount\":3,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"articleSection\":[\"Mac\",\"PostgreSQL\"],\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html\",\"name\":\"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly\",\"isPartOf\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\"},\"datePublished\":\"2008-09-04T17:07:00+00:00\",\"breadcrumb\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html#breadcrumb\"},\"inLanguage\":\"ja\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/2008\\\/09\\\/leopardmacportspostgresql.html#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"\u30db\u30fc\u30e0\",\"item\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#website\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/\",\"name\":\"Pistolfly\",\"description\":\"Developer Blog\",\"publisher\":{\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"ja\"},{\"@type\":[\"Person\",\"Organization\"],\"@id\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/#\\\/schema\\\/person\\\/e779e918730b507907b3a35b77a9a2ab\",\"name\":\"Pistolfly\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"ja\",\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"url\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"contentUrl\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\",\"caption\":\"Pistolfly\"},\"logo\":{\"@id\":\"https:\\\/\\\/secure.gravatar.com\\\/avatar\\\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g\"},\"description\":\"Software Engineer in Tokyo, Japan\",\"url\":\"https:\\\/\\\/www.pistolfly.com\\\/weblog\\\/author\\\/pistolfly\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html","og_locale":"ja_JP","og_type":"article","og_title":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly","og_description":"$ sudo port install postgresql82 ---> Fetching postgresql82 ---> Attempting to fetch postgresql-8.2.9.tar.bz2 &hellip; \u7d9a\u304d\u3092\u8aad\u3080 Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb &rarr;","og_url":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html","og_site_name":"Pistolfly","article_published_time":"2008-09-04T17:07:00+00:00","author":"Pistolfly","twitter_card":"summary_large_image","twitter_misc":{"\u57f7\u7b46\u8005":"Pistolfly","\u63a8\u5b9a\u8aad\u307f\u53d6\u308a\u6642\u9593":"2\u5206"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html#article","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html"},"author":{"name":"Pistolfly","@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"headline":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb","datePublished":"2008-09-04T17:07:00+00:00","mainEntityOfPage":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html"},"wordCount":3,"commentCount":0,"publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"articleSection":["Mac","PostgreSQL"],"inLanguage":"ja","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html","url":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html","name":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb - Pistolfly","isPartOf":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#website"},"datePublished":"2008-09-04T17:07:00+00:00","breadcrumb":{"@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html#breadcrumb"},"inLanguage":"ja","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/www.pistolfly.com\/weblog\/2008\/09\/leopardmacportspostgresql.html#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"\u30db\u30fc\u30e0","item":"https:\/\/www.pistolfly.com\/weblog"},{"@type":"ListItem","position":2,"name":"Leopard\u306bmacports\u3067PostgreSQL8.2\u3092\u30a4\u30f3\u30b9\u30c8\u30fc\u30eb"}]},{"@type":"WebSite","@id":"https:\/\/www.pistolfly.com\/weblog\/#website","url":"https:\/\/www.pistolfly.com\/weblog\/","name":"Pistolfly","description":"Developer Blog","publisher":{"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.pistolfly.com\/weblog\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"ja"},{"@type":["Person","Organization"],"@id":"https:\/\/www.pistolfly.com\/weblog\/#\/schema\/person\/e779e918730b507907b3a35b77a9a2ab","name":"Pistolfly","image":{"@type":"ImageObject","inLanguage":"ja","@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","url":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g","caption":"Pistolfly"},"logo":{"@id":"https:\/\/secure.gravatar.com\/avatar\/0b3ddb2859adabf28a2b97ae9fff98772ddffc46088d11cad2b9a2cef66115e7?s=96&d=mm&r=g"},"description":"Software Engineer in Tokyo, Japan","url":"https:\/\/www.pistolfly.com\/weblog\/author\/pistolfly"}]}},"jetpack_featured_media_url":"","jetpack_shortlink":"https:\/\/wp.me\/paorzz-7Q","jetpack-related-posts":[],"jetpack_sharing_enabled":true,"_links":{"self":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/486","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/users\/2"}],"replies":[{"embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/comments?post=486"}],"version-history":[{"count":0,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/posts\/486\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/media?parent=486"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/categories?post=486"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.pistolfly.com\/weblog\/wp-json\/wp\/v2\/tags?post=486"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}