https://bitnami.com/stack/redmine/installer
http://down.51cto.com/data/1032776
访问http://ip/redmine
安装完成后有可能登录报错
--解决办法--
vi apps\redmine\htdocs\db\migrate\001_setup.rb文件,在靠近末尾处:
# create default administrator account
....
[b]:firstname => "xxx", 这里可能有乱码[/b],修改一下,
mysqld --user=root
再运行apps\redmine\scripts\redmineini.sh
----------------
备份
1.备份mysql数据库
apps/redmine/htdocs/config/database.yml
2. 备份文件
----------------------
恢复
1.恢复数据库
./mysql -u bitnami -p123 bitnami_redmine < /opt/redmine_bak.sql
123为密码
2.恢复文件
tar -zxvf files_bak.tar.gz
http://down.51cto.com/data/1032776
访问http://ip/redmine
安装完成后有可能登录报错
--解决办法--
vi apps\redmine\htdocs\db\migrate\001_setup.rb文件,在靠近末尾处:
# create default administrator account
....
[b]:firstname => "xxx", 这里可能有乱码[/b],修改一下,
mysqld --user=root
再运行apps\redmine\scripts\redmineini.sh
----------------
备份
1.备份mysql数据库
apps/redmine/htdocs/config/database.yml
production:
adapter: mysql2
database: bitnami_redmine
host: localhost
username: bitnami
password: b6ba3330b6
encoding: utf8
socket: /opt/redmine/mysql/tmp/mysql.sock
/opt/redmine/mysql/bin/mysqldump -u bitnami -p bitnami_redmine > /opt/redmine_bak.sql
2. 备份文件
tar cvzf /opt/files_bak.tar.gz /opt/redmine/apps/redmine/htdocs/files/
----------------------
恢复
1.恢复数据库
./mysql -u bitnami -p123 bitnami_redmine < /opt/redmine_bak.sql
123为密码
2.恢复文件
tar -zxvf files_bak.tar.gz