#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