Centosredmine installation tutorial

Source: Internet
Author: User
This tutorial uses Centos6364. The command that needs to be executed on linux. When installing Redmine, you must pay attention to the corresponding version. it cannot be either high or low, or it cannot be installed !!! 1. install Mysqlhttp: blogcsdnnettabactivityarticlede first

This tutorial uses Centos6.3 64-bit. Starting with # indicates the command to be executed on linux. When installing Redmine, you must pay attention to the corresponding version. it cannot be either high or low, or it cannot be installed !!!

 

1. install Mysql first

Http://blog.csdn.net/tabactivity/article/details/12121599

 

2. install openssl-1.0.0a.tar.gz. The main purpose of this installation is to extract files because files will be missing in subsequent installation.

# tar zxvf openssl-1.0.0a.tar.gz# cd openssl-1.0.0a# ./config# make# make test# make install

 

 

3. install Ruby

[Ruby]View plaincopy
  1. Tar xvf ruby-1.8.7-p352.tar.bz2
  2.  
  3. Cd ruby-1.8.7-p352
  4.  
  5. ./Configure -- prefix =/usr
  6.  
  7. Make & make install

    Check whether the installation is successful:

    Ruby-v

    Which ruby

    4. install the Ruby Extension Library

    [Ruby]View plaincopy
    1. Cd ext/zlib
    2.  
    3. Ruby extconf. rb
    4.  
    5. Make & make install
    6.  
    7.  
    8. Cd ../ext/openssl
    9.  
    10. Ruby extconf. rb
    11.  
    12. Make & make install

       

      5. go back to the initial directory and install RubyGems

      [Ruby]View plaincopy
      1. Tar xvf rubygems-1.6.2.tgz
      2.  
      3. Cd rubygems-1.6.2
      4.  
      5. Ruby setup. rb

        6. install other dependencies

        #gem install rake# gem install bundler#gem install activesupport#gem install activerecord#gem install actionpack#gem install actionmailer#gem install activeresource#gem install rails


         

        6. install redmine

        [Ruby]View plaincopy
        1. Tar xvf redmine-1.1.2.tar.gz
        2. Cd redmine-1.1.2
        3. # Modify configuration
        4. Cp./config/database. yml. example./config/database. yml
        5. Vi database. yml
        6. Production:
        7. Adapter: mysql
        8. Database: redmine
        9. Host: localhost
        10. Username: root
        11. Password: <你的mysql密码>

           

          Create databases and tables in the redmine Directory:

          [Ruby]View plaincopy
          1. Mysql:
          2. Create database redmine character set utf8;
          3.  
          4. Command line:
          5. Rake db: migrate RAILS_ENV = production

             

            Note: If any error is reported:

            # Add require 'thread' in redmine./config/boot. rb'

            Run:

            [Ruby]View plaincopy
            1. Ruby script/server-e production

              Access through localhost: 3000. the administrator logon account/password is admin/admin.

               


               

Contact Us

The content source of this page is from Internet, which doesn't represent Alibaba Cloud's opinion; products and services mentioned on that page don't have any relationship with Alibaba Cloud. If the content of the page makes you feel confusing, please write us an email, we will handle the problem within 5 days after receiving your email.

If you find any instances of plagiarism from the community, please send an email to: info-contact@alibabacloud.com and provide relevant evidence. A staff member will contact you within 5 working days.

A Free Trial That Lets You Build Big!

Start building with 50+ products and up to 12 months usage for Elastic Compute Service

  • Sales Support

    1 on 1 presale consultation

  • After-Sales Support

    24/7 Technical Support 6 Free Tickets per Quarter Faster Response

  • Alibaba Cloud offers highly flexible support services tailored to meet your exact needs.