Redmine upgrade: en ru
Install Redmine on Ubuntu: en en ru
What I did:
- Install ubuntu 14.04 LTS Trusty Tahr Server x86
- I’m behind proxy. So I add
[code language=”java”]
export http_proxy="http://login:password@proxyip:port/"
[/code]to /etc/bash.bashrc
To use this option I should type[code language=”java”]
sudo -E command
[/code] - I downloaded Bitnami Redmine. (redmine.run)
To execute this file you should type[code language=”java”]
./redmine.run
[/code] - Add /installdir/redmine/ruby/bin to PATH variable to file ~/.bashrc
[code language=”java”]
PATH=$PATH:installdir/redmine/ruby/bin
[/code] migrate redmine db: en ru
About file and directories permissions:
git sets file and dirs permissions.
Main problem – another user has not access to repositories. For example, the another user is Redmine. If you want Redmine to read repositories, you should change umask.
Also you can turn off checking file permissions by GIT. Just execute for a repository:
[code language=”java”]
git config core.filemode false
[/code]
or for all repositories
[code language=”java”]
git config –global core.filemode false
[/code]
If you use gitolite have look at manual.
You should edit file ~/.gitolite.rc
The file has $umask variable, default value is 0077. The default umask that gitolite uses gives rwx—— permissions to all repos. People who want to run gitweb, Redmine, etc. realise that this will not do.
The correct way to deal with this is to give this variable a value like 0027 (note the syntax: the leading 0 is required), and then make the user running the webserver (apache, www-data, whatever) a member of the ‘git’ group.
If you’ve already installed gitolite then existing files will have to be fixed up manually (for a umask or 0027, that would be chmod -R g+rX). This is because umask only affects permissions on newly created files, not existing ones.