- [Show page]
- [Old revisions]
- [[unknown link type]]
- []
Differences
This shows you the differences between two versions of the page.
Both sides previous revision Previous revision Next revision | Previous revision | ||
linux:redmine [2015/11/03 17:02] vondra [Installation] |
linux:redmine [2015/11/04 10:01] (current) vondra [Installation] |
||
---|---|---|---|
Line 8: | Line 8: | ||
grant all privileges on redmine.* to redmine@localhost identified by 'redmine'; | grant all privileges on redmine.* to redmine@localhost identified by 'redmine'; | ||
</code> | </code> | ||
+ | - (optionally) put DB dump from older version into newly created DB | ||
- setup database manually in /etc/redmine/database.yaml:<code yaml> | - setup database manually in /etc/redmine/database.yaml:<code yaml> | ||
production: | production: | ||
Line 24: | Line 25: | ||
- install passenger module to apache:<code bash> | - install passenger module to apache:<code bash> | ||
apt-get install libapache2-mod-passenger | apt-get install libapache2-mod-passenger | ||
+ | </code> | ||
+ | - setup default user for passenger in /etc/apache2/mods-available/passenger.conf:<code xml> | ||
+ | <IfModule mod_passenger.c> | ||
+ | PassengerRoot /usr/lib/ruby/vendor_ruby/phusion_passenger/locations.ini | ||
+ | PassengerDefaultRuby /usr/bin/ruby | ||
+ | PassengerDefaultUser www-data | ||
+ | </IfModule> | ||
</code> | </code> | ||
- create apache configuration /etc/apache2/sites-available/redmine.conf:<code xml> | - create apache configuration /etc/apache2/sites-available/redmine.conf:<code xml> | ||
Line 48: | Line 56: | ||
- setup new server following the previous steps | - setup new server following the previous steps | ||
- | - copy files from old server to new (files are in /var/lib/redmine/default/files) | + | - copy files from old server to new (files are in /var/lib/redmine/default/files) and don't forget to grant permissions for www-data user |
- | - put db dump from old server to new database | + | |
linux/redmine.1446566542.txt.gz · Last modified: 2015/11/03 17:02 by vondra