残念ながら2011年7月をもってFortiClient Standard Editionのフリーダウンロード提供が終了してしまったようです。
FortiGateライセンス所有者は専用サポートページからダウンロードが可能です。または購入先に問い合わせてみてください。
でも実はダウンロードが可能なんです!ここでは書けませんが・・・
日々業務で接しているLinux,PostgreSQL,SQLServer,FortiGateなどに関することの覚え書きや個人的に気になったことなどを綴っています。
もし、ここの情報があなたのお役に立てるならば幸いです。
2011年8月12日金曜日
2011年7月27日水曜日
CentOS5にRedmine1.2+PostgreSQL
Redmine1.2にて今まで悩み続けていたPDFの日本語文字化けがついに解消されました。
では早速
OS:CentOS5
Web:Apache2.2.19(ソースから) 尚、Railsの実行ではPassengerを使用
DB:PostgreSQL8.4.8(ソースから)
Ruby:Ruby Enterprise Edition
Rails:2.3.11
/home/redmine/public_htmlにRedmineを配置させます。
OSインストールは割愛させて頂きますが、私はインストール時のパッケージ選択ではbaseのみ選択しています。(5.3ですがよろしければこちらを参考にどうぞ)
●必要パッケージをインストール
# yum groupinstall "Development Tools"
# yum install openssl-devel readline-devel zlib-devel curl-devel zlib-devel
●Apacheのインストール(ソースからインストール)
細かい設定は省略します
# cd /usr/local/src
# wget http://archive.apache.org/dist/httpd/httpd-2.2.19.tar.gz
# tar zxvf httpd-2.2.19.tar.gz
# cd httpd-2.2.19
# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all
# make;make install
# vi /usr/local/apache/conf/httpd.conf
ServerAdmin 管理者メールアドレス
ServerName localhost:80
DocumentRoot "/home" ←後ほど変更します
Include conf/extra/httpd-userdir.conf ←コメント解除
自動起動
# vi /etc/rc.local
追記
/usr/local/apache/bin/apachectl start
・ApacheLogのローテーションは設定おきましょう(推奨)
●PostgreSQLのインストール(ソースからインストール)
8.4.3ですがよろしければこちらを参考にどうぞ(PL/pgsqlをインストールすること)
※DB名:redmine、ユーザ:redmine、パスワード:redmine
●Ruby 1.8.7
# cd /usr/local/src
# wget http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz
# tar zxvf ruby-enterprise-1.8.7-2011.03.tar.gz
# cd ./ruby-enterprise-1.8.7-2011.03
# ./installer --dont-install-useful-gems --no-dev-docs
※--dont-install-useful-gems → gemパッケージは後で手動インストールするのでここでは不要
※--no-dev-docs → 開発向けドキュメントは不要
Press Enter to continue, or Ctrl-C to abort. →Enterでインストールを進めます
[/opt/ruby-enterprise-1.8.7-2011.03] : /usr/local/ →インストール先の指定(推奨です)
・
・
make install
/usr/bin/install -c -m 0755 iconv.so /usr/local/lib/ruby/site_ruby/1.8/i686-linux
--------------------------------------------
Installing useful libraries...
/usr/local/bin/ruby /usr/local/bin/gem sources --update
source cache successfully updated
Updating /usr/local/bin/irb...
Updating /usr/local/bin/ri...
Updating /usr/local/bin/testrb...
Updating /usr/local/bin/erb...
Updating /usr/local/bin/gem...
Updating /usr/local/bin/rdoc...
--------------------------------------------
Ruby Enterprise Edition is successfully installed!
If want to use Phusion Passenger (http://www.modrails.com) in combination
with Ruby Enterprise Edition, then you must reinstall Phusion Passenger against
Ruby Enterprise Edition, as follows:
/usr/local/bin/passenger-install-apache2-module
Make sure you don't forget to paste the Apache configuration directives that
the installer gives you.
If you ever want to uninstall Ruby Enterprise Edition, simply remove this
directory:
/usr/local
If you have any questions, feel free to visit our website:
http://www.rubyenterpriseedition.com
Enjoy Ruby Enterprise Edition, a product of Phusion (www.phusion.nl) :-)
こんな感じでインストールが終了します。
●Rubygems
バージョンチェック
# gem -v
1.5.2
※インストール先が/opt/ruby-enterprise-1.8.7-2011.03の場合は絶対パス(フルパス)で指定
●Rack 1.1.1のインストール
# gem install rack -v=1.1.1 --no-rdoc --no-ri
Fetching: rack-1.1.1.gem (100%)
Successfully installed rack-1.1.1
1 gem installed
●i18n 0.4.2のインストール
# gem install i18n -v=0.4.2 --no-rdoc --no-ri
Fetching: i18n-0.4.2.gem (100%)
Successfully installed i18n-0.4.2
1 gem installed
●pgのインストール
PostgreSQLへのパスは私の環境ですのでご自分のパスに読み替えてください。
# export PATH=$PATH:/usr/local/pgsql/bin
# gem install pg -- --with-pgsql-dir=/usr/local/pgsql/ --with-pgsql-lib=/usr/local/pgsql/lib/ --with-pgsql-include=/usr/local/pgsql/include/ --no-rdoc --no-ri
上記でインストールをするとWikiページをPDF等で出力する際、Internal Errorが発生することがわかりました。
# gem install pg -- --with-pg-dir=/usr/local/pgsql/ --with-pg-lib=/usr/local/pgsql/lib/ --with-pg-include=/usr/local/pgsql/include/ --no-rdoc --no-ri
Fetching: pg-0.11.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.11.0
1 gem installed
Installing ri documentation for pg-0.11.0...
Installing RDoc documentation for pg-0.11.0...
●postgres-prのインストール
# gem install postgres-pr --no-rdoc --no-ri
Fetching: postgres-pr-0.6.3.gem (100%)
Successfully installed postgres-pr-0.6.3
1 gem installed
●Rails 2.3.11のインストール
# gem install -v=2.3.11 rails
# gem list
*** LOCAL GEMS ***
actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
i18n (0.4.2)
pg (0.11.0)
postgres-pr (0.6.3)
rack (1.1.1)
rails (2.3.11)
rake (0.8.7)
Redmine1.2系はrake0.8.7が必要です。もしrakeが0.8.7ではない場合は別途インストールします。
# gem install rake -v=0.8.7 --no-rdoc --no-ri
●Redmineのインストール
# mkdir -p /home/redmine/public_html
# chmod -R 755 /home/redmine/public_html
# cd /home/redmine/public_html
開発版or安定版(私は開発版を使用しています)
v1.2開発版 # svn checkout http://redmine.rubyforge.org/svn/trunk/ ./
v1.2安定版 # svn checkout http://redmine.rubyforge.org/svn/branches/1.2-stable/ ./
# cp -p ./config/database.yml.example ./config/database.yml
# vi ./config/database.yml
production:
adapter: postgresql
database: redmine ←postgresqlで作成したDB名
host: localhost
username: redmine ←DB接続ユーザ
password: "redmine" ←DB接続ユーザパスワード
# cp -p ./config/configuration.yml.example ./config/configuration.yml
# vi ./config/configuration.yml
一番下にあるproduction:にメール情報を追記(以下はローカルからの発信な場合)
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "localhost"
port: 25
●初期設定
# cd /home/redmine/public_html/
# rake generate_session_store
(in /home/redmine/public_html)
# rake db:migrate RAILS_ENV="production"
(in /home/redmine/public_html)
# rake redmine:load_default_data RAILS_ENV="production"
Select language: bg, bs, ca, cs, da, de, el, en, en-GB, es, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]
上記表示で止まるのでjaと入力
開発版の場合rake db:migrate RAILS_ENV="production"実行時、gem versionエラーが発生することがありますこの場合/config/environment.rbを書き換えます。(正しいかどうかわらないが回避できた)
RAILS_GEM_VERSION = '2.3.14' unless defined? RAILS_GEM_VERSION
↓
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
●Passengerのインストール
# gem install passenger --no-rdoc --no-ri
Fetching: fastthread-1.0.7.gem (100%)
Building native extensions. This could take a while...
Fetching: daemon_controller-0.2.6.gem (100%)
Fetching: passenger-3.0.7.gem (100%)
Successfully installed fastthread-1.0.7
Successfully installed daemon_controller-0.2.6
Successfully installed passenger-3.0.7
3 gems installed
●PassengerのApache用モジュールのインストール
Apacheをソースからインストールしたのでapxs2、path環境変数を設定する必要がある
# export APXS2=/usr/local/apache/bin/apxs
# export PATH=/usr/local/apache/bin:$PATH
# passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v3.0.7.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
途中でnot foundが出たら解決して再度実行
・
・
・
以下をApache設定のため保存しておく
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/local/bin/ruby
After you restart Apache, you are ready to deploy any number of Ruby on Rails
applications on Apache, without any further Ruby on Rails-specific
configuration!
Press ENTER to continue.
--------------------------------------------
Deploying a Ruby on Rails application: an example
Suppose you have a Rails application in /somewhere. Add a virtual host to your
Apache configuration file and set its DocumentRoot to /somewhere/public:
VirtualHostでの運用の場合は以下を参考に
<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public # <-- be sure to point to 'public'!
<Directory /somewhere/public>
AllowOverride all # <-- relax Apache security settings
Options -MultiViews # <-- MultiViews must be turned off
</Directory>
</VirtualHost>
And that's it! You may also want to check the Users Guide for security and
optimization tips, troubleshooting and other useful information:
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/doc/Users guide Apache.html
Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
http://www.modrails.com/
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
●Apache用設定ファイルの新規作成
# vi /usr/local/apache/conf/extra/passnger.conf
#保存した行を記述
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/local/bin/ruby
#Passengerが追加するHTTPヘッダ削除を追記
Header always unset "X-Powered-By"
Header always unset "X-Rack-Cache"
Header always unset "X-Content-Digest"
Header always unset "X-Runtime"
#必要に応じてPassengerのチューニングのための設定を追加(任意)
※内容をまだ理解していないので私は適用しませんでした。
#PassengerMaxPoolSize 20
#PassengerMaxInstancesPerApp 4
#PassengerPoolIdleTime 3600
#PassengerUseGlobalQueue on
#PassengerHighPerformance on
#PassengerStatThrottleRate 10
#RailsSpawnMethod smart
#RailsAppSpawnerIdleTime 86400
#RailsFrameworkSpawnerIdleTime 0
以上でpassnger.confはおしまいですので保存します
httpd.confにpassnger.confを読み込ませる
# vi /usr/local/apache/conf/httpd.conf
最後にでも追記
Include conf/extra/passnger.conf
ついでにDocumentRootをRedmineとする(IPで接続できるように)
"/home" → "/home/redmine/public_html/public"
Apacheのユーザが書き込みできるように設定
# chown -R daemon:daemon /home/redmine
# /usr/local/apache/bin/apachectl restart
これでIPアドレスによる接続はできると思います
アクセスできない場合・・・selinuxOFF、iptablesで80ポート開放もチェックしてみよう
●Redmineログのローテーション
# cd /home/redmine/public_html
# cp ./config/additional_environment.rb.example ./config/additional_environment.rb
# vi ./config/additional_environment.rb
以下追記
#Logger.new(PATH,NUM_FILES_TO_ROTATE,FILE_SIZE)
config.logger = Logger.new(config.log_path, 2, 1000000)
config.logger.level = Logger::INFO
●Wikiで使えるHTML タグの追加
# vi ./lib/redcloth3.rb
一番下の方にALLOWED_TAGS = %w(redpre pre code notextile)という行がありこれに使いたいタグを追記していきます。私はFONTとBRを足しました。
ALLOWED_TAGS = %w(redpre pre code notextile)
↓
ALLOWED_TAGS = %w(redpre pre code notextile font br)
●テーマを追加
日本語環境でRedmineの画面を見やすくすることを目的としたRedmine用テーマ「farend basic」を使えるようにします。
# cd /usr/local/src/
# wget http://blog.redmine.jp/assets/2010/03/23/redmine_theme_farend_basic_20110523.tgz
# tar zxvf redmine_theme_farend_basic_20110523.tgz
# cp -R ./farend_basic /home/project/public/themes/
# apache再起動
Redmineの管理画面から「管理」>「設定」>「表示」→テーマをfarend_basicに変更します。
保存ボタンを押すのを忘れずに!
とりあえずここまでで本日はおしまい・・・
日本語ヘルプもできたみたいです。
http://www.redmine.org/projects/redmine/wiki/JaGuide
参考サイト
http://blog.redmine.jp/articles/redmine-1_2-installation_centos/
http://www.redmine.org/projects/redmine/wiki/JaRedmineInstall
では早速
OS:CentOS5
Web:Apache2.2.19(ソースから) 尚、Railsの実行ではPassengerを使用
DB:PostgreSQL8.4.8(ソースから)
Ruby:Ruby Enterprise Edition
Rails:2.3.11
/home/redmine/public_htmlにRedmineを配置させます。
OSインストールは割愛させて頂きますが、私はインストール時のパッケージ選択ではbaseのみ選択しています。(5.3ですがよろしければこちらを参考にどうぞ)
●必要パッケージをインストール
# yum groupinstall "Development Tools"
# yum install openssl-devel readline-devel zlib-devel curl-devel zlib-devel
●Apacheのインストール(ソースからインストール)
細かい設定は省略します
# cd /usr/local/src
# wget http://archive.apache.org/dist/httpd/httpd-2.2.19.tar.gz
# tar zxvf httpd-2.2.19.tar.gz
# cd httpd-2.2.19
# ./configure --prefix=/usr/local/apache --enable-so --enable-mods-shared=all
# make;make install
# vi /usr/local/apache/conf/httpd.conf
ServerAdmin 管理者メールアドレス
ServerName localhost:80
DocumentRoot "/home" ←後ほど変更します
Include conf/extra/httpd-userdir.conf ←コメント解除
自動起動
# vi /etc/rc.local
追記
/usr/local/apache/bin/apachectl start
・ApacheLogのローテーションは設定おきましょう(推奨)
●PostgreSQLのインストール(ソースからインストール)
8.4.3ですがよろしければこちらを参考にどうぞ(PL/pgsqlをインストールすること)
※DB名:redmine、ユーザ:redmine、パスワード:redmine
●Ruby 1.8.7
# cd /usr/local/src
# wget http://rubyenterpriseedition.googlecode.com/files/ruby-enterprise-1.8.7-2011.03.tar.gz
# tar zxvf ruby-enterprise-1.8.7-2011.03.tar.gz
# cd ./ruby-enterprise-1.8.7-2011.03
# ./installer --dont-install-useful-gems --no-dev-docs
※--dont-install-useful-gems → gemパッケージは後で手動インストールするのでここでは不要
※--no-dev-docs → 開発向けドキュメントは不要
Press Enter to continue, or Ctrl-C to abort. →Enterでインストールを進めます
[/opt/ruby-enterprise-1.8.7-2011.03] : /usr/local/ →インストール先の指定(推奨です)
・
・
make install
/usr/bin/install -c -m 0755 iconv.so /usr/local/lib/ruby/site_ruby/1.8/i686-linux
--------------------------------------------
Installing useful libraries...
/usr/local/bin/ruby /usr/local/bin/gem sources --update
source cache successfully updated
Updating /usr/local/bin/irb...
Updating /usr/local/bin/ri...
Updating /usr/local/bin/testrb...
Updating /usr/local/bin/erb...
Updating /usr/local/bin/gem...
Updating /usr/local/bin/rdoc...
--------------------------------------------
Ruby Enterprise Edition is successfully installed!
If want to use Phusion Passenger (http://www.modrails.com) in combination
with Ruby Enterprise Edition, then you must reinstall Phusion Passenger against
Ruby Enterprise Edition, as follows:
/usr/local/bin/passenger-install-apache2-module
Make sure you don't forget to paste the Apache configuration directives that
the installer gives you.
If you ever want to uninstall Ruby Enterprise Edition, simply remove this
directory:
/usr/local
If you have any questions, feel free to visit our website:
http://www.rubyenterpriseedition.com
Enjoy Ruby Enterprise Edition, a product of Phusion (www.phusion.nl) :-)
こんな感じでインストールが終了します。
●Rubygems
バージョンチェック
# gem -v
1.5.2
※インストール先が/opt/ruby-enterprise-1.8.7-2011.03の場合は絶対パス(フルパス)で指定
●Rack 1.1.1のインストール
# gem install rack -v=1.1.1 --no-rdoc --no-ri
Fetching: rack-1.1.1.gem (100%)
Successfully installed rack-1.1.1
1 gem installed
●i18n 0.4.2のインストール
# gem install i18n -v=0.4.2 --no-rdoc --no-ri
Fetching: i18n-0.4.2.gem (100%)
Successfully installed i18n-0.4.2
1 gem installed
●pgのインストール
PostgreSQLへのパスは私の環境ですのでご自分のパスに読み替えてください。
# export PATH=$PATH:/usr/local/pgsql/bin
上記でインストールをするとWikiページをPDF等で出力する際、Internal Errorが発生することがわかりました。
# gem install pg -- --with-pg-dir=/usr/local/pgsql/ --with-pg-lib=/usr/local/pgsql/lib/ --with-pg-include=/usr/local/pgsql/include/ --no-rdoc --no-ri
Fetching: pg-0.11.0.gem (100%)
Building native extensions. This could take a while...
Successfully installed pg-0.11.0
1 gem installed
Installing ri documentation for pg-0.11.0...
Installing RDoc documentation for pg-0.11.0...
●postgres-prのインストール
# gem install postgres-pr --no-rdoc --no-ri
Fetching: postgres-pr-0.6.3.gem (100%)
Successfully installed postgres-pr-0.6.3
1 gem installed
●Rails 2.3.11のインストール
# gem install -v=2.3.11 rails
# gem list
*** LOCAL GEMS ***
actionmailer (2.3.11)
actionpack (2.3.11)
activerecord (2.3.11)
activeresource (2.3.11)
activesupport (2.3.11)
i18n (0.4.2)
pg (0.11.0)
postgres-pr (0.6.3)
rack (1.1.1)
rails (2.3.11)
rake (0.8.7)
Redmine1.2系はrake0.8.7が必要です。もしrakeが0.8.7ではない場合は別途インストールします。
# gem install rake -v=0.8.7 --no-rdoc --no-ri
●Redmineのインストール
# mkdir -p /home/redmine/public_html
# chmod -R 755 /home/redmine/public_html
# cd /home/redmine/public_html
開発版or安定版(私は開発版を使用しています)
v1.2開発版 # svn checkout http://redmine.rubyforge.org/svn/trunk/ ./
v1.2安定版 # svn checkout http://redmine.rubyforge.org/svn/branches/1.2-stable/ ./
# cp -p ./config/database.yml.example ./config/database.yml
# vi ./config/database.yml
production:
adapter: postgresql
database: redmine ←postgresqlで作成したDB名
host: localhost
username: redmine ←DB接続ユーザ
password: "redmine" ←DB接続ユーザパスワード
# cp -p ./config/configuration.yml.example ./config/configuration.yml
# vi ./config/configuration.yml
一番下にあるproduction:にメール情報を追記(以下はローカルからの発信な場合)
production:
email_delivery:
delivery_method: :smtp
smtp_settings:
address: "localhost"
port: 25
●初期設定
# cd /home/redmine/public_html/
# rake generate_session_store
(in /home/redmine/public_html)
# rake db:migrate RAILS_ENV="production"
(in /home/redmine/public_html)
# rake redmine:load_default_data RAILS_ENV="production"
Select language: bg, bs, ca, cs, da, de, el, en, en-GB, es, eu, fa, fi, fr, gl, he, hr, hu, id, it, ja, ko, lt, lv, mk, mn, nl, no, pl, pt, pt-BR, ro, ru, sk, sl, sr, sr-YU, sv, th, tr, uk, vi, zh, zh-TW [en]
上記表示で止まるのでjaと入力
開発版の場合rake db:migrate RAILS_ENV="production"実行時、gem versionエラーが発生することがありますこの場合/config/environment.rbを書き換えます。(正しいかどうかわらないが回避できた)
RAILS_GEM_VERSION = '2.3.14' unless defined? RAILS_GEM_VERSION
↓
RAILS_GEM_VERSION = '2.3.11' unless defined? RAILS_GEM_VERSION
●Passengerのインストール
# gem install passenger --no-rdoc --no-ri
Fetching: fastthread-1.0.7.gem (100%)
Building native extensions. This could take a while...
Fetching: daemon_controller-0.2.6.gem (100%)
Fetching: passenger-3.0.7.gem (100%)
Successfully installed fastthread-1.0.7
Successfully installed daemon_controller-0.2.6
Successfully installed passenger-3.0.7
3 gems installed
●PassengerのApache用モジュールのインストール
Apacheをソースからインストールしたのでapxs2、path環境変数を設定する必要がある
# export APXS2=/usr/local/apache/bin/apxs
# export PATH=/usr/local/apache/bin:$PATH
# passenger-install-apache2-module
Welcome to the Phusion Passenger Apache 2 module installer, v3.0.7.
This installer will guide you through the entire installation process. It
shouldn't take more than 3 minutes in total.
Here's what you can expect from the installation process:
1. The Apache 2 module will be installed for you.
2. You'll learn how to configure Apache.
3. You'll learn how to deploy a Ruby on Rails application.
Don't worry if anything goes wrong. This installer will advise you on how to
solve any problems.
Press Enter to continue, or Ctrl-C to abort.
途中でnot foundが出たら解決して再度実行
・
・
・
以下をApache設定のため保存しておく
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/local/bin/ruby
After you restart Apache, you are ready to deploy any number of Ruby on Rails
applications on Apache, without any further Ruby on Rails-specific
configuration!
Press ENTER to continue.
--------------------------------------------
Deploying a Ruby on Rails application: an example
Suppose you have a Rails application in /somewhere. Add a virtual host to your
Apache configuration file and set its DocumentRoot to /somewhere/public:
VirtualHostでの運用の場合は以下を参考に
<VirtualHost *:80>
ServerName www.yourhost.com
DocumentRoot /somewhere/public # <-- be sure to point to 'public'!
<Directory /somewhere/public>
AllowOverride all # <-- relax Apache security settings
Options -MultiViews # <-- MultiViews must be turned off
</Directory>
</VirtualHost>
And that's it! You may also want to check the Users Guide for security and
optimization tips, troubleshooting and other useful information:
/usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/doc/Users guide Apache.html
Enjoy Phusion Passenger, a product of Phusion (www.phusion.nl) :-)
http://www.modrails.com/
Phusion Passenger is a trademark of Hongli Lai & Ninh Bui.
●Apache用設定ファイルの新規作成
# vi /usr/local/apache/conf/extra/passnger.conf
#保存した行を記述
LoadModule passenger_module /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7/ext/apache2/mod_passenger.so
PassengerRoot /usr/local/lib/ruby/gems/1.8/gems/passenger-3.0.7
PassengerRuby /usr/local/bin/ruby
#Passengerが追加するHTTPヘッダ削除を追記
Header always unset "X-Powered-By"
Header always unset "X-Rack-Cache"
Header always unset "X-Content-Digest"
Header always unset "X-Runtime"
#必要に応じてPassengerのチューニングのための設定を追加(任意)
※内容をまだ理解していないので私は適用しませんでした。
#PassengerMaxPoolSize 20
#PassengerMaxInstancesPerApp 4
#PassengerPoolIdleTime 3600
#PassengerUseGlobalQueue on
#PassengerHighPerformance on
#PassengerStatThrottleRate 10
#RailsSpawnMethod smart
#RailsAppSpawnerIdleTime 86400
#RailsFrameworkSpawnerIdleTime 0
以上でpassnger.confはおしまいですので保存します
httpd.confにpassnger.confを読み込ませる
# vi /usr/local/apache/conf/httpd.conf
最後にでも追記
Include conf/extra/passnger.conf
ついでにDocumentRootをRedmineとする(IPで接続できるように)
"/home" → "/home/redmine/public_html/public"
Apacheのユーザが書き込みできるように設定
# chown -R daemon:daemon /home/redmine
# /usr/local/apache/bin/apachectl restart
これでIPアドレスによる接続はできると思います
アクセスできない場合・・・selinuxOFF、iptablesで80ポート開放もチェックしてみよう
●Redmineログのローテーション
# cd /home/redmine/public_html
# cp ./config/additional_environment.rb.example ./config/additional_environment.rb
# vi ./config/additional_environment.rb
以下追記
#Logger.new(PATH,NUM_FILES_TO_ROTATE,FILE_SIZE)
config.logger = Logger.new(config.log_path, 2, 1000000)
config.logger.level = Logger::INFO
●Wikiで使えるHTML タグの追加
# vi ./lib/redcloth3.rb
一番下の方にALLOWED_TAGS = %w(redpre pre code notextile)という行がありこれに使いたいタグを追記していきます。私はFONTとBRを足しました。
ALLOWED_TAGS = %w(redpre pre code notextile)
↓
ALLOWED_TAGS = %w(redpre pre code notextile font br)
●テーマを追加
日本語環境でRedmineの画面を見やすくすることを目的としたRedmine用テーマ「farend basic」を使えるようにします。
# cd /usr/local/src/
# wget http://blog.redmine.jp/assets/2010/03/23/redmine_theme_farend_basic_20110523.tgz
# tar zxvf redmine_theme_farend_basic_20110523.tgz
# cp -R ./farend_basic /home/project/public/themes/
# apache再起動
Redmineの管理画面から「管理」>「設定」>「表示」→テーマをfarend_basicに変更します。
保存ボタンを押すのを忘れずに!
とりあえずここまでで本日はおしまい・・・
日本語ヘルプもできたみたいです。
http://www.redmine.org/projects/redmine/wiki/JaGuide
参考サイト
http://blog.redmine.jp/articles/redmine-1_2-installation_centos/
http://www.redmine.org/projects/redmine/wiki/JaRedmineInstall
2011年5月7日土曜日
ESXi 4.1に4.1 update01を適用
VMware vSphere Hypervisor/VMware ESXi 4.1でMicrosoft SQL Server 2008 R2を使用することになったためESXi 4.1 update01を適用する。
●ホストをメンテナンスモードへ
vSphere Clientで対象のホスト(vSphere Hypervisor)へ接続しメンテナンスモードへ切り替えます。※仮想サーバはシャットダウンしておきましょう
●パッチのダウンロード
http://www.vmware.com/patch/download/からupdate-from-esxi4.1-4.1_update01をダウンロードして解凍します。その後ファルダごとデータストアへアップします。
●管理者ユーザ(root)でSSHでホストに接続
●アップロードしたフォルダまで移動
# cd /vmfs/volumes/datastore1/update-from-esxi4.1-4.1_update01/
以下のコマンドを入力
# esxupdate -m metadata.zip update
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.と完了メッセージが表示されます。
メンテナンスモードを解除してシステムを再起動します。
※vSphere ClientおよびSSHクライアントを閉じます。
もし以下のようにEncountered error MaintenanceModeErrorと表示された場合は、メンテナンスモードになっていないということですので切り替えてください。
●ツールのアップデート
vSphere Clientで再度接続するとツールの更新を求められますのでインストーラを実行します。
●完了
●各仮想マシンのVMware Toolsをアップしておきましょう。
CentOSの場合はこちらをご参照ください。
![]() |
| Update前 |
●ホストをメンテナンスモードへ
vSphere Clientで対象のホスト(vSphere Hypervisor)へ接続しメンテナンスモードへ切り替えます。※仮想サーバはシャットダウンしておきましょう
●SSH接続を有効へ
構成タブ⇒ソフトウェア内のセキュリティプロファイル⇒プロパティ⇒Remote Tech Support(SSH)開始
※操作はSSHクライアント(Tera Term,Putty,Poderosaなど)を使いWindowsPCから操作します。
●パッチのダウンロード
http://www.vmware.com/patch/download/からupdate-from-esxi4.1-4.1_update01をダウンロードして解凍します。その後ファルダごとデータストアへアップします。
●管理者ユーザ(root)でSSHでホストに接続
![]() |
| Poderosaで接続したところ |
●アップロードしたフォルダまで移動
# cd /vmfs/volumes/datastore1/update-from-esxi4.1-4.1_update01/
以下のコマンドを入力
# esxupdate -m metadata.zip update
![]() |
| Update完了 |
The update completed successfully, but the system needs to be rebooted for the
changes to be effective.と完了メッセージが表示されます。
メンテナンスモードを解除してシステムを再起動します。
※vSphere ClientおよびSSHクライアントを閉じます。
もし以下のようにEncountered error MaintenanceModeErrorと表示された場合は、メンテナンスモードになっていないということですので切り替えてください。
![]() |
| モードエラー |
●ツールのアップデート
vSphere Clientで再度接続するとツールの更新を求められますのでインストーラを実行します。
![]() |
| インストーラの実行 |
![]() |
| OK |
![]() |
| はい |
●完了
●各仮想マシンのVMware Toolsをアップしておきましょう。
CentOSの場合はこちらをご参照ください。
2011年4月5日火曜日
Redmine開発版 1.1.1→1.1.2 Update
CentOS5に構築したRedmine開発版をアップデート。構築はこちら
いつもとちょっと違ったので書き留めておこう
# /home/project/
# svn update
D test/unit/calendar_test.rb
U test/unit/repository_git_test.rb
U test/unit/repository_mercurial_test.rb
U test/unit/issue_test.rb
U test/unit/issue_status_test.rb
U test/unit/time_entry_activity_test.rb
U test/unit/repository_subversion_test.rb
U test/unit/repository_bazaar_test.rb
U test/unit/changeset_test.rb
A test/unit/helpers/repository_helper_test.rb
U test/unit/helpers/custom_fields_helper_test.rb
U test/unit/helpers/application_helper_test.rb
U test/unit/comment_test.rb
U test/unit/wiki_test.rb
U test/unit/lib/redmine/i18n_test.rb
U test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
A test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
U test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
A test/unit/lib/redmine/helpers/calendar_test.rb
U test/unit/lib/redmine/helpers/gantt_test.rb
U test/unit/lib/redmine/configuration_test.rb
A test/unit/lib/redmine/ciphering_test.rb
U test/unit/lib/redmine/unified_diff_test.rb
U test/unit/lib/redmine/notifiable_test.rb
U test/unit/journal_test.rb
U test/unit/user_test.rb
U test/unit/repository_test.rb
U test/unit/mail_handler_test.rb
A test/unit/custom_field_user_format_test.rb
U test/unit/repository_filesystem_test.rb
U test/unit/repository_cvs_test.rb
U test/unit/repository_darcs_test.rb
U test/unit/watcher_test.rb
U test/unit/wiki_page_test.rb
U test/unit/issue_nested_set_test.rb
U test/unit/query_test.rb
U test/unit/project_test.rb
U test/unit/mailer_test.rb
U test/test_helper.rb
U test/functional/issues_controller_test.rb
U test/functional/queries_controller_test.rb
U test/functional/roles_controller_test.rb
U test/functional/welcome_controller_test.rb
U test/functional/workflows_controller_test.rb
U test/functional/time_entry_reports_controller_test.rb
U test/functional/journals_controller_test.rb
U test/functional/users_controller_test.rb
U test/functional/repositories_cvs_controller_test.rb
U test/functional/repositories_bazaar_controller_test.rb
U test/functional/sys_controller_test.rb
U test/functional/groups_controller_test.rb
U test/functional/repositories_controller_test.rb
U test/functional/projects_controller_test.rb
U test/functional/repositories_git_controller_test.rb
U test/functional/repositories_mercurial_controller_test.rb
A test/functional/repositories_filesystem_controller_test.rb
U test/functional/custom_fields_controller_test.rb
U test/functional/timelog_controller_test.rb
U test/functional/repositories_darcs_controller_test.rb
U test/functional/wiki_controller_test.rb
U test/functional/previews_controller_test.rb
U test/functional/auth_sources_controller_test.rb
U test/functional/repositories_subversion_controller_test.rb
U test/functional/versions_controller_test.rb
U test/integration/api_test/users_test.rb
U test/integration/routing_test.rb
U test/integration/issues_test.rb
U test/integration/layout_test.rb
U test/fixtures/journal_details.yml
U test/fixtures/issue_statuses.yml
U test/fixtures/time_entries.yml
U test/fixtures/repositories/mercurial_repository.hg
U test/fixtures/repositories/git_repository.tar.gz
U test/fixtures/repositories/filesystem_repository.tar.gz
A test/fixtures/diffs/partials.diff
U test/fixtures/custom_fields.yml
U test/fixtures/users.yml
U .hgignore
U app/helpers/sort_helper.rb
U app/helpers/repositories_helper.rb
U app/helpers/calendars_helper.rb
U app/helpers/wiki_helper.rb
U app/helpers/issues_helper.rb
U app/helpers/gantt_helper.rb
U app/helpers/queries_helper.rb
U app/helpers/custom_fields_helper.rb
U app/helpers/application_helper.rb
U app/helpers/versions_helper.rb
U app/models/repository/subversion.rb
U app/models/repository/bazaar.rb
U app/models/repository/git.rb
U app/models/repository/mercurial.rb
U app/models/repository/filesystem.rb
U app/models/repository/cvs.rb
U app/models/repository/darcs.rb
U app/models/mail_handler.rb
U app/models/repository.rb
U app/models/time_entry.rb
U app/models/auth_source_ldap.rb
U app/models/issue.rb
U app/models/wiki_page.rb
U app/models/query.rb
U app/models/mailer.rb
U app/models/journal.rb
U app/models/custom_field.rb
U app/models/setting.rb
U app/models/user.rb
U app/models/auth_source.rb
U app/models/issue_status.rb
U app/models/journal_detail.rb
U app/models/changeset.rb
U app/models/wiki.rb
U app/models/project.rb
A app/models/comment_observer.rb
U app/models/news.rb
U app/models/user_preference.rb
U app/controllers/issues_controller.rb
U app/controllers/queries_controller.rb
U app/controllers/context_menus_controller.rb
U app/controllers/journals_controller.rb
U app/controllers/workflows_controller.rb
U app/controllers/timelog_controller.rb
U app/controllers/users_controller.rb
U app/controllers/previews_controller.rb
U app/controllers/news_controller.rb
U app/controllers/groups_controller.rb
U app/controllers/repositories_controller.rb
U app/controllers/projects_controller.rb
U app/controllers/calendars_controller.rb
U app/controllers/gantts_controller.rb
U app/controllers/wiki_controller.rb
A app/views/context_menus/time_entries.html.erb
U app/views/journals/_notes_form.rhtml
A app/views/journals/diff.html.erb
U app/views/time_entry_reports/report.rhtml
U app/views/workflows/edit.rhtml
A app/views/workflows/_form.html.erb
U app/views/workflows/index.rhtml
U app/views/layouts/base.rhtml
U app/views/custom_fields/_form.rhtml
U app/views/settings/_display.rhtml
U app/views/settings/_repositories.rhtml
U app/views/timelog/_list.rhtml
U app/views/timelog/index.html.erb
A app/views/timelog/bulk_edit.rhtml
U app/views/timelog/_date_range.rhtml
U app/views/users/_form.rhtml
U app/views/users/_preferences.html.erb
U app/views/users/index.rhtml
U app/views/search/index.rhtml
U app/views/messages/edit.rhtml
U app/views/versions/_issue_counts.rhtml
A app/views/mailer/news_comment_added.text.plain.rhtml
A app/views/mailer/news_comment_added.text.html.rhtml
U app/views/mailer/_issue_text_plain.rhtml
U app/views/mailer/_issue_text_html.rhtml
U app/views/boards/show.rhtml
U app/views/news/show.rhtml
U app/views/groups/_users.html.erb
U app/views/roles/report.rhtml
U app/views/repositories/show.rhtml
U app/views/repositories/_dir_list_content.rhtml
U app/views/repositories/_breadcrumbs.rhtml
U app/views/admin/projects.rhtml
U app/views/common/_diff.rhtml
U app/views/projects/show.rhtml
U app/views/calendars/show.html.erb
U app/views/gantts/show.html.erb
U app/views/wiki/index.html.erb
U app/views/wiki/diff.rhtml
U app/views/wiki/date_index.html.erb
U app/views/activities/index.html.erb
U app/views/issues/_history.rhtml
U app/views/issues/bulk_edit.rhtml
U app/views/issues/index.rhtml
U app/views/issues/_sidebar.rhtml
U app/views/issues/_list.rhtml
U app/views/issues/_changesets.rhtml
U app/views/queries/_columns.rhtml
U app/views/queries/_filters.rhtml
U extra/svn/reposman.rb
U extra/svn/Redmine.pm
A db/migrate/20110223180953_salt_user_passwords.rb
A db/migrate/20110220160626_add_workflows_assignee_and_author.rb
A db/migrate/20110228000000_add_repositories_log_encoding.rb
A db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
A db/migrate/20110223180944_add_users_salt.rb
A db/migrate/20110228000100_copy_repositories_log_encoding.rb
A db/migrate/20110224000000_add_repositories_path_encoding.rb
A db/migrate/20110226120112_change_repositories_password_limit.rb
A db/migrate/20110401192910_add_index_to_users_type.rb
A db/migrate/20110227125750_change_journal_details_values_to_text.rb
U vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb
D vendor/plugins/engines/tasks
A vendor/plugins/engines/lib/tasks
A vendor/plugins/engines/lib/tasks/engines.rake
U vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb
A vendor/plugins/rfpdf/utf8test.txt
U vendor/plugins/rfpdf/init.rb
A vendor/plugins/rfpdf/test_unicode.rfpdf
A vendor/plugins/rfpdf/lib/barcode
A vendor/plugins/rfpdf/lib/barcode/barcode.rb
A vendor/plugins/rfpdf/lib/barcode/image.rb
A vendor/plugins/rfpdf/lib/barcode/c128aobject.rb
A vendor/plugins/rfpdf/lib/barcode/c39object.rb
A vendor/plugins/rfpdf/lib/barcode/c128bobject.rb
A vendor/plugins/rfpdf/lib/barcode/i25object.rb
A vendor/plugins/rfpdf/lib/barcode/c128cobject.rb
A vendor/plugins/rfpdf/lib/barcode/lesser.txt
A vendor/plugins/rfpdf/lib/fpdf
A vendor/plugins/rfpdf/lib/fpdf/chinese.rb
A vendor/plugins/rfpdf/lib/fpdf/korean.rb
A vendor/plugins/rfpdf/lib/fpdf/makefont.rb
A vendor/plugins/rfpdf/lib/fpdf/bookmark.rb
A vendor/plugins/rfpdf/lib/fpdf/fpdf_eps.rb
A vendor/plugins/rfpdf/lib/fpdf/japanese.rb
D vendor/plugins/rfpdf/lib/rfpdf/chinese.rb
D vendor/plugins/rfpdf/lib/rfpdf/korean.rb
D vendor/plugins/rfpdf/lib/rfpdf/rfpdf.rb
D vendor/plugins/rfpdf/lib/rfpdf/makefont.rb
D vendor/plugins/rfpdf/lib/rfpdf/bookmark.rb
D vendor/plugins/rfpdf/lib/rfpdf/fpdf_eps.rb
D vendor/plugins/rfpdf/lib/rfpdf/japanese.rb
D vendor/plugins/rfpdf/lib/rfpdf/view.rb
U vendor/plugins/rfpdf/lib/rfpdf/fpdf.rb
A vendor/plugins/rfpdf/lib/rfpdf/action_controller.rb
A vendor/plugins/rfpdf/lib/rfpdf/template_handler
A vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb
A vendor/plugins/rfpdf/lib/rfpdf/action_view.rb
A vendor/plugins/rfpdf/lib/rfpdf/math.rb
A vendor/plugins/rfpdf/lib/rfpdf/template_handlers
A vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb
U vendor/plugins/rfpdf/lib/rfpdf/errors.rb
A vendor/plugins/rfpdf/lib/tcpdf.rb
U vendor/plugins/rfpdf/lib/rfpdf.rb
A vendor/plugins/rfpdf/lib/config
A vendor/plugins/rfpdf/lib/config/lang
A vendor/plugins/rfpdf/lib/config/lang/eng.rb
A vendor/plugins/rfpdf/lib/core
A vendor/plugins/rfpdf/lib/core/rmagick.rb
A vendor/plugins/rfpdf/lib/core/rfpdf.rb
A vendor/plugins/rfpdf/lib/core/image_science.rb
A vendor/plugins/rfpdf/lib/fonts
A vendor/plugins/rfpdf/lib/fonts/FreeSansBold.z
A vendor/plugins/rfpdf/lib/fonts/helveticai.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBoldOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/helveticabi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMono.z
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/makefontuni_ruby.php
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/ttf2ufm
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/ttf2ufm.exe
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/README.TXT
A vendor/plugins/rfpdf/lib/fonts/veramobi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/verase.z
A vendor/plugins/rfpdf/lib/fonts/timesbi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBoldOblique.z
A vendor/plugins/rfpdf/lib/fonts/helvetica.rb
A vendor/plugins/rfpdf/lib/fonts/veramobi.rb
A vendor/plugins/rfpdf/lib/fonts/sjis.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramobi.z
A vendor/plugins/rfpdf/lib/fonts/zapfdingbats.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.z
A vendor/plugins/rfpdf/lib/fonts/freesansbi.rb
A vendor/plugins/rfpdf/lib/fonts/freemonoi.rb
A vendor/plugins/rfpdf/lib/fonts/veramoi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/verase.rb
A vendor/plugins/rfpdf/lib/fonts/verai.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSans.ctg.z
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/BUGS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/status.txt
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/LICENSE
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/AUTHORS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/unicover.txt
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/NEWS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/README
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/langcover.txt
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/COPYRIGHT.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/RELEASENOTES.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/README.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/local.conf
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBold.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSansOblique.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.z
A vendor/plugins/rfpdf/lib/fonts/symbol.rb
A vendor/plugins/rfpdf/lib/fonts/freesans.rb
A vendor/plugins/rfpdf/lib/fonts/veramoi.z
A vendor/plugins/rfpdf/lib/fonts/freesansb.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBoldOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramo.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSans.z
A vendor/plugins/rfpdf/lib/fonts/verai.z
A vendor/plugins/rfpdf/lib/fonts/vera.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBold.z
A vendor/plugins/rfpdf/lib/fonts/timesb.rb
A vendor/plugins/rfpdf/lib/fonts/veramob.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBoldOblique.z
A vendor/plugins/rfpdf/lib/fonts/verab.rb
A vendor/plugins/rfpdf/lib/fonts/veramo.z
A vendor/plugins/rfpdf/lib/fonts/README.z
A vendor/plugins/rfpdf/lib/fonts/vera.z
A vendor/plugins/rfpdf/lib/fonts/helveticab.rb
A vendor/plugins/rfpdf/lib/fonts/courier.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramob.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freesansi.rb
A vendor/plugins/rfpdf/lib/fonts/times.rb
A vendor/plugins/rfpdf/lib/fonts/verab.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freemonobi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBold.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramo.rb
A vendor/plugins/rfpdf/lib/fonts/timesi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMono.ctg.z
A vendor/plugins/rfpdf/lib/fonts/vera.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoOblique.z
A vendor/plugins/rfpdf/lib/fonts/veramob.z
A vendor/plugins/rfpdf/lib/fonts/veramoi.rb
A vendor/plugins/rfpdf/lib/fonts/verab.z
A vendor/plugins/rfpdf/lib/fonts/verai.rb
A vendor/plugins/rfpdf/lib/fonts/.noencode
A vendor/plugins/rfpdf/lib/fonts/freefont
A vendor/plugins/rfpdf/lib/fonts/freefont/AUTHORS
A vendor/plugins/rfpdf/lib/fonts/freefont/INSTALL
A vendor/plugins/rfpdf/lib/fonts/freefont/ChangeLog
A vendor/plugins/rfpdf/lib/fonts/freefont/CREDITS
A vendor/plugins/rfpdf/lib/fonts/freefont/README
A vendor/plugins/rfpdf/lib/fonts/verase.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freemono.rb
A vendor/plugins/rfpdf/lib/fonts/old
A vendor/plugins/rfpdf/lib/fonts/old/makefont
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-1.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-2.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp874.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-4.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-5.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/koi8-r.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-7.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1250.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-9.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1251.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/koi8-u.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1252.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1253.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/makefont.php
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1254.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1255.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1257.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1258.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-11.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-15.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-16.map
A vendor/plugins/rfpdf/lib/fonts/old/.noencode
A vendor/plugins/rfpdf/lib/fonts/freemonob.rb
U vendor/plugins/rfpdf/CHANGELOG
U vendor/plugins/rfpdf/README
A vendor/plugins/rfpdf/logo_example.png
D vendor/plugins/open_id_authentication/tasks
A vendor/plugins/open_id_authentication/lib/tasks
A vendor/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake
U vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
U .gitignore
U config/configuration.yml.example
U config/locales/lt.yml
U config/locales/sr-YU.yml
U config/locales/ro.yml
U config/locales/lv.yml
U config/locales/zh.yml
U config/locales/pt.yml
U config/locales/ca.yml
U config/locales/pt-BR.yml
U config/locales/tr.yml
U config/locales/ru.yml
UU config/locales/en-GB.yml
U config/locales/id.yml
U config/locales/el.yml
U config/locales/en.yml
U config/locales/gl.yml
U config/locales/cs.yml
U config/locales/es.yml
U config/locales/mk.yml
U config/locales/zh-TW.yml
U config/locales/eu.yml
U config/locales/ko.yml
U config/locales/mn.yml
U config/locales/it.yml
U config/locales/sk.yml
U config/locales/sl.yml
U config/locales/uk.yml
U config/locales/sr.yml
U config/locales/da.yml
A config/locales/fa.yml
U config/locales/sv.yml
U config/locales/de.yml
U config/locales/bg.yml
U config/locales/ja.yml
U config/locales/he.yml
U config/locales/fi.yml
U config/locales/bs.yml
U config/locales/fr.yml
U config/locales/nl.yml
U config/locales/hr.yml
U config/locales/pl.yml
U config/locales/th.yml
U config/locales/no.yml
U config/locales/hu.yml
U config/locales/vi.yml
U config/routes.rb
U config/environment.rb
U config/initializers/10-patches.rb
U doc/CHANGELOG
U lib/redmine/export/pdf.rb
U lib/redmine/helpers/gantt.rb
A lib/redmine/helpers/diff.rb
U lib/redmine/helpers/calendar.rb
U lib/redmine/configuration.rb
U lib/redmine/notifiable.rb
U lib/redmine/i18n.rb
U lib/redmine/scm/adapters/subversion_adapter.rb
U lib/redmine/scm/adapters/bazaar_adapter.rb
A lib/redmine/scm/adapters/mercurial/redminehelper.py
U lib/redmine/scm/adapters/mercurial
U lib/redmine/scm/adapters/abstract_adapter.rb
U lib/redmine/scm/adapters/git_adapter.rb
U lib/redmine/scm/adapters/mercurial_adapter.rb
U lib/redmine/scm/adapters/filesystem_adapter.rb
U lib/redmine/scm/adapters/cvs_adapter.rb
U lib/redmine/scm/adapters/darcs_adapter.rb
UU lib/redmine/custom_field_format.rb
U lib/redmine/version.rb
U lib/redmine/mime_type.rb
U lib/redmine/wiki_formatting/textile/helper.rb
U lib/redmine/wiki_formatting/textile/formatter.rb
A lib/redmine/ciphering.rb
U lib/redmine/unified_diff.rb
U lib/redmine.rb
A lib/tasks/ciphering.rake
U lib/tasks/testing.rake
U lib/tasks/locales.rake
U lib/redcloth3.rb
D public/images/zoom_in_g.png
D public/images/zoom_out_g.png
U public/images/zoom_in.png
U public/images/zoom_out.png
A public/javascripts/jstoolbar/lang/jstoolbar-fa.js
U public/javascripts/context_menu.js
A public/javascripts/calendar/lang/calendar-fa.js
U public/javascripts/application.js
U public/stylesheets/context_menu.css
U public/stylesheets/jstoolbar.css
U public/stylesheets/rtl.css
U public/stylesheets/application.css
Updated to revision 5317.
いつもとちょっと違ったので書き留めておこう
- インストール場所へ移動
# /home/project/
- Redmineソースのアップデート(SVNレポジトリから)
# svn update
D test/unit/calendar_test.rb
U test/unit/repository_git_test.rb
U test/unit/repository_mercurial_test.rb
U test/unit/issue_test.rb
U test/unit/issue_status_test.rb
U test/unit/time_entry_activity_test.rb
U test/unit/repository_subversion_test.rb
U test/unit/repository_bazaar_test.rb
U test/unit/changeset_test.rb
A test/unit/helpers/repository_helper_test.rb
U test/unit/helpers/custom_fields_helper_test.rb
U test/unit/helpers/application_helper_test.rb
U test/unit/comment_test.rb
U test/unit/wiki_test.rb
U test/unit/lib/redmine/i18n_test.rb
U test/unit/lib/redmine/scm/adapters/subversion_adapter_test.rb
A test/unit/lib/redmine/scm/adapters/bazaar_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/git_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/mercurial_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/filesystem_adapter_test.rb
U test/unit/lib/redmine/scm/adapters/cvs_adapter_test.rb
U test/unit/lib/redmine/wiki_formatting/textile_formatter_test.rb
A test/unit/lib/redmine/helpers/calendar_test.rb
U test/unit/lib/redmine/helpers/gantt_test.rb
U test/unit/lib/redmine/configuration_test.rb
A test/unit/lib/redmine/ciphering_test.rb
U test/unit/lib/redmine/unified_diff_test.rb
U test/unit/lib/redmine/notifiable_test.rb
U test/unit/journal_test.rb
U test/unit/user_test.rb
U test/unit/repository_test.rb
U test/unit/mail_handler_test.rb
A test/unit/custom_field_user_format_test.rb
U test/unit/repository_filesystem_test.rb
U test/unit/repository_cvs_test.rb
U test/unit/repository_darcs_test.rb
U test/unit/watcher_test.rb
U test/unit/wiki_page_test.rb
U test/unit/issue_nested_set_test.rb
U test/unit/query_test.rb
U test/unit/project_test.rb
U test/unit/mailer_test.rb
U test/test_helper.rb
U test/functional/issues_controller_test.rb
U test/functional/queries_controller_test.rb
U test/functional/roles_controller_test.rb
U test/functional/welcome_controller_test.rb
U test/functional/workflows_controller_test.rb
U test/functional/time_entry_reports_controller_test.rb
U test/functional/journals_controller_test.rb
U test/functional/users_controller_test.rb
U test/functional/repositories_cvs_controller_test.rb
U test/functional/repositories_bazaar_controller_test.rb
U test/functional/sys_controller_test.rb
U test/functional/groups_controller_test.rb
U test/functional/repositories_controller_test.rb
U test/functional/projects_controller_test.rb
U test/functional/repositories_git_controller_test.rb
U test/functional/repositories_mercurial_controller_test.rb
A test/functional/repositories_filesystem_controller_test.rb
U test/functional/custom_fields_controller_test.rb
U test/functional/timelog_controller_test.rb
U test/functional/repositories_darcs_controller_test.rb
U test/functional/wiki_controller_test.rb
U test/functional/previews_controller_test.rb
U test/functional/auth_sources_controller_test.rb
U test/functional/repositories_subversion_controller_test.rb
U test/functional/versions_controller_test.rb
U test/integration/api_test/users_test.rb
U test/integration/routing_test.rb
U test/integration/issues_test.rb
U test/integration/layout_test.rb
U test/fixtures/journal_details.yml
U test/fixtures/issue_statuses.yml
U test/fixtures/time_entries.yml
U test/fixtures/repositories/mercurial_repository.hg
U test/fixtures/repositories/git_repository.tar.gz
U test/fixtures/repositories/filesystem_repository.tar.gz
A test/fixtures/diffs/partials.diff
U test/fixtures/custom_fields.yml
U test/fixtures/users.yml
U .hgignore
U app/helpers/sort_helper.rb
U app/helpers/repositories_helper.rb
U app/helpers/calendars_helper.rb
U app/helpers/wiki_helper.rb
U app/helpers/issues_helper.rb
U app/helpers/gantt_helper.rb
U app/helpers/queries_helper.rb
U app/helpers/custom_fields_helper.rb
U app/helpers/application_helper.rb
U app/helpers/versions_helper.rb
U app/models/repository/subversion.rb
U app/models/repository/bazaar.rb
U app/models/repository/git.rb
U app/models/repository/mercurial.rb
U app/models/repository/filesystem.rb
U app/models/repository/cvs.rb
U app/models/repository/darcs.rb
U app/models/mail_handler.rb
U app/models/repository.rb
U app/models/time_entry.rb
U app/models/auth_source_ldap.rb
U app/models/issue.rb
U app/models/wiki_page.rb
U app/models/query.rb
U app/models/mailer.rb
U app/models/journal.rb
U app/models/custom_field.rb
U app/models/setting.rb
U app/models/user.rb
U app/models/auth_source.rb
U app/models/issue_status.rb
U app/models/journal_detail.rb
U app/models/changeset.rb
U app/models/wiki.rb
U app/models/project.rb
A app/models/comment_observer.rb
U app/models/news.rb
U app/models/user_preference.rb
U app/controllers/issues_controller.rb
U app/controllers/queries_controller.rb
U app/controllers/context_menus_controller.rb
U app/controllers/journals_controller.rb
U app/controllers/workflows_controller.rb
U app/controllers/timelog_controller.rb
U app/controllers/users_controller.rb
U app/controllers/previews_controller.rb
U app/controllers/news_controller.rb
U app/controllers/groups_controller.rb
U app/controllers/repositories_controller.rb
U app/controllers/projects_controller.rb
U app/controllers/calendars_controller.rb
U app/controllers/gantts_controller.rb
U app/controllers/wiki_controller.rb
A app/views/context_menus/time_entries.html.erb
U app/views/journals/_notes_form.rhtml
A app/views/journals/diff.html.erb
U app/views/time_entry_reports/report.rhtml
U app/views/workflows/edit.rhtml
A app/views/workflows/_form.html.erb
U app/views/workflows/index.rhtml
U app/views/layouts/base.rhtml
U app/views/custom_fields/_form.rhtml
U app/views/settings/_display.rhtml
U app/views/settings/_repositories.rhtml
U app/views/timelog/_list.rhtml
U app/views/timelog/index.html.erb
A app/views/timelog/bulk_edit.rhtml
U app/views/timelog/_date_range.rhtml
U app/views/users/_form.rhtml
U app/views/users/_preferences.html.erb
U app/views/users/index.rhtml
U app/views/search/index.rhtml
U app/views/messages/edit.rhtml
U app/views/versions/_issue_counts.rhtml
A app/views/mailer/news_comment_added.text.plain.rhtml
A app/views/mailer/news_comment_added.text.html.rhtml
U app/views/mailer/_issue_text_plain.rhtml
U app/views/mailer/_issue_text_html.rhtml
U app/views/boards/show.rhtml
U app/views/news/show.rhtml
U app/views/groups/_users.html.erb
U app/views/roles/report.rhtml
U app/views/repositories/show.rhtml
U app/views/repositories/_dir_list_content.rhtml
U app/views/repositories/_breadcrumbs.rhtml
U app/views/admin/projects.rhtml
U app/views/common/_diff.rhtml
U app/views/projects/show.rhtml
U app/views/calendars/show.html.erb
U app/views/gantts/show.html.erb
U app/views/wiki/index.html.erb
U app/views/wiki/diff.rhtml
U app/views/wiki/date_index.html.erb
U app/views/activities/index.html.erb
U app/views/issues/_history.rhtml
U app/views/issues/bulk_edit.rhtml
U app/views/issues/index.rhtml
U app/views/issues/_sidebar.rhtml
U app/views/issues/_list.rhtml
U app/views/issues/_changesets.rhtml
U app/views/queries/_columns.rhtml
U app/views/queries/_filters.rhtml
U extra/svn/reposman.rb
U extra/svn/Redmine.pm
A db/migrate/20110223180953_salt_user_passwords.rb
A db/migrate/20110220160626_add_workflows_assignee_and_author.rb
A db/migrate/20110228000000_add_repositories_log_encoding.rb
A db/migrate/20110226120132_change_auth_sources_account_password_limit.rb
A db/migrate/20110223180944_add_users_salt.rb
A db/migrate/20110228000100_copy_repositories_log_encoding.rb
A db/migrate/20110224000000_add_repositories_path_encoding.rb
A db/migrate/20110226120112_change_repositories_password_limit.rb
A db/migrate/20110401192910_add_index_to_users_type.rb
A db/migrate/20110227125750_change_journal_details_values_to_text.rb
U vendor/plugins/acts_as_watchable/lib/acts_as_watchable.rb
D vendor/plugins/engines/tasks
A vendor/plugins/engines/lib/tasks
A vendor/plugins/engines/lib/tasks/engines.rake
U vendor/plugins/acts_as_customizable/lib/acts_as_customizable.rb
A vendor/plugins/rfpdf/utf8test.txt
U vendor/plugins/rfpdf/init.rb
A vendor/plugins/rfpdf/test_unicode.rfpdf
A vendor/plugins/rfpdf/lib/barcode
A vendor/plugins/rfpdf/lib/barcode/barcode.rb
A vendor/plugins/rfpdf/lib/barcode/image.rb
A vendor/plugins/rfpdf/lib/barcode/c128aobject.rb
A vendor/plugins/rfpdf/lib/barcode/c39object.rb
A vendor/plugins/rfpdf/lib/barcode/c128bobject.rb
A vendor/plugins/rfpdf/lib/barcode/i25object.rb
A vendor/plugins/rfpdf/lib/barcode/c128cobject.rb
A vendor/plugins/rfpdf/lib/barcode/lesser.txt
A vendor/plugins/rfpdf/lib/fpdf
A vendor/plugins/rfpdf/lib/fpdf/chinese.rb
A vendor/plugins/rfpdf/lib/fpdf/korean.rb
A vendor/plugins/rfpdf/lib/fpdf/makefont.rb
A vendor/plugins/rfpdf/lib/fpdf/bookmark.rb
A vendor/plugins/rfpdf/lib/fpdf/fpdf_eps.rb
A vendor/plugins/rfpdf/lib/fpdf/japanese.rb
D vendor/plugins/rfpdf/lib/rfpdf/chinese.rb
D vendor/plugins/rfpdf/lib/rfpdf/korean.rb
D vendor/plugins/rfpdf/lib/rfpdf/rfpdf.rb
D vendor/plugins/rfpdf/lib/rfpdf/makefont.rb
D vendor/plugins/rfpdf/lib/rfpdf/bookmark.rb
D vendor/plugins/rfpdf/lib/rfpdf/fpdf_eps.rb
D vendor/plugins/rfpdf/lib/rfpdf/japanese.rb
D vendor/plugins/rfpdf/lib/rfpdf/view.rb
U vendor/plugins/rfpdf/lib/rfpdf/fpdf.rb
A vendor/plugins/rfpdf/lib/rfpdf/action_controller.rb
A vendor/plugins/rfpdf/lib/rfpdf/template_handler
A vendor/plugins/rfpdf/lib/rfpdf/template_handler/compile_support.rb
A vendor/plugins/rfpdf/lib/rfpdf/action_view.rb
A vendor/plugins/rfpdf/lib/rfpdf/math.rb
A vendor/plugins/rfpdf/lib/rfpdf/template_handlers
A vendor/plugins/rfpdf/lib/rfpdf/template_handlers/base.rb
U vendor/plugins/rfpdf/lib/rfpdf/errors.rb
A vendor/plugins/rfpdf/lib/tcpdf.rb
U vendor/plugins/rfpdf/lib/rfpdf.rb
A vendor/plugins/rfpdf/lib/config
A vendor/plugins/rfpdf/lib/config/lang
A vendor/plugins/rfpdf/lib/config/lang/eng.rb
A vendor/plugins/rfpdf/lib/core
A vendor/plugins/rfpdf/lib/core/rmagick.rb
A vendor/plugins/rfpdf/lib/core/rfpdf.rb
A vendor/plugins/rfpdf/lib/core/image_science.rb
A vendor/plugins/rfpdf/lib/fonts
A vendor/plugins/rfpdf/lib/fonts/FreeSansBold.z
A vendor/plugins/rfpdf/lib/fonts/helveticai.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBoldOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/helveticabi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMono.z
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/makefontuni_ruby.php
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/ttf2ufm
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/ttf2ufm.exe
A vendor/plugins/rfpdf/lib/fonts/ttf2ufm/README.TXT
A vendor/plugins/rfpdf/lib/fonts/veramobi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/verase.z
A vendor/plugins/rfpdf/lib/fonts/timesbi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBoldOblique.z
A vendor/plugins/rfpdf/lib/fonts/helvetica.rb
A vendor/plugins/rfpdf/lib/fonts/veramobi.rb
A vendor/plugins/rfpdf/lib/fonts/sjis.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramobi.z
A vendor/plugins/rfpdf/lib/fonts/zapfdingbats.rb
A vendor/plugins/rfpdf/lib/fonts/verabi.z
A vendor/plugins/rfpdf/lib/fonts/freesansbi.rb
A vendor/plugins/rfpdf/lib/fonts/freemonoi.rb
A vendor/plugins/rfpdf/lib/fonts/veramoi.ctg.z
A vendor/plugins/rfpdf/lib/fonts/verase.rb
A vendor/plugins/rfpdf/lib/fonts/verai.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSans.ctg.z
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/BUGS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/status.txt
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/LICENSE
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/AUTHORS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/unicover.txt
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/NEWS
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/README
A vendor/plugins/rfpdf/lib/fonts/dejavu-ttf-2.15/langcover.txt
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/COPYRIGHT.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/RELEASENOTES.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/README.TXT
A vendor/plugins/rfpdf/lib/fonts/ttf-bitstream-vera-1.10/local.conf
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBold.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSansOblique.z
A vendor/plugins/rfpdf/lib/fonts/veraseb.z
A vendor/plugins/rfpdf/lib/fonts/symbol.rb
A vendor/plugins/rfpdf/lib/fonts/freesans.rb
A vendor/plugins/rfpdf/lib/fonts/veramoi.z
A vendor/plugins/rfpdf/lib/fonts/freesansb.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBoldOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramo.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeSans.z
A vendor/plugins/rfpdf/lib/fonts/verai.z
A vendor/plugins/rfpdf/lib/fonts/vera.ctg.z
A vendor/plugins/rfpdf/lib/fonts/FreeMonoBold.z
A vendor/plugins/rfpdf/lib/fonts/timesb.rb
A vendor/plugins/rfpdf/lib/fonts/veramob.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBoldOblique.z
A vendor/plugins/rfpdf/lib/fonts/verab.rb
A vendor/plugins/rfpdf/lib/fonts/veramo.z
A vendor/plugins/rfpdf/lib/fonts/README.z
A vendor/plugins/rfpdf/lib/fonts/vera.z
A vendor/plugins/rfpdf/lib/fonts/helveticab.rb
A vendor/plugins/rfpdf/lib/fonts/courier.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoOblique.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramob.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freesansi.rb
A vendor/plugins/rfpdf/lib/fonts/times.rb
A vendor/plugins/rfpdf/lib/fonts/verab.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freemonobi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeSansBold.ctg.z
A vendor/plugins/rfpdf/lib/fonts/veramo.rb
A vendor/plugins/rfpdf/lib/fonts/timesi.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMono.ctg.z
A vendor/plugins/rfpdf/lib/fonts/vera.rb
A vendor/plugins/rfpdf/lib/fonts/FreeMonoOblique.z
A vendor/plugins/rfpdf/lib/fonts/veramob.z
A vendor/plugins/rfpdf/lib/fonts/veramoi.rb
A vendor/plugins/rfpdf/lib/fonts/verab.z
A vendor/plugins/rfpdf/lib/fonts/verai.rb
A vendor/plugins/rfpdf/lib/fonts/.noencode
A vendor/plugins/rfpdf/lib/fonts/freefont
A vendor/plugins/rfpdf/lib/fonts/freefont/AUTHORS
A vendor/plugins/rfpdf/lib/fonts/freefont/INSTALL
A vendor/plugins/rfpdf/lib/fonts/freefont/ChangeLog
A vendor/plugins/rfpdf/lib/fonts/freefont/CREDITS
A vendor/plugins/rfpdf/lib/fonts/freefont/README
A vendor/plugins/rfpdf/lib/fonts/verase.ctg.z
A vendor/plugins/rfpdf/lib/fonts/freemono.rb
A vendor/plugins/rfpdf/lib/fonts/old
A vendor/plugins/rfpdf/lib/fonts/old/makefont
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-1.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-2.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp874.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-4.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-5.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/koi8-r.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-7.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1250.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-9.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1251.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/koi8-u.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1252.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1253.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/makefont.php
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1254.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1255.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1257.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/cp1258.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-11.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-15.map
A vendor/plugins/rfpdf/lib/fonts/old/makefont/iso-8859-16.map
A vendor/plugins/rfpdf/lib/fonts/old/.noencode
A vendor/plugins/rfpdf/lib/fonts/freemonob.rb
U vendor/plugins/rfpdf/CHANGELOG
U vendor/plugins/rfpdf/README
A vendor/plugins/rfpdf/logo_example.png
D vendor/plugins/open_id_authentication/tasks
A vendor/plugins/open_id_authentication/lib/tasks
A vendor/plugins/open_id_authentication/lib/tasks/open_id_authentication_tasks.rake
U vendor/plugins/awesome_nested_set/lib/awesome_nested_set.rb
U .gitignore
U config/configuration.yml.example
U config/locales/lt.yml
U config/locales/sr-YU.yml
U config/locales/ro.yml
U config/locales/lv.yml
U config/locales/zh.yml
U config/locales/pt.yml
U config/locales/ca.yml
U config/locales/pt-BR.yml
U config/locales/tr.yml
U config/locales/ru.yml
UU config/locales/en-GB.yml
U config/locales/id.yml
U config/locales/el.yml
U config/locales/en.yml
U config/locales/gl.yml
U config/locales/cs.yml
U config/locales/es.yml
U config/locales/mk.yml
U config/locales/zh-TW.yml
U config/locales/eu.yml
U config/locales/ko.yml
U config/locales/mn.yml
U config/locales/it.yml
U config/locales/sk.yml
U config/locales/sl.yml
U config/locales/uk.yml
U config/locales/sr.yml
U config/locales/da.yml
A config/locales/fa.yml
U config/locales/sv.yml
U config/locales/de.yml
U config/locales/bg.yml
U config/locales/ja.yml
U config/locales/he.yml
U config/locales/fi.yml
U config/locales/bs.yml
U config/locales/fr.yml
U config/locales/nl.yml
U config/locales/hr.yml
U config/locales/pl.yml
U config/locales/th.yml
U config/locales/no.yml
U config/locales/hu.yml
U config/locales/vi.yml
U config/routes.rb
U config/environment.rb
U config/initializers/10-patches.rb
U doc/CHANGELOG
U lib/redmine/export/pdf.rb
U lib/redmine/helpers/gantt.rb
A lib/redmine/helpers/diff.rb
U lib/redmine/helpers/calendar.rb
U lib/redmine/configuration.rb
U lib/redmine/notifiable.rb
U lib/redmine/i18n.rb
U lib/redmine/scm/adapters/subversion_adapter.rb
U lib/redmine/scm/adapters/bazaar_adapter.rb
A lib/redmine/scm/adapters/mercurial/redminehelper.py
U lib/redmine/scm/adapters/mercurial
U lib/redmine/scm/adapters/abstract_adapter.rb
U lib/redmine/scm/adapters/git_adapter.rb
U lib/redmine/scm/adapters/mercurial_adapter.rb
U lib/redmine/scm/adapters/filesystem_adapter.rb
U lib/redmine/scm/adapters/cvs_adapter.rb
U lib/redmine/scm/adapters/darcs_adapter.rb
UU lib/redmine/custom_field_format.rb
U lib/redmine/version.rb
U lib/redmine/mime_type.rb
U lib/redmine/wiki_formatting/textile/helper.rb
U lib/redmine/wiki_formatting/textile/formatter.rb
A lib/redmine/ciphering.rb
U lib/redmine/unified_diff.rb
U lib/redmine.rb
A lib/tasks/ciphering.rake
U lib/tasks/testing.rake
U lib/tasks/locales.rake
U lib/redcloth3.rb
D public/images/zoom_in_g.png
D public/images/zoom_out_g.png
U public/images/zoom_in.png
U public/images/zoom_out.png
A public/javascripts/jstoolbar/lang/jstoolbar-fa.js
U public/javascripts/context_menu.js
A public/javascripts/calendar/lang/calendar-fa.js
U public/javascripts/application.js
U public/stylesheets/context_menu.css
U public/stylesheets/jstoolbar.css
U public/stylesheets/rtl.css
U public/stylesheets/application.css
Updated to revision 5317.
- データベース更新
# rake db:migrate RAILS_ENV="production"
Missing the Rails 2.3.11 gem. Please `gem install -v=2.3.11 rails`, update your RAILS_GEM_VERSION setting in config/environment.rb for the Rails version you do have installed, or comment out RAILS_GEM_VERSION to use the latest version installed.
あれ?Rails 2.3.11?
config/environment.rbを見てみると「RAILS_GEM_VERSION = '2.3.11'」となっている。本家Redmineでも確認したところcurrent trunkでは
ruby 1.8.6, 1.8.7
rails 2.3.11
rack 1.1.0
となっていた。
ということでRails 2.3.11をインストールしますが、その前にRubyGemsをアップデートしてからRailsをインストールします。
# gem install rubygems-update
Successfully installed rubygems-update-1.7.1
1 gem installed
Installing ri documentation for rubygems-update-1.7.1...
Installing RDoc documentation for rubygems-update-1.7.1...
- Rails 2.3.11のインストール
# gem install -v=2.3.11 rails
Successfully installed activesupport-2.3.11
Successfully installed activerecord-2.3.11
Successfully installed rack-1.1.2
Successfully installed actionpack-2.3.11
Successfully installed actionmailer-2.3.11
Successfully installed activeresource-2.3.11
Successfully installed rails-2.3.11
7 gems installed
Installing ri documentation for activesupport-2.3.11...
Installing ri documentation for activerecord-2.3.11...
Installing ri documentation for rack-1.1.2...
Installing ri documentation for actionpack-2.3.11...
Installing ri documentation for actionmailer-2.3.11...
Installing ri documentation for activeresource-2.3.11...
Installing ri documentation for rails-2.3.11...
Installing RDoc documentation for activesupport-2.3.11...
Installing RDoc documentation for activerecord-2.3.11...
Installing RDoc documentation for rack-1.1.2...
Installing RDoc documentation for actionpack-2.3.11...
Installing RDoc documentation for actionmailer-2.3.11...
Installing RDoc documentation for activeresource-2.3.11...
Installing RDoc documentation for rails-2.3.11...
念のためrackを確認すると1.1.2, 1.0.1となっていたため1.1.0をインストール
- rack 1.1.0のインストール
# gem install -v=1.1.0 rack
Successfully installed rack-1.1.0
1 gem installed
Installing ri documentation for rack-1.1.0...
Installing RDoc documentation for rack-1.1.0...
- バージョン確認
# gem list --local
*** LOCAL GEMS ***
actionmailer (2.3.11, 2.3.5, 2.2.2)
actionpack (2.3.11, 2.3.5, 2.2.2)
activerecord (2.3.11, 2.3.5, 2.2.2)
activeresource (2.3.11, 2.3.5, 2.2.2)
activesupport (2.3.11, 2.3.5, 2.2.2)
fastthread (1.0.7)
i18n (0.4.2)
passenger (2.2.15)
pg (0.9.0)
postgres-pr (0.6.3)
rack (1.1.2, 1.1.0, 1.0.1)
rails (2.3.11, 2.3.5)
rake (0.8.7, 0.8.3)
rubygems-update (1.7.1, 1.3.7)
- 再度データベースの更新
# rake db:migrate RAILS_ENV="production"
(in /home/project)
== AddWorkflowsAssigneeAndAuthor: migrating ==================================
-- add_column(:workflows, :assignee, :boolean, {:null=>false, :default=>false})
-> 0.0686s
-- add_column(:workflows, :author, :boolean, {:null=>false, :default=>false})
-> 0.0099s
== AddWorkflowsAssigneeAndAuthor: migrated (0.0942s) =========================
== AddUsersSalt: migrating ===================================================
-- add_column(:users, :salt, :string, {:limit=>64})
-> 0.0141s
== AddUsersSalt: migrated (0.0142s) ==========================================
== SaltUserPasswords: migrating ==============================================
-- Salting user passwords, this may take some time...
-> 0.0258s
== SaltUserPasswords: migrated (0.0259s) =====================================
== AddRepositoriesPathEncoding: migrating ====================================
-- add_column(:repositories, :path_encoding, :string, {:limit=>64, :default=>nil})
-> 0.0170s
== AddRepositoriesPathEncoding: migrated (0.0171s) ===========================
== ChangeRepositoriesPasswordLimit: migrating ================================
-- change_column(:repositories, :password, :string, {:limit=>nil, :default=>""})
-> 0.1914s
== ChangeRepositoriesPasswordLimit: migrated (0.1916s) =======================
== ChangeAuthSourcesAccountPasswordLimit: migrating ==========================
-- change_column(:auth_sources, :account_password, :string, {:limit=>nil, :default=>""})
-> 0.0929s
== ChangeAuthSourcesAccountPasswordLimit: migrated (0.0931s) =================
== ChangeJournalDetailsValuesToText: migrating ===============================
-- change_column(:journal_details, :old_value, :text)
-> 0.1365s
-- change_column(:journal_details, :value, :text)
-> 0.0926s
== ChangeJournalDetailsValuesToText: migrated (0.2294s) ======================
== AddRepositoriesLogEncoding: migrating =====================================
-- add_column(:repositories, :log_encoding, :string, {:limit=>64, :default=>nil})
-> 0.0017s
== AddRepositoriesLogEncoding: migrated (0.0018s) ============================
== CopyRepositoriesLogEncoding: migrating ====================================
== CopyRepositoriesLogEncoding: migrated (0.0142s) ===========================
== AddIndexToUsersType: migrating ============================================
-- add_index(:users, :type)
-> 0.0272s
== AddIndexToUsersType: migrated (0.0274s) ===================================
よし!うまくいった!あとはプラグイン関連も・・・
# rake db:migrate_plugins RAILS_ENV=production
(in /home/project)
Migrating engines...
Migrating acts_as_activity_provider...
Migrating acts_as_attachable...
Migrating acts_as_customizable...
Migrating acts_as_event...
Migrating acts_as_list...
Migrating acts_as_searchable...
Migrating acts_as_tree...
Migrating acts_as_versioned...
Migrating acts_as_watchable...
Migrating awesome_nested_set...
Migrating classic_pagination...
Migrating gravatar...
Migrating open_id_authentication...
Migrating prepend_engine_views...
Migrating rfpdf...
Migrating ruby-net-ldap-0.0.4...
Migrating trunk...
- クリーンナップ
# rake tmp:cache:clear
(in /home/project)
# rake tmp:sessions:clear
(in /home/project)
最後にApacheを再起動して完了です。
完了しました。
登録:
投稿 (Atom)














