Difference between revisions of "Redmine"
From Blue-IT.org Wiki
(→Redmine 1.3.x) |
(→Redmine 2.x) |
||
Line 65: | Line 65: | ||
Use the ppa for redmine on ubuntu 12.04 LTS and above. | Use the ppa for redmine on ubuntu 12.04 LTS and above. | ||
+ | |||
+ | * https://launchpad.net/~ondrej/+archive/redmine | ||
=== Anyway === | === Anyway === |
Revision as of 17:38, 15 August 2013
Contents
- 1 Redmine 1.x on Debian Squeeze (6.x)
- 1.1 Redmine Bugs
- 1.2 Installation mit Postgresql und Apache2 mod_passenger
- 1.3 Apache virtual host
- 1.4 Plugins
- 1.4.1 Mylyn Connector for Eclipse and Redmine Plugin
- 1.4.2 Timesheet Extension
- 1.4.3 AFTER installation of plugins
- 1.4.4 Attach Screenshot (2.x)
- 1.4.5 Close Button
- 1.4.6 CMI
- 1.4.7 Ultraviolet Syntax Highlighting
- 1.4.8 DocPu, Document publishing plugin
- 1.4.9 Hudson
- 1.4.10 Startpage (1.2.x)
- 1.4.11 Books (1.2.x)
- 1.4.12 Wiki Extensions (1.2.x)
- 1.5 SVN integration and https
Redmine 1.x on Debian Squeeze (6.x)
Redmine Bugs
width of attached images
vim ./public/stylesheets/application.css +740 #content .wiki img { max-width: 98%; }
Possible other solutions:
Fixing a bug using svn
vim /usr/share/redmine/lib/redmine/scm/adapters/subversion_adapter.rb # SVN executable name - SVN_BIN = "svn" + SVN_BIN = "/usr/bin/svn"
Installation mit Postgresql und Apache2 mod_passenger
Prerequisites:
- postgresql server (8.4) installation
- apache2 with virtual hosts
Debian will configure database and permissions automatically! Be prepared to have an database password for postgres handy.
Redmine 1.1.x
apt-get install redmine redmine-pgsql ruby-git libapache2-mod-passenger librmagick-ruby
Update to the most recent version
aptitude -t squeeze-backports install redmine
Redmine 1.3.x
Or via testing:
root@server:~# vim /etc/apt/sources.list.d/testing.list
deb http://yourmirror/debian/mirror/ testing main non-free contrib deb http://security.debian.org/ testing/updates main contrib non-free deb-src http://security.debian.org/ testing/updates main contrib non-free
and
root@server:~# vim /etc/apt/preferences.d/pinning
Package: * Pin: release n=squeeze Pin-Priority: 900 Package: * Pin: release a=testing Pin-Priority: 80
then
root@server:~# apt-get update && aptitude -t testing install redmine redmine-pgsql ruby-git libapache2-mod-passenger librmagick-ruby
Redmine 2.x
Use the ppa for redmine on ubuntu 12.04 LTS and above.
Anyway
Alter permissions:
cd /usr/share/redmine/ mkdir files chown -R www-data:www-data public chown -R www-data:www-data files chmod 777 files
Apache virtual host
SERVERIP="1.2.3.4" MAIL="webmaster@mydomain.com" DOMAIN="projects.example.com" DOCPATH="/usr/share/redmine/public" SSLPATH="/var/customers/ssl" CUSTOMER="companyname" CHAINFILE="/where/is/ssl/CAcert_chain.pem" cat << EOF > ${DOMAIN}.conf <VirtualHost ${SERVERIP}:443> ServerAdmin webmaster@${DOMAIN} ServerName www.${DOMAIN} ServerAlias ${DOMAIN} DocumentRoot ${DOCPATH} <Directory ${DOCPATH}> Options -MultiViews allow from all </Directory> # Possible values include: debug, info, notice, warn, error, crit, # alert, emerg. LogLevel warn CustomLog /var/log/apache2/access.log combined ErrorLog /var/log/apache2/error.log ServerSignature Off SSLEngine on SSLCertificateFile ${SSLPATH}/${CUSTOMER}/${DOMAIN}.cert SSLCertificateKeyFile ${SSLPATH}/${CUSTOMER}/${DOMAIN}.key SSLCertificateChainFile ${CHAINFILE} </VirtualHost> EOF
Plugins
Mylyn Connector for Eclipse and Redmine Plugin
1. Install the Redmine Mylin Connector using the update site:
http://redmin-mylyncon.sourceforge.net/update-site/N/
2. Install the Redmine Plugin
cd /usr/share/redmine ruby script/plugin install git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector # Update # ruby script/plugin install --force git://redmin-mylyncon.git.sourceforge.net/gitroot/redmin-mylyncon/redmine-mylyn-connector
Timesheet Extension
- https://github.com/nicStuff/redmine_timesheet_extensions/wiki/Plugin-description-and-instructions
- https://github.com/nicStuff/redmine_timesheet_extensions
Download the files (searching the „Downloads“ link) onto the server with
links2 https://github.com/nicStuff/redmine_timesheet_extensions
AFTER installation of plugins
Update the database
cd /usr/share/redmine rake db:migrate_plugins RAILS_ENV=production
If you have problems use
rake db:migrate_plugins RAILS_ENV=production --trace
Attach Screenshot (2.x)
For Redmine 2.x
ANother one:
Close Button
* http://www.redmine.org/plugins/redmine_close_button
CMI
Metrics * http://www.redmine.org/plugins/redmine_cmi
Ultraviolet Syntax Highlighting
* http://www.redmine.org/plugins/redmine_ultraviolet
DocPu, Document publishing plugin
* http://www.redmine.org/plugins/redmine_doc_pu
Requires:
gem install RedCloth apt-get install tetex-base texlive-latex-extra
Hudson
* http://www.redmine.org/plugins/t-ando_redmine_hudson
Startpage (1.2.x)
* http://www.redmine.org/plugins/redmine_startpage
Books (1.2.x)
* http://www.redmine.org/plugins/redmine_wiki_books
Wiki Extensions (1.2.x)
* http://www.r-labs.org/projects/r-labs/wiki/Wiki_Extensions_en