2012年9月18日火曜日

Redmine2.1インストールしてみた

先日リリースされたRedmine2.1新規インストールしてみた。ついでにDBも先日リリースされたPostgreSQL9.2です。尚、OSはCentOS6.3(x86)です。

以前CentOS6にRedmine2.0+PostgreSQL9.1を構築した手順と全く同じ要領で問題ありませんでした。

こちらを参考にして頂けると幸いです。
http://stdman.blogspot.jp/2012/05/centos6redmine20.html

PostgreSQL9.2ではcreateuserの仕様が若干変わったようで、オプションでロールを割り当てるようです。

ちなみにredmine用ユーザ作成時に、-dでDB作成可、-Pでパスワード作成


$ createuser redmine -d -P
Enter password for new role: ********
Enter it again: ********

オプションはこんな感じです。

$ createuser --help
createuser creates a new PostgreSQL role.

Usage:
  createuser [OPTION]... [ROLENAME]

Options:
  -c, --connection-limit=N  connection limit for role (default: no limit)
  -d, --createdb            role can create new databases
  -D, --no-createdb         role cannot create databases (default)
  -e, --echo                show the commands being sent to the server
  -E, --encrypted           encrypt stored password
  -i, --inherit             role inherits privileges of roles it is a
                            member of (default)
  -I, --no-inherit          role does not inherit privileges
  -l, --login               role can login (default)
  -L, --no-login            role cannot login
  -N, --unencrypted         do not encrypt stored password
  -P, --pwprompt            assign a password to new role
  -r, --createrole          role can create new roles
  -R, --no-createrole       role cannot create roles (default)
  -s, --superuser           role will be superuser
  -S, --no-superuser        role will not be superuser (default)
  -V, --version             output version information, then exit
  --interactive             prompt for missing role name and attributes rather
                            than using defaults
  --replication             role can initiate replication
  --no-replication          role cannot initiate replication
  -?, --help                show this help, then exit

Connection options:
  -h, --host=HOSTNAME       database server host or socket directory
  -p, --port=PORT           database server port
  -U, --username=USERNAME   user name to connect as (not the one to create)
  -w, --no-password         never prompt for password
  -W, --password            force password prompt
 
 
Redmine 2.1よりチケットやWikiに添付ファイルのサムネイル画像が表示できるようになった。
Redmine_ROOT/tmp/thumbails 書込み権限が必要ですので注意
 

ESXi5にCentOS 6.3

vmxnet_init_ring alloc_page failed

ESXi5にてVMwareToolsをインストールするとNicがエラーを起こす場合の対処方法

環境:Dell PowerEdgeR410、Broadcom NetXtremeⅡ BCM5716

1.CentOSをシャットダウン
2.仮想マシンの設定で既存のネットワークアダプタを削除
3.イーサーネットアダプタを追加するがアダプタタイプをVMXNET 3を選択
4.CentOSを起動

以上

Google検索