Install redmine on centos

Source: Internet
Author: User
Tags install openssl redmine

tag: Ar CTI line of http OS Io file data

# New installation: # delete old rubyyum erase Ruby ruby-libs ruby-mode ruby-rdoc ruby-IRB ruby-ri ruby-docswget http://nodejs.org/dist/v0.6.6/node-v0.6.6.tar.gzwget http://pyyaml.org/download/libyaml/yaml-0.1.4.tar.gzwget http://ftp.ruby-lang.org/pub/ruby/2.1/ruby-2.1.1.tar.gzwget uninstall install OpenSSL-devel zlib-devel GCC gcc-C + make Autoconf Readline-devel curl-devel expat-devel gettext-devel # Node install tar-zxf node-v0.6.6.tar.gz CD node-v0.6.6. /configure make install # Install the yamltar-zxf yaml-0.1.4.tar.gz CD yaml-0.1.4. /configure -- prefix =/usr/local make install # Install Ruby tar-zxf ruby-2.1.1.tar.gz CD ruby-2.1.1. /configure -- prefix =/usr/local -- enable-shared -- enable-pthread -- disable-install-doc -- With-opt-Dir =/usr/local/lib make install # install magickyum install ImageMagick-devel # Install gemtar-zxf rubygems-2.4.1.tgzcd rubygems-2.4.1ruby setup. rbcd/usr/local/bin/gem. /gem install rails # MySQL database create database redmine Character Set utf8; create user 'redmine '@ 'localhost' identified by 'my _ password'; grant all privileges on redmine. * To 'redmine '@ 'localhost'; # configure the redmineredmine root directory config/database. yml. example: Change the file name to database. ymlproduction: adapter: mysql2 Database: redmine HOST: localhost Username: redmine password: my_password # Run the following command in the root directory of redmine: Gem install bundlerbundle install -- without development testrake plugin = production rake DB: migraterails_env = production redmine_lang = ZH rake redmine: load_default_data # Start Ruby script/rails server webrick-e production-D # The access address is http: // ip: 3000 # The Super administrator username and password is: admin/admin ###### backup and recovery ####### backup redmine/config/database. mysqldump-uroot-P database> back in yml. SQL backup attachment redmine/Files # restore: mysqldump-uroot-P database <back. SQL # Replace redmine/files directly with attachments


Related Article

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.