如何将Turnkey Redmine 虚拟机从Redmine 1.0.5 升级到1.2

#0

/etc/init.d/apache2 stop

#1
cd /var/www

#2
mv railsapp railsappOLD

#3
svn co http://redmine.rubyforge.org/svn/branches/1.2-stable railsapp

#4
cp ./railsappOLD/config/database.yml  ./railsapp/config/database.yml

#5
cp ./railsappOLD/config/email.yml  ./railsapp/config/email.yml

#6
cp -r ./railsappOLD/files ./railsapp/files

#7
sudo chown -R root:www-data /var/www/railsapp

#8
cd /var/www/railsapp

#9 (inside the /var/www/railsapp folder)
sudo chown -R www-data:www-data files log tmp

#10 (this command takes a little time - be patient)
gem install rails -v=2.3.11

#11
gem install rack

#12
gem install rack -v=1.1.1

#13 (inside the /var/www/railsapp folder)
rake generate_session_store

#14 (inside the /var/www/railsapp folder)
rake db:migrate RAILS_ENV=production

#15 (inside the /var/www/railsapp folder)
sudo chown -R www-data:www-data files log tmp public/plugin_assets

#16 (inside the /var/www/railsapp folder)
rake db:migrate:upgrade_plugin_migrations RAILS_ENV=production

#17 (inside the /var/www/railsapp folder)
rake db:migrate_plugins RAILS_ENV=production
 
#18
sudo chmod -R 755 files log/ tmp/ public/plugin_assets
 
#19 (inside the /var/www/railsapp folder)
rake tmp:cache:clear

#20 (inside the /var/www/railsapp folder)
rake tmp:sessions:clear

#21

/etc/init.d/apache2 start

 

没有更多推荐了,返回首页

私密
私密原因:
请选择设置私密原因
  • 广告
  • 抄袭
  • 版权
  • 政治
  • 色情
  • 无意义
  • 其他
其他原因:
120
出错啦
系统繁忙,请稍后再试