Skip to content
Posted on:January 7, 2011 at 07:00 PM

Install Redmine on Dreamhost

Install Redmine on Dreamhost

Redmine 설치하기

dreamhost에서 shell 계정을 하나 새로 만들었다. mls_redmine으로 했다. domain을 또 하나 만들었다. http://redmine.merlionsoft.com Passenger를 사용하도록 체크했다. passenger를 설치하면 설치 디렉토리가 /redmine/public으로 바뀐다고 해서 그렇게 하라고 했다. redmine 다운받아서 /redmine/ 디렉토리에 설치했다. 압축을 풀면 redmine/public 디렉토리가 생겨서 거기가 passenger에 생기는 것이다. Database 빈것 하나 만들어준다. db_merlionredmine dba_merlionsoft, uhb~

chmod -v -R 755 ./* cd ~/yoursubdomain.yourdomain.com/config cp database.yml.example database.yml Edit database.yml with a text editor. Change the production stanza to your settings: 아래와 같이 production 부분을 바꿔준다.

production:
  adapter: mysql
  database: db_merlionredmine
  host: mysql.merlionsoft.com
  username: dba_merlionsoft
  password: uhb5135
  encoding: utf8
cd ~/yoursubdomain.yourdomain.com/public
cp dispatch.rb.example dispatch.rb
cp dispatch.fcgi.example dispatch.fcgi
cp dispatch.cgi.example dispatch.cgi
cd ~/yoursubdomain.yourdomain.com
rake generate_session_store This will generate a file (config/initializers/session_store.rb) with a random secret used to secure session data.
cd ~/yoursubdomain.yourdomain.com
rake db:migrate RAILS_ENV=production
rake redmine:load_default_data RAILS_ENV=production
Choose en for english.

Browse to http://yoursubdomain.yourdomain.com
Username: admin Password: admin
Change your Username and associated password as soon as possible.

이메일설정하기 메일 설정이 되지 않는다 어떻게 해야 하느냐? http://redmineblog.com/articles/setup-redmine-to-send-email-using-gmail/ 구글 smtp를 이용하여 이메일 보내는 법

  1. Install the action_mailer_optional_tls plugin ruby script/plugin install git://github.com/collectiveidea/action_mailer_optional_tls.git
  2. Configure your email.yml
production:
  delivery_method: :smtp
  smtp_settings:
  tls: true
  address: "smtp.gmail.com"
  port: '587'
  domain: "smtp.gmail.com"
  authentication: :plain
  user_name: "[email protected]"
  password: "redmine77"
development:
  delivery_method: :smtp
  smtp_settings:
  tls: true
  address: "smtp.gmail.com"
  port: '587'
  domain: "smtp.gmail.com"
  authentication: :plain
  user_name: "[email protected]"
  password: "redmine77"

2010년 12월 29일 Redmine 버전 = 1.0.5 2011년 1월 28일 Redmine버전 = 1.1.0 2011년 3월 7일 Redmine버전 = 1.1.2

http://wiki.dreamhost.com/Redmine

Web Analytics