postgresql

インストール

amori@redgrove:~$ sudo apt-get install postgresql
パッケージリストを読みこんでいます... 完了
依存関係ツリーを作成しています... 完了
以下の特別パッケージがインストールされます:

 libpq3 postgresql-client

提案パッケージ:

 postgresql-doc libpg-perl libpgjava libpgtcl postgresql-dev postgresql-contrib pidentd ident-server pgdocs
 pgaccess

以下のパッケージが新たにインストールされます:

 libpq3 postgresql postgresql-client

アップグレード: 0 個、新規インストール: 3 個、削除: 0 個、保留: 25 個。
4459kB のアーカイブを取得する必要があります。
展開後に追加で 11.6MB のディスク容量が消費されます。
続行しますか? [Y/n] y
取得:1 http://www.ring.gr.jp stable/main libpq3 7.4.7-6sarge1 [126kB]
取得:2 http://www.ring.gr.jp stable/main postgresql-client 7.4.7-6sarge1 [538kB]
取得:3 http://www.ring.gr.jp stable/main postgresql 7.4.7-6sarge1 [3795kB]
4459kB を 1s で取得しました (2647kB/s)
debconf: フロントエンドの初期化に失敗しました: Gnome
debconf: (Unable to load Gnome -- is libgnome2-perl installed?)
debconf: フロントエンドをフォールバックします: Dialog
パッケージを事前設定しています ...
未選択パッケージ libpq3 を選択しています。
(データベースを読み込んでいます... 現在 58429 個のファイルとディレクトリがインストールされています。)
(.../libpq3_7.4.7-6sarge1_i386.deb から) libpq3 を展開しています...
未選択パッケージ postgresql-client を選択しています。
(.../postgresql-client_7.4.7-6sarge1_i386.deb から) postgresql-client を展開しています...
未選択パッケージ postgresql を選択しています。
(.../postgresql_7.4.7-6sarge1_i386.deb から) postgresql を展開しています...
debconf: フロントエンドの初期化に失敗しました: Gnome
debconf: (Unable to load Gnome -- is libgnome2-perl installed?)
debconf: フロントエンドをフォールバックします: Dialog
Adding group `postgres' (107)...
終了。
システムユーザ postgres を追加しています...
Adding new user `postgres' (103) with group `postgres'.
ホームディレクトリ /var/lib/postgres を作成しています。
libpq3 (7.4.7-6sarge1) を設定しています ...

postgresql-client (7.4.7-6sarge1) を設定しています ...
debconf: フロントエンドの初期化に失敗しました: Gnome
debconf: (Unable to load Gnome -- is libgnome2-perl installed?)
debconf: フロントエンドをフォールバックします: Dialog

postgresql (7.4.7-6sarge1) を設定しています ...
debconf: フロントエンドの初期化に失敗しました: Gnome
debconf: (Unable to load Gnome -- is libgnome2-perl installed?)
debconf: フロントエンドをフォールバックします: Dialog

Creating config file /etc/postgresql/postmaster.conf with new version
The files belonging to this database system will be owned by user "postgres".
This user must also own the server process.

The database cluster will be initialized with locale ja_JP.EUC-JP.

fixing permissions on existing directory /var/lib/postgres/data... ok
creating directory /var/lib/postgres/data/base... ok
creating directory /var/lib/postgres/data/global... ok
creating directory /var/lib/postgres/data/pg_xlog... ok
creating directory /var/lib/postgres/data/pg_clog... ok
selecting default max_connections... 100
selecting default shared_buffers... 1000
creating configuration files... ok
creating template1 database in /var/lib/postgres/data/base/1... ok
initializing pg_shadow... ok
enabling unlimited row size for system tables... ok
initializing pg_depend... ok
creating system views... ok
loading pg_description... ok
creating conversions... ok
setting privileges on built-in objects... ok
creating information schema... ok
vacuuming database template1... ok
copying template1 to template0... ok

Success. The database server should be started automatically.
If not, you can start the database server using:

   /etc/init.d/postgresql start

Creating config file /etc/postgresql/postgresql.conf with new version


Last-modified: 2012-03-12 (月) 17:05:09 (166d)