Apache Roller5.0.0 インストール (その1)
2012-07-09


#transform_null_equals = off

・・・
─────────────────────────────────────


手順8) Roller用データベースの作成

以下のようにデータベースを作成します。
    データベース名       = rollerdb
    データベースユーザ = rollerdb
    ユーザパスワード    = rollerdb123
─────────────────────────────────────
 # su - postgres
 $ psql -U postgres
 psql (9.1.3)
 Type "help" for help.
 postgres=# CREATE DATABASE rollerdb WITH OWNER=postgres ENCODING='utf-8' TABLESPACE=pg_default;
 CREATE DATABASE

 postgres=# \l
                              List of databases
        Name    |  Owner       | Encoding   | Collate     | Ctype   |   Access privileges
 -----------+----------+----------+---------+-------+-----------------------
  postgres      | postgres     | UTF8         | C            | C        |
  rollerdb       | postgres      | UTF8         | C           | C         |
  template0    | postgres     | UTF8         | C            | C         | =c/postgres          +
                   |                  |                  |               |            | postgres=CTc/postgres
  template1    | postgres     | UTF8          | C            | C         | =c/postgres          +
                   |                  |                  |               |             | postgres=CTc/postgres
 (4 rows)

 postgres=# \connect rollerdb
 You are now connected to database "rollerdb" as user "postgres".

 rollerdb=# CREATE USER rollerdb PASSWORD 'rollerdb123' VALID UNTIL 'infinity';
 CREATE ROLE

 rollerdb=# \du
                              List of roles
  Role name   |                   Attributes                                               | Member of
 -----------+------------------------------------------------+-----------

続きを読む
戻る
[Apache Roller]

コメント(全50件)
※コメントの受付件数を超えているため、この記事にコメントすることができません。


記事を書く
powered by ASAHIネット