Рубрики
cms

Redmine

Redmine — открытое серверное веб-приложение для управления проектами и задачами (в том числе для отслеживания ошибок).

Redmine написан на Ruby и представляет собой приложение на основе широко известного веб-фреймворка Ruby on Rails. 
Распространяется согласно GNU General Public License.
Assumptions
We take as given that:
We are using a Debian Squeeze installation
We have root access to this machine
There is public access to the machine itself (public IP)
We are able to define a public domain (or subdomain) name for this Redmine installation
We have access to define a database (we chose MySQL) user for Redmine (this is important 
to avoid security risks in sharing accounts with another web system). We also assume that
we already have a MySQL server installation
We will be using Apache 2's modPassenger (and Apache 2 is already installed on the server)
We will be using redmine.example.com; so every time you see this below, replace it by your own domain

Установка

!!!при создании базы данных УКАЗАТЬ КОДИРОВКУ utf_general_ci
0. apt-get install  apache2 phpmyadmin libapache2-mod-php5 php5 php5-mysql mysql-server mysql-client
1. apt-get install ruby rubygems libruby libapache2-mod-passenger subversion 
2. cd /usr/local/share
3. download /usr/local/share
4. ln /usr/local/share/redmine-2.1.0 /usr/local/share/redmine
5. chown -R root:root /usr/local/share/redmine-2.1.0
6. apt-get install libmysqlclient-dev
7. apt-get install libmagickcore-dev libmagickwand-dev
8. gem install bundler
9. cd /usr/local/share/redmine/
10. /var/lib/gems/1.8/bin/bundle install --without development test postgresql sqlite
11. cp config/database.yml.example config/database.yml
12. nano config/database.yml

production:
  adapter: mysql
  database: redmine
  host: localhost
  username: redmine
  password: my_password

13.
/var/lib/gems/1.8/bin/rake generate_secret_token
RAILS_ENV=production /var/lib/gems/1.8/bin/rake db:migrate
RAILS_ENV=production /var/lib/gems/1.8/bin/rake redmine:load_default_data

14. Setup Apache’s VirtualHost config
nano /etc/apache2/sites-enabled/000-default 


 ServerName redmine.example.com
 DocumentRoot /usr/local/share/redmine/public
 
   AllowOverride all
   Options -MultiViews
 


15. 
/etc/init.d/apache2 reload
/etc/init.d/apache2 restart

16.
The default login/password is admin/admin (don't forget to change this).

Обновление:


apt-get install apache2 phpmyadmin libapache2-mod-php5 php5 php5-mysql mysql-server mysql-client
apt-get install ruby rubygems libruby libapache2-mod-passenger subversion 
apt-get install libmysqlclient-dev
apt-get install libmagickcore-dev libmagickwand-dev
cd /usr/local/share
chown -R root:root /usr/local/share/redmine-2.1.0
ln /usr/local/share/redmine-2.1.0 /usr/local/share/redmine

cd /usr/local/share/redmine/
/var/lib/gems/1.8/bin/bundle install --without development test postgresql sqlite
/var/lib/gems/1.8/bin/rake generate_secret_token
/var/lib/gems/1.8/bin/rake db:migrate RAILS_ENV=production
__________________________________________________________________________

http://www.redmine.org/projects/redmine/wiki/Download
http://www.redmine.org/projects/redmine/wiki/HowTo_Install_Redmine_210_on_Debian_Squeeze_with_Apache_Passenger
http://www.redmine.org/projects/redmine/wiki/RusRedmineUpgrade обновление
___________________________________________________________________________

You can checkout the latest stable source with one of the following commands:
Subversion
svn co http://svn.redmine.org/redmine/branches/2.1-stable redmine-2.1
It will create a directory named redmine-2.1 and you'll be able to update your Redmine copy using svn update in this directory.

Mercurial
hg clone --updaterev 2.1-stable https://bitbucket.org/redmine/redmine-all redmine-2.1