利用規約を守って投稿してください。また、よくある質問および投稿の手引きも参照してください。 メッセージの投稿にはアカウントが必要です。未登録の方は、ユーザ登録ページからアカウントを作成することができます。 インストール Synapticでpostgresql、pgadmin3をインストール PostgreSQLでは、OSのユーザとデータベースユーザとは独立している。 インストールした直後の状態はOSのユーザとしてのpostgres(このままではログインできない) とデータベースユーザとしてのpostgresがあるのみ psqlでの初期設定 PostgreSQLにログインするためLinuxユーザとしてのpostgresのパスワードを設定する。 $ sudo passwd postgres Linuxユーザとしてのpostgresでログイン $ su postgres この時点でシェルから $