RedmineIt is a defect management system developed based on Apache, MySQL, and Ruby on Rails.Bitnami redmine Stack isBitnamiOne member of the stack series organized for development and maintenance can simplify redmine installation and configuration.
[Installation steps]
1. Slave
Http://bitnami.org/stack/redmine
Download
Bitnami redmine
Wget
Http://bitnami.org/files/stacks/redmine/1.2.0-0/bitnami-redmine-1.2.0-0-linux-installer.bin
2. Install bitnami
Redmine (assuming the installation directory is/Mnt/data/
Redmine-1.2.0-0) /Bitnami-redmine-1.2.0-0-linux-installer.bin
3. Start redmine [Root @ svn_server/] #
CD
/Mnt/data/
Redmine-1.2.0-0 [Root @ svn_server redmine-1.2.0-0] #
./Ctlscript. Sh
Start [Root @ svn_server redmine-1.2.0-0] #
./Ctlscript. Sh
Status
Subversion already running
Apache already
Running
Redmine already running
MySQL already running
4. Slave
Http://www.redmine.org/projects/redmine/wiki/PluginEzfaq
Download the ezfaq plug-in Wget Https://download.github.com/zouchaoqun-ezfaq-0.3.5-12-g7c12aef.tar.gz
5. Install the ezfaq plug-in
1). Copy the plugin directory (ezfaq_plugin) into
/Mnt/data/
Redmine-1.2.0-0/apps/redmine/vendor/plugins
Directory
Note: The plugin directory must be
Ezfaq_plugin
2). migrate Plugin: rake
DB: migrate_plugins
[Root @ svn_server redmine-1.2.0-0] #
./Use_redmine
Bash-3.2 # Export
Path = /Mnt/Data /Redmine-1.2.0-0/Ruby/bin: $ path# Add it to/etc/profile to take effect after restart
Bash-3.2 #
PWD
/Mnt/data/Redmine-1.2.0-0
Bash-3.2 #
CD apps/redmine
Bash-3.2 # Rake DB: migrate_plugins
Rails_env = Production
3 ).
Start redmine
[Root @ svn_server redmine-1.2.0-0] # ./Ctlscript. Sh restart
/mnt/data/redmine-1.2.0-0/subversion/scripts/CTL. SH: Subversion
stopped
syntax OK
/mnt/data/redmine-1.2.0-0/apache2/scripts/CTL. SH: httpd
stopped
stopping port 3001
stopping port
3002
/mnt/data/redmine-1.2.0-0/MySQL/scripts/CTL. SH: MySQL stopped
110616
08:25:22 mysqld_safe logging to
'/mnt/data/redmine-1.2.0-0/MySQL/data/mysqld. log '.
08:25:22 110616
mysqld_safe starting mysqld. bin daemon with databases from
/mnt/data/redmine-1.2.0-0/MySQL/Data
/mnt/data/redmine-1.2.0-0/MySQL/scripts/CTL. sh
: mySQL started at Port 3306
starting port 3001
starting port
3002
syntax OK
/mnt/data/redmine-1.2.0-0/apache2/scripts/CTL. SH: httpd
started at port 8080
/mnt/data/redmine-1.2.0-0/subversion/scripts/CTL. SH:
subversion started at Port 3690
4). In your project in redmine, go to "Project Settings": on
"Modules" tab, enable the module by checking "ezfaq ".
----------------------------------------
[Problems during installation]
[Root @ svn_server redmine-1.2.0-0] #
Rake DB: migrate_plugins
-Bash:
RAKE: Command not found
Cause: The rake command cannot be found. redmine comes with Ruby, rake, and other related commands, In the ruby/bin directory of the installation directory.
Solution: Add/mnt/data/redmine-1.2.0-0/Ruby/bin to the front of the PATH environment variable. to activate it, add it to the/etc/profile file. [Root @ svn_server bin] #
Export
Path =/mnt/data/redmine-1.2.0-0/Ruby/bin: $ path
[Root @ svn_server bin] #
Ruby -- version
Ruby 1.8.7 (2011-02-18
Patchlevel 334) [i686-linux]
[Root @ svn_server redmine-1.2.0-0] #
Rake DB: migrate_plugins
Rake aborted!
No rakefile found (looking for: rakefile, rakefile,
Rakefile. RB,
Rakefile. RB)
/Mnt/data/redmine-1.2.0-0/Ruby/lib/Ruby/gems/1.8/gems/rake-0.8.7/lib/rake. RB: 2377: In
'Raw _ load_rakefile'
(See full trace by running task
-- Trace)
Cause:Not executed in the/mnt/data/redmine-1.2.0-0/apps/redmine directory
Solution:Switch the current directory to/mnt/data/redmine-1.2.0-0/apps/redmine and execute [Root @ svn_server apps] #
CD
/Mnt/data/redmine-1.2.0-0/apps/redmine
[Root @ svn_server redmine] #
rake
DB: migrate_plugins
(in
/mnt/data/redmine-1.2.0-0/apps/redmine)
rake aborted!
access denied for
User 'bitam' @ 'localhost' to database' redmine _ Development '
(see full
trace by running task with -- Trace) cause : not run it in production mode solution: [root @ svn_server redmine-1.2.0-0] #
. /use_redmine
bash-3.2 # export
Path =/mnt/data/redmine-1.2.0-0/Ruby/bin: $ PATH
bash-3.2 #
pwd
/mnt/data/redmine-1.2.0-0
bash-3.2 # Cd
apps/redmine
bash-3.2 # rake DB: migrate_plugins rails_env = production