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
export http_proxy="http://login:password@proxyip:port/"
to /etc/bash.bashrc
To use this option I should typesudo -E command
- I downloaded Bitnami Redmine. (redmine.run)
To execute this file you should type./redmine.run
- Add /installdir/redmine/ruby/bin to PATH variable to file ~/.bashrc
PATH=$PATH:installdir/redmine/ruby/bin
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:
git config core.filemode false
or for all repositories
git config --global core.filemode false
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.