Tag: CentOS5
# rpm --import http://apt.sw.be/RPM-GPG-KEY.dag.txt
# rpm -K rpmforge-release-0.5.2-2.el5.rf.*.rpm
# rpm -i rpmforge-release-0.5.2-2.el5.rf.*.rpm
システム→設定→スクリーンセーバーで、「アイドル時にスクリーンセーバーを起動」と「スクリーンセーバー起動時に画面をロック」のチェックを無効にする。
システム→設定→画面の解像度の設定で変更する。
# yum install gcc # yum install httpd-devel # yum -y install openssl-devel # yum -y install apr-util apr-util-devel apr apr-devel
# tar jxvpf subversion-1.6.16.tar.bza2 # tar jxvpf subversion-deps-1.6.16.tar.bz2
# cd subversion-1.6.16
# ./configure --prefix=/usr/local --with-apr=/usr --with-apr-util=/usr --with-apxs=/usr/sbin/apxs # make # make install
# svn --version
LoadModule dav_svn_module /usr/lib/httpd/modules/mod_dav_svn.so LoadModule authz_svn_module /usr/lib/httpd/modules/mod_authz_svn.so
# ./vmware-install.pl
# yum --enablerepo=rpmforge install ddclient
use=web login=myhost password=xxxxx server=members.dyndns.org, \ protocol=dyndns2 \ myhost.dyndns.org
# /usr/sbin/ddclient -daemon=0 -verbose
# /etc/init.d/ddclient start
$ sudo yum install sqlite3-devel
$ tar jxvpf ruby-1.8.7-p334.tar.bz2 $ cd ruby-1.8.7-p334 $ ./configure $ make $ sudo make install
$ tar zxvpf rubygems-1.7.1.tgz $ cd rubygems-1.7.1 $ sudo ruby setup.rb
$ sudo gem update --system
$ sudo gem install sqlite3-ruby --version=1.2.5
$ sudo gem install rake
$ sudo gem install -v=0.4.2 i18n
$ sudo gem install rails --version 2.3.11
production: adapter: sqlite3 database: db/redmine.db timeout: 5000
$ rake config/initializers/session_store.rb
$ rake db:migrate RAILS_ENV=production
$ rake redmine:load_default_data RAILS_ENV=production
$ script/server -e production
Redmine - Defect #7516: Redmine does not work with RubyGems 1.5.0 - Redmineによるとconfig/environment.rbに次のコードを追加する。
if Gem::VERSION >= "1.3.6" module Rails class GemDependency def requirement r = super (r == Gem::Requirement.default) ? nil : r end end end end
gem 'rack', '~> 1.2.1'
verbose = $VERBOSE $VERBOSE = nil @vendor_source_index = Gem::SourceIndex.new(vendor_gems) $VERBOSE = verbose
Defaults env_keep = "COLORS DISPLAY HOSTNAME HISTSIZE INPUTRC KDEDIR \ LS_COLORS MAIL PS1 PS2 QTDIR USERNAME \ LANG LC_ADDRESS LC_CTYPE LC_COLLATE LC_IDENTIFICATION \ LC_MEASUREMENT LC_MESSAGES LC_MONETARY LC_NAME LC_NUMERIC \ LC_PAPER LC_TELEPHONE LC_TIME LC_ALL LANGUAGE LINGUAS \ _XKB_CHARSET XAUTHORITY PATH"