*Fedora15 [#h0aa557d] **パッケージインストール [#s0a3ea12] # yum -y install php-mysql # yum -y install php-pgsql # yum -y install php-pdo # yum -y install php-mbstring # yum -y install php-gd **サービス自動起動 [#mfb113e6] # chkconfig httpd on # chkconfig mysqld on # chkconfig postgresql on **初期化 [#c47e1f03] # service postgresql initdb **PostgreSQL環境 [#tb592d0a] # psql -V psql (PostgreSQL) 9.0.4 コマンドライン編集機能のサポートが組み込まれています。 # su - postgres -bash-4.2$ psql postgres=# \l データベース一覧 名前 | 所有者 | エンコーディング | 照合順序 | Ctype(変換演算子) | アクセス権 -----------+----------+------------------+-------------+-------------------+----------------------- postgres | postgres | UTF8 | ja_JP.UTF-8 | ja_JP.UTF-8 | template0 | postgres | UTF8 | ja_JP.UTF-8 | ja_JP.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres template1 | postgres | UTF8 | ja_JP.UTF-8 | ja_JP.UTF-8 | =c/postgres + | | | | | postgres=CTc/postgres (3 行)