>apt-get install ruby ruby-dev rubygems rdoc libopenssl-ruby rake mysql-server build-essential rails libmysql-ruby >gem install rails -v=2.1.2 >gem install rake >cd /opt/ >svn co http://redmine.rubyforge.org/svn/branches/0.8-stable redmine-0.8 >mysql -u root -p mysql>create database redmine character set utf8; >cp /opt/redmine-0.8/config/database.yml.example /opt/redmine-0.8/config/database.yml >vim /opt/redmine-0.8/config/database.yml production: adapter: mysql database: redmine host: localhost username: root password: PASSWORD encoding: utf8 socket: /var/run/mysqld/mysqld.sock >cd /opt/redmine-0.8/ >rake db:migrate RAILS_ENV="production" >rake redmine:load_default_data RAILS_ENV="production" >chmod -R 755 files log tmp public/plugin_assets >vim /opt/redmine-0.8/config/email.yml.example /opt/redmine-0.8/config/email.yml >vim /opt/redmine-0.8/config/email.yml production: delivery_method: :smtp smtp_settings: address: 127.0.0.1 port: 25 domain: test.com #comment out if you don't use SMTP-AUTH # authentication: :login # user_name: redmine@test.com # password: redmin >ruby script/server webrick -e production = on apache >apt-get install apache2 apache2-dev libapache2-mod-ruby libmysql-ruby libdbd-mysql-ruby libapache2-mod-fcgid libfcgi-ruby >gem install passenger >/var/lib/gems/1.8/bin/passenger-install-apache2-module >/var/lib/gems/1.8/gems/passenger-2.0.6/bin/passenger-install-apache2-module >vim /etc/apach2/httpd.conf LoadModule passenger_module /var/lib/gems/1.8/gems/passenger-2.0.6/ext/apache2/mod_passenger.so PassengerRoot /var/lib/gems/1.8/gems/passenger-2.0.6 PassengerRuby /usr/bin/ruby1.8 >chown -R www-data:www-data redmine-0.8 >vim /etc/apache2/sites-available/default Alias /redmine /opt/redmine-0.8/public #Options FollowSymLinks AllowOverride All >vim /opt/redmine-0.8/config/environment.rb ENV['RAILS_ENV'] ||= 'production' >vim /opt/redmine-0.8/public/.htaccess RewriteBase /redmine # # AddHandler cgi-script .cgi # # # RewriteRule ^(.*)$ dispatch.cgi [QSA,L] # >cp /opt/redmine-0.8/public/dispatch.fcgi.example /opt/redmine-0.8/public/dispatch.fcgi access http://IPADDRESS/redmine = LDAP Settings Administration -> Settings -> Authentication -> LDAP authentication NAME: LDAP HOST: 127.0.0.1 PORT: 389 Account: Password: Base DN:ou=People,dc=test,dc=com On-the-fly user creation: check # Create user account on redmine when LDAP user login using LDAP information. # If ldap dose not below information, redmine create the below information on redmine. Login: uid Firstname: cn LastName: sn Email: mail