Fenriz7

Guia Instalacion Redmine 2.4

May 16th, 2014
657
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1.  
  2.  
  3. == Redmine installation
  4.  
  5. Redmine - project management software
  6. Copyright (C) 2006-2013 Jean-Philippe Lang
  7. http://www.redmine.org/
  8.  
  9.  
  10. == Requirements
  11.  
  12. * Ruby 1.8.7, 1.9.2, 1.9.3 or 2.0.0
  13. * RubyGems
  14. * Bundler >= 1.0.21
  15.  
  16. * A database:
  17. * MySQL (tested with MySQL 5.1)
  18. * PostgreSQL (tested with PostgreSQL 9.1)
  19. * SQLite3 (tested with SQLite 3.7)
  20. * SQLServer (tested with SQLServer 2012)
  21.  
  22. Optional:
  23. * SCM binaries (e.g. svn, git...), for repository browsing (must be available in PATH)
  24. * ImageMagick (to enable Gantt export to png images)
  25.  
  26. == Installation
  27.  
  28. 1. Uncompress the program archive
  29.  
  30. 2. Create an empty utf8 encoded database: "redmine" for example
  31.  
  32. 3. Configure the database parameters in config/database.yml
  33. for the "production" environment (default database is MySQL and ruby1.9)
  34.  
  35. If you're running Redmine with MySQL and ruby1.8, replace the adapter name
  36. with `mysql`
  37.  
  38. 4. Install the required gems by running:
  39. bundle install --without development test
  40.  
  41. If ImageMagick is not installed on your system, you should skip the installation
  42. of the rmagick gem using:
  43. bundle install --without development test rmagick
  44.  
  45. Only the gems that are needed by the adapters you've specified in your database
  46. configuration file are actually installed (eg. if your config/database.yml
  47. uses the 'mysql2' adapter, then only the mysql2 gem will be installed). Don't
  48. forget to re-run `bundle install` when you change config/database.yml for using
  49. other database adapters.
  50.  
  51. If you need to load some gems that are not required by Redmine core (eg. fcgi),
  52. you can create a file named Gemfile.local at the root of your redmine directory.
  53. It will be loaded automatically when running `bundle install`.
  54.  
  55. 5. Generate a session store secret
  56.  
  57. Redmine stores session data in cookies by default, which requires
  58. a secret to be generated. Under the application main directory run:
  59. rake generate_secret_token
  60.  
  61. 6. Create the database structure
  62.  
  63. Under the application main directory run:
  64. rake db:migrate RAILS_ENV="production"
  65.  
  66. It will create all the tables and an administrator account.
  67.  
  68. 7. Setting up permissions (Windows users have to skip this section)
  69.  
  70. The user who runs Redmine must have write permission on the following
  71. subdirectories: files, log, tmp & public/plugin_assets.
  72.  
  73. Assuming you run Redmine with a user named "redmine":
  74. sudo chown -R redmine:redmine files log tmp public/plugin_assets
  75. sudo chmod -R 755 files log tmp public/plugin_assets
  76.  
  77. 8. Test the installation by running the WEBrick web server
  78.  
  79. Under the main application directory run:
  80. ruby script/rails server -e production
  81.  
  82. Once WEBrick has started, point your browser to http://localhost:3000/
  83. You should now see the application welcome page.
  84.  
  85. 9. Use the default administrator account to log in:
  86. login: admin
  87. password: admin
  88.  
  89. Go to "Administration" to load the default configuration data (roles,
  90. trackers, statuses, workflow) and to adjust the application settings
  91.  
  92. == SMTP server Configuration
  93.  
  94. Copy config/configuration.yml.example to config/configuration.yml and
  95. edit this file to adjust your SMTP settings.
  96. Do not forget to restart the application after any change to this file.
  97.  
  98. Please do not enter your SMTP settings in environment.rb.
  99.  
  100. == References
  101.  
  102. * http://www.redmine.org/wiki/redmine/RedmineInstall
  103. * http://www.redmine.org/wiki/redmine/EmailConfiguration
  104. * http://www.redmine.org/wiki/redmine/RedmineSettings
  105. * http://www.redmine.org/wiki/redmine/RedmineRepositories
  106. * http://www.redmine.org/wiki/redmine/RedmineReceivingEmails
  107. * http://www.redmine.org/wiki/redmine/RedmineReminderEmails
  108. * http://www.redmine.org/wiki/redmine/RedmineLDAP
RAW Paste Data