Difference between revisions of "Redmine"
From Blue-IT.org Wiki
(→Attach Screenshot (2.x)) |
(→Attach Screenshot (2.x)) |
||
Line 203: | Line 203: | ||
There are some problems with the new Java 1.7 security. See my post from 2014-02-06 here hwo to solve this! | There are some problems with the new Java 1.7 security. See my post from 2014-02-06 here hwo to solve this! | ||
* https://bitbucket.org/StrangeWill/redmine-inline-attach-screenshot/issue/36/class-not-found | * https://bitbucket.org/StrangeWill/redmine-inline-attach-screenshot/issue/36/class-not-found | ||
− | |||
− | |||
− | |||
=== Close Button === | === Close Button === |
Revision as of 11:31, 16 February 2014
Contents
- 1 Redmine 2.x and Ubuntu 12.04
- 2 Redmine 1.x on Debian Squeeze (6.x)
- 2.1 Redmine Bugs
- 2.2 Installation mit Postgresql und Apache2 mod_passenger
- 2.3 Apache virtual host
- 2.4 Plugins
- 2.4.1 Mylyn Connector for Eclipse and Redmine Plugin
- 2.4.2 Timesheet Extension
- 2.4.3 AFTER installation of plugins
- 2.4.4 Attach Screenshot (2.x)
- 2.4.5 Close Button
- 2.4.6 CMI
- 2.4.7 Ultraviolet Syntax Highlighting
- 2.4.8 DocPu, Document publishing plugin
- 2.4.9 Hudson
- 2.4.10 Startpage (1.2.x)
- 2.4.11 Books (1.2.x)
- 2.4.12 Wiki Extensions (1.2.x)
- 2.5 SVN integration and https
Redmine 2.x and Ubuntu 12.04
Man problems mentioned are solved using a recent version of redmine.
Together with [Zentyal] you can use [LDAP] to authenticate users of a Samba4 domain.
Use the ppa for redmine on ubuntu 12.04 LTS and above.
Then use this guide:
Plugins
- Create the directory /usr/share/redmine/plugins
- Put plugins into this directory
- run the as explaned in http://www.redmine.org/projects/redmine/wiki/Plugins
rake redmine:plugins:migrate RAILS_ENV=production
LDAP with Zentyal
--Apos (talk) 10:27, 2 November 2013 (CET)
>>> See LDAP with Zentyal 3.2.
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
Trouble after install
Error with bundler
cd /usr/share/redmine gem install bundler
Error with Gemfile.lock
Create the file:
cd /usr/share/redmine touch Gemfile.lock chmod 664 Gemfile.lock
And fill it with:
GEM remote: https://rubygems.org/ specs: PLATFORMS ruby DEPENDENCIES
Anyway
Alter permissions.
This is NOT necessary in ubuntu 12.04 and redmine 2.x.
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 (requires java 1.6++ on the client side!)
[UPDATE] Apos 12:28, 16 February 2014 (CET)
There are some problems with the new Java 1.7 security. See my post from 2014-02-06 here hwo to solve this!
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